#ageCheck {
    position: fixed;
    margin: 0;
    padding: 0;
    top : 0;
    left: 0;
    width: 100%;
    height: 100vh;
    font-family: 'Brandon-Grotesque-Bold', sans-serif;
    background-color: var(--clr-dark-blue);
    border-radius: 0;
    z-index: 100;
    overflow-y: scroll;
}

#ageCheck * {
    box-sizing: border-box;
}

#ageCheck .ageWindow {
    margin: 0;
    padding: 8rem 0 0 0;
    width: 100%;
    text-align: center;
    background-color: var(--clr-dark-blue);
}

#ageCheck .ageWindow .logo,
#underage .ageWindow .logo {
    margin: -2rem 0 6rem 0;
    padding: 0 0 0 0;
    height: 36rem;
    width: 100%;
    background-image: url("/public/images/logo-text.png");
    background-size: contain;
}

#ageCheck .h1 {
    color: var(--yellow-clr);
    margin-bottom: 4rem;
}

#ageCheck .largerText {
    margin: 0 auto 0 auto;
    max-width: 90%;
    font-size: 4.2rem;
}

#underage .largerText {
    margin: 20rem auto 20rem auto;
}

#ageCheck .text {
    margin: 8rem auto 0 auto;
    max-width: 90%;
    font-size: 3.8rem;
}

#ageCheck .selectors {
    padding: 10rem 10rem 10rem 10rem;
}

#ageCheck select {
    appearance: none;
    background-color: var(--clr-white);
    border: none;
    padding: 0 0 0 0;
    margin: 0;
    width: 100%;
    color: var(--clr-dark-blue);
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    outline: none;
    text-align: center;
}

#ageCheck select::-ms-expand {
    display: none;
}

#ageCheck .select {
    margin: 1.5rem auto;
    width: 56rem;
    border-bottom: 0.2rem solid var(--clr-dark-blue);
    padding: 2rem 3rem;
    font-family: 'arial', sans-serif;
    font-size: 4rem;
    cursor: pointer;
    line-height: 4rem;
    background-color: var(--clr-white);
    display: grid;
    grid-template-areas: "select";
    align-items: center;
    border-radius: 1rem;
}

#ageCheck .select::after {
    content: "";
    width: 2.6rem;
    height: 1.6rem;
    background-color: var(--clr-dark-blue);
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    justify-self: end;
}

#ageCheck select,
#ageCheck .select:after {
    grid-area: select;
}

/* Enable this when no general button is defined */
#ageCheck .button {
    box-sizing: border-box;
    display: block;
    margin: 6rem auto 0 auto;
    padding: 3rem 10rem;
    width: min-content;
    color: var(--clr-dark-blue);
    font-family: 'Modesto-Expanded', sans-serif;
    font-size: 4.0rem;
    background-color: var(--clr-yellow);
    border: none;
    text-align: center;
    border-radius: 10rem;
    text-transform: uppercase;
}

#ageCheck .button {
    margin: 0 auto 14rem auto;
    transition: opacity 0.5s;
}

#ageCheck .button.disabled {
    opacity: 0.6;
}