@font-face {
    font-family: 'Futura';
    src: url('./assets/FuturaStd-Medium.woff') format('woff');
    font-display: auto;
    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "roc-grotesk-condensed";
    src: url("https://use.typekit.net/af/b47a88/00000000000000007735b7be/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/b47a88/00000000000000007735b7be/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/b47a88/00000000000000007735b7be/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "roc-grotesk-condensed";
    src: url("https://use.typekit.net/af/f1cda4/00000000000000007735b7c7/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"), url("https://use.typekit.net/af/f1cda4/00000000000000007735b7c7/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"), url("https://use.typekit.net/af/f1cda4/00000000000000007735b7c7/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: bold;
    font-stretch: normal;
}

* {
    box-sizing: border-box;
}

:root {
    font-family: roc-grotesk-condensed, sans-serif;
    font-weight: normal;

    color: rgba(255, 255, 255, 1);
    background-color: #000;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /*overscroll-behavior: none;*/

    --max-width-mobile: 550px;
    --green: #006938;
    --gray: #363636;
    --red: #ff0000;
    --gold: #a19958;
    --footer-height: 3rem;
    --vh-minus-footer: calc(100dvh - var(--footer-height));
    --fade-time: 300ms;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100vw;
    background: #000;
    /*min-height: 100dvh;*/
}

main {
    position: relative;
    z-index: 2;
    padding: 0;
    min-height: var(--vh-minus-footer);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
}

main > .inset {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    overflow: hidden;
    
}


section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}

section.hero {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

section.hero .inner-container {
    z-index: 2;
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

section.hero .hero-wingstop-logo {
    z-index: 2;
    margin-bottom: 0px;
    width: 40%;
    max-width: 250px;
    margin-left: -5%;
    display: block;
}

section.hero .hero-lockup {
    width: 90%;
    max-width: 530px;
    margin: 30px 0;
}

section.hero .hero-allstars {
    width: 50%;
    max-width: 330px;
}

.background-image {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url('assets/background.jpg') no-repeat center center;
    background-size: cover;
    background-position: top left;
}


section.hero .inner-container .lockup-content {
    padding-top: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 60px;
    
}


section.hero h1 {
    font-family: roc-grotesk-variable, sans-serif;
    font-variation-settings: "wdth" 75, "wght" 700;
    font-size: 2.3rem;
    color: #00d355;
    width: 100%;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
    margin-top: 50px;
}

section.hero h2 {
    font-family: roc-grotesk-variable, sans-serif;
    font-variation-settings: "wdth" 100, "wght" 500;
    color: #fff;
    font-size: 1rem;
    width: 80%;
    text-align: center;
    text-transform: none;
}

section.hero .legal {
    font-family: roc-grotesk-variable, sans-serif;
    font-variation-settings: "wdth" 75, "wght" 700;
    max-width: 500px;
    font-size: 0.5rem;
    width: 70%;
    text-transform: uppercase;
    color: white;
    text-align: center;
}

section.hero .background-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

section.hero .background-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.validation-error[aria-hidden='true'], .hidden {
    display: none !important;
}

.uppercase, h1, h2, h3 {
    text-transform: uppercase;
}

img, picture, input {
    display: block;
}


img.hero-wingstop-logo {
    opacity: 0;
    animation: fadeIn var(--fade-time) ease-out 0.1s forwards;
}

section.form {
    margin-top: 20px;
    padding: 0 8% 10% 8%;
    opacity: 0;
    animation: fadeIn var(--fade-time) ease-out 1.3s forwards;
    background: linear-gradient(to right, transparent, #000);
}



@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

h1 {
    font-family: roc-grotesk-variable, sans-serif;
    font-variation-settings: "wdth" 75, "wght" 700;
    font-size: 2.2rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    line-height: 0.9em;
    margin: 0;
}

p.asterisk-text {
    text-align: center;
    font-size: 1rem;
    color: #000;
}

p {
    margin: 0;
}

p.validation-error {
    color: var(--red);
    margin-top: -0.8rem;
}

.intro-text p {
    font-family: roc-grotesk-variable, sans-serif;
    font-variation-settings: "wdth" 100, "wght" 500;
    font-size: 1rem;
    line-height: 1.3rem;
    margin-bottom: 20px;
    color: #000;
}

.intro-text ul.intro-list {
    color: #000;
    font-family: roc-grotesk-variable, sans-serif;
    font-variation-settings: "wdth" 100, "wght" 500;
    font-size: 1rem;
    line-height: 1.3rem;
    padding-left: 15px;
}

.intro-text h1 {
    font-family: roc-grotesk-variable, sans-serif;
    font-variation-settings: "wdth" 75, "wght" 700;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: left;
    color: #00d355;
}

form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    background: #fff;
    padding: 30px;
}

input, select {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    border: 1px solid transparent;
    outline-color: #000;
    transition: border 0.1s linear;
}

input, select, option, button {
    touch-action: manipulation;
}

input:disabled {
    background-color: #363636 !important;
    opacity: 0.5 !important;
    pointer-events: none;
}

input.text, select {
    width: 100%;
    border-radius: 0.5rem;
    background-color: white;
    border-color: #000;
    color: black;
    padding: 0.4rem;
    padding-left: 0.8rem;
}

input.text::placeholder {
    color: #333;
}

input.invalid, select.invalid, label.invalid > input {
    border: 1px solid var(--red) !important;
}

label, p {
    font-size: 1.2rem;
}

label.checkbox {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 0.8rem;
    color: #000;
}

/* Remove the stepper for most browsers */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove the stepper for Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

input[type="checkbox"] {
    width: 1.5rem;
    height: 1.5rem; 
    border-radius: 0.25rem;
    aspect-ratio: 1;
    padding: 0;
    margin: 0;
    border: 1px solid #000;
    background-color: white;
}


input[type="checkbox"]:checked {
    background-image: url('assets/check.png');
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: center;
}

div.enter {
    margin-top: 1rem;
}

.button, button {
    background: linear-gradient(to right, #018a46 , #0ec65a);
    color: white;
    font-family: roc-grotesk-variable, sans-serif;
    font-variation-settings: "wdth" 75, "wght" 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.55rem 1.2rem 0.4rem;
    border: 0px solid transparent;
    border-radius: 0.4rem;
}

input[type="submit"]:active, button:active {
    opacity: 0.8;

}

.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.6rem;
}

.row select {
    flex: 1;
}

.row #dob-month {
    flex: 2;
}

.confirm-text {
    margin-top: 1rem;
    color: #000;
}

section.post-entry {
    position: relative;
    z-index: 1000;
    margin-top: -1rem;
    max-width: 600px;
}

section.post-entry h1 {
    font-size: 3rem;
    padding: 0 4%;
}

section.post-entry .cta {
    width: 100%;
}

section.post-entry .cta img {
    width: 100%;
}

section.post-entry p {
    font-size: 1.5rem;
    padding: 0 4%;
    text-align: center;
    margin-bottom: 1.5rem;
}

section.post-entry-cta {
    background: white;
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: center;
    padding: 2rem 1rem;
}

section.post-entry-cta * {
    text-align: center;
}

section.post-entry-cta img {
    width: 40vw;
    height: auto;
    margin-left: -60vw;
    flex: 2;
}

@media screen and (min-width: 600px) {
    section.post-entry-cta img {
        margin-left: -20vw;
    }
}

section.post-entry-cta div {
    flex: 1;
}

section.post-entry-cta p {
    color: black;
    font-size: 1.1rem;
    margin: 0.5rem 0 2rem 0;
}

section.post-entry-cta h1 {
    color: var(--green);
    font-size: 2rem;
}

footer {
    position: relative;
    background-color: var(--green);
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    font-family: Futura, sans-serif;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.33rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem; 
    z-index: 5;
}

footer .footer-legal {
    font-family: Futura, sans-serif;
    color: white;
    font-size: 0.75rem;
    margin-top: 20px;
}

a {
    text-decoration: underline;
    color: inherit;
}

footer a {
    text-decoration: none;
}

a:active, a:hover, a:visited {
    color: inherit;
}

section.terms {
    margin: 4rem auto;
    max-width: var(--max-width-mobile);
    padding: 0 3%;
    font-size: 2em;
}

section.terms p {
    text-align: left;
    font-size: 1.4rem;
}



p.legal {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

@media screen and (min-width: 1260px) {
    section.terms {
        max-width: 60rem;
        font-size: 2em;
    }
    
    main {
        overflow: visible;
    }    

    main>.inset {
        margin: 0 auto;
        padding: 2.5rem 6vw;
        overflow: visible;
    }

    section.hero {
        position: fixed;
        left: 0;
        top: 0;
        width: 55%;
        min-height: calc(100vh - 64px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        height: 100%;
    }

    section.hero .inner-container {
        position: relative;
        top: 0;
        width: 100%;
        height: 100%;
        overflow-y: scroll;
        padding-bottom: 40px;
        padding-top: 20px;
        
    }

    section.hero .inner-container .lockup-content {
        margin: auto 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        z-index: 2;
    }

    section.hero h2 {
        font-size: 1.25rem;
        max-width: 600px;
    }

    section.hero .legal {
        font-size: 0.75rem;
    }

    section.hero .background-image {
        top: 0;
        bottom: auto;
    }
  

    section.form {
        margin-top: 0;
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        left: 55%;
        width: 45%;
        top: 0;
        min-height: var(--vh-minus-footer);
        padding: 2rem 2em 3em 2em;
        box-sizing: border-box;
    }

    section.post-entry {
        position: absolute;
        left: 55%;
        width: 45%;
        top: 20%;
        z-index: 100;
        margin-top: 0rem;
    }

    section.post-entry h1 {
        font-size: 4rem;
        padding: 0 4%;
        text-align: left;
        width: 100%;
    }

    section.post-entry .cta {
        width: 90%;
        margin-left: 10%;
        
    }

    section.post-entry .cta img {
        width: 100%;
    }

    section.post-entry p {
        font-size: 1.5rem;
        padding: 0 4%;
        text-align: left;
        margin-bottom: 1.5rem;
    }

    section.post-entry-cta {
        background: white;
        display: flex;
        flex-direction: row;
        gap: 0;
        align-items: center;
        padding: 2rem 1rem;
    }

    form {
        max-width: 530px;
    }

    footer {
        max-width: 100%;
        height: var(--footer-height);
        position: fixed;
        bottom: 0;
        left: 0;
        transform: translateX(0);
        right: 0;
        z-index: 5;
    }

    footer .footer-legal {
        margin-top: 0px;
    }

    form h1, form p {
        text-align: left !important;
    }
}
