:root {
    --black: #1A1A1A;
}

.age-verification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    font-family: "dm-sans", sans-serif;
    height:100vh;
}

.age-verification .main-wrapper{
    display:flex;
    flex-direction: column;
    align-content: center;
    justify-content: flex-start;
    max-height:100dvh;
    overflow: auto;
    padding:2rem;
    position:relative;
    z-index:3;
}

.age-verification video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit: cover;
}

body.age-verification-enabled{
    overflow: hidden;

}

body.age-verification-enabled .needsclick{
    display: none !important;
}

body.age-verification-enabled #site-wrapper{
    display:none;
}

.age-verification::after{
    content:"";
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-image:url('../images/stained-bg.jpg');
    background-size:cover;
    background-attachment:fixed;
    background-repeat:no-repeat;
    z-index:2;
    opacity:0.9;
}

.age-verification .main-logo{
    margin:0 auto 2rem auto;
    width:max-content;
    max-width:60%;
    position:relative;
    z-index:3;
}

.age-verification .border-wrapper{
    background-repeat:no-repeat;
    background-size:cover;
    background-image:url('../images/backgrounds/verification-bg.svg');
    padding:2rem 3rem;
    color: var(--black);
    margin:0 1rem;
}

@media(max-width:576px){
    .age-verification .border-wrapper{
        padding:2rem 1rem;
    }
}

.age-verification h1 {
    font-family: "dm-sans", sans-serif;
    font-weight:700;
    font-size:1.5rem;
    text-align:center;
    margin-bottom:0;
}

@media(max-width:576px){
    .age-verification h1 {
        font-size:1.25rem;
    }
}

.age-verification p {
    text-align:center;
}
.age-verification form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.age-verification input {
    margin-bottom: 20px;
}

.age-verification #birthdate{
    border:0;
    border-bottom:1px solid var(--black);
}

.age-verification #birthdate:focus-visible {
    outline: 0;
}

.age-verification #error-message{
    background: #D72020;
    color: #fff;
    text-align:center;
    padding:0.5rem;
    margin-top:1rem;
}

.age-verification button{
    color: var(--black);
    border:1px solid var(--black);
    background:transparent;
    font-weight:700;
    padding:0.25rem 1rem;
    display:block;
    width:max-content;
    margin:0 auto;
    transition:0.3s background, 0.3s color;
}

.age-verification button:hover {
    background: var(--black);
    color: #fff;
}

.age-verification a {
    text-align:center;
    color: var(--black);
    font-size:0.875rem;
    width:max-content;
    max-width:100%;
    margin:2rem auto 0 auto;
    text-decoration: none;
    display:block;
}

.age-verification a:hover {
    color: var(--black);
    text-decoration: underline;
}
