html,
body {
    font-family: "Rockwell", "Times New Roman";
    line-height: 1.3;
}

.ageGate img {
    max-width: 100%;
}

.ageGate {
    background: #f1f1f1 url("../img/cerc.png") no-repeat center center;
    background-size: cover;
    transition: all 300ms ease;
    display: none;
    opacity: 0;
    /* animation: bgAgeGate 1000ms ease infinite; */
}

/* 
@keyframes bgAgeGate {
    0% {
        background-size: 130vw 130vh;
    }
    50% {
        background-size: 150vw 150vh;
    }
    100% {
        background-size: 130vw 130vh;
    }
} 
*/

.ageGate h2 {
    color: var(--blue-light);
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    font-family: "Rockwell", "Times New Roman";
}

@media (min-width: 768px) {
    .ageGate h2 {
        font-size: 28px;
    }
}
.row-ageGate {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.row-ageGate .col-logo a {
    max-width: 50%;
    padding: 10px 0;
}
.row-ageGate .col-logo a img {
    display: block;
}

.row-ageGate .col-form {
    margin: auto;
}
.row-ageGate .col-img {
    margin-top: auto;
}

.row-ageGate .col-image {
    display: flex;
    justify-content: center;
}

.row-ageGate .col-image img {
    max-height: 45vh;
    object-fit: contain;
}
.ageGate .input {
    display: block;
    text-align: center;
}
.ageGate .input input {
    width: 100px;
    margin: 0 auto;
}

.ageGate .inputs {
    display: flex;
    justify-content: center;
    margin: 0;
}
.ageGate .inputs .input {
    margin: 2px;
    width: auto;
}

.ageGate .dob-inputs .input {
    opacity: 0.25;
    pointer-events: none;
    transition: all 300ms ease;
}
.ageGate .dob-inputs.active .input {
    opacity: 1;
    pointer-events: all;
}

.ageGate .inputs .input input {
    background: #fff;
    border: 1px solid var(--blue);
    color: var(--red);
    text-align: center;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    font-size: 16px;
    outline: none;
    box-shadow: none;
    transition: all 300ms ease;
}
.ageGate .dob-inputs .inputs.month {
    margin: 0 5px;
}
@media (min-width: 375px) {
    .ageGate .inputs .input input {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
@media (min-width: 576px) {
    .ageGate .inputs .input {
        margin: 2px;
    }
    .ageGate .dob-inputs .inputs.month {
        margin: 0 5px;
    }
    .ageGate .inputs .input input {
        width: 50px;
        height: 50px;
        font-size: 40px;
    }
}
@media (min-width: 992px) {
    .ageGate .inputs .input {
        margin: 2px;
    }
    .ageGate .dob-inputs .inputs {
        margin: 0 7px;
    }
    .ageGate .inputs .input input {
        width: 60px;
        height: 60px;
        font-size: 50px;
    }
}

.ageGate .inputs .input input.has-error {
    border-color: var(--red);
    border-width: 2px;
    color: var(--red);
}

.ageGate .dob-inputs-error {
    text-align: center;
    color: var(--red);
}

.ageGate .dob-inputs input[type="number"]::-webkit-outer-spin-button,
.ageGate input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.ageGate .dob-inputs input[type="number"] {
    -moz-appearance: textfield;
}

.ageGate .dob-inputs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px -10px;
    width: calc(100% + 20px);
    position: relative;
}

body.ageGate-active .siteContent {
    display: none;
}
body.ageGate-active .ageGate {
    display: block;
    opacity: 1;
}

body.ageGate-inactive .siteContent {
    display: block;
}
body.ageGate-inactive .ageGate {
    display: none;
    opacity: 0;
}

.ageGate .loader-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    width: 100%;
    height: 100%;
}

.ageGate .loader {
    width: 48px;
    height: 48px;
    border: 5px solid #fff;
    border-bottom-color: #ff3d00;
    border-radius: 50%;
    display: block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    opacity: 1;
    margin: auto;
}

.ageGate .active .loader-wrapper {
    pointer-events: none;
}

.ageGate .active .loader {
    opacity: 0;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.ageGate-active .modal-backdrop {
    display: none !important;
}
