#age-verify {
    display: grid;
    place-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    transition: 500ms;
    z-index: 9999;
}

#age-verify .window {
    overflow: hidden;
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: 500ms;
    position: relative;
    max-width: 520px;
    width: 100%;
    height: fit-content;
    padding: 60px;
    border: none;
}

#age-verify .window span {
    display: block;
    text-align: center;
    margin-bottom: 18px;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
}

#age-verify .window span.title {
    color: #000000;
    font-size: 30px;
    font-family: 'Bebas Neue', Helvetica, Arial, sans-serif;
}

#age-verify .window button {
    border: 0;
    margin: 0;
    padding: 0;
    width: 48%;
    color: #FFF;
    background-color: #000000;
    margin-top: 20px;
    transform: scale(1);
    transition: 0.2s;
    height: 54px;
    font-family: 'Bebas Neue', Helvetica, Arial, sans-serif;
    line-height: 54px;
    font-size: 18px;
    font-weight: 900;
}

#age-verify .window button.back {
    display: block;
    float: none;
    margin: auto;
    background-color: #fff;
    color: #000000 !important;
    margin-top: 20px;
}

#age-verify .window button.yes {
    float: left;
}

#age-verify .window button.no {
    float: right;
}

#age-verify .window button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

#age-verify .window .underBox {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #000000;
    transition: 500ms;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 60px;
}

#age-verify .window .underBox * {
    color: #FFF !important;
}

#age-verify.hidden {
    opacity: 0;
    visibility: hidden;
}

#age-verify.hidden .window {
    transform: scale(0.5);
}

#age-verify.under .window .underBox {
    top: 0%;
}

button.back::after {
    background-color: rgb(208 207 211);
}
