/*
    age gate
*/
#ag {
    position: fixed;
    z-index: 900;
    width: 100%;
    height: 100%;
    /*background-color: #6c76ebd9;*/
    background-color: rgba(108, 118, 235, 0.85);

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-size: 18px;
    color: #fff;
    line-height: 1.2em;
    padding: 30px 0;
    overflow: hidden;
}
#ag .globo {
    width: 140px;
}
#ag .logo {
    width: 250px;
    height: 106px;
    background: transparent url('../img/logo_mobile.gif') no-repeat center;
    background-size: contain;
    margin: 25px 0 0 0;
}
#ag input {
    outline: none;
}
#ag input.year {
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0;
    letter-spacing: 4px;
    width: 180px;
    padding: 0;
    font-weight: bold;
    font-size: 30px;
    line-height: 60px;
    height: 60px;
    margin: 0 0 20px 0;
}
#ag input.year::-webkit-input-placeholder { color: #fff; }
#ag input.year::-moz-placeholder { color: #fff; }
#ag input.year:-ms-input-placeholder { color: #fff; }
#ag input.year::-ms-input-placeholder { color: #fff; }
#ag input.year::placeholder { color: #fff; }

#ag p {
    margin: 25px 0;
    padding: 0 30px;
}
#ag .legal {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 20px;
    font-size: 12px;
}
@media (min-width: 992px) {
    #ag {
        font-size: 26px;
    }
    #ag .globo {
        width: 220px;
    }
    #ag .logo {
        width: 750px;
        height: 100px;
        background-image:  url('../img/logo.gif');
    }
    #ag input.year {
        margin: 0 30px 0 0;
    }
    #ag .legal {
        font-size: 1vw;
    }
}


@keyframes fail {
  50% {
    transform: scale(1.5);
  }
  100% {
    color: red;
    transform: scale(1);
  }
}

#ag.fail .condition {
    animation: fail .5s both;
}