.av-modal, .av-modal .overlay {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.av-modal {
    position: fixed;
    transition: opacity .4s, visibility 0s .4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.av-modal.open {
    transition-delay: 0s;
}

.av-modal:not(.open) {
    visibility: hidden;
    opacity: 0;
}

.av-modal .frame {
    max-width: 980px;
    background: #fff;
    height: 60vh;
    width: 90vw;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.av-modal .frame .modal-footer {
    text-align: center;
    padding: 5px 10px;
    border-top: 1px solid;
    background: #fafafa;
}

.av-modal .overlay {
    position: absolute;
    background: rgba(0,0,0,.5);
    z-index: -1;
}

.av-modal .frame iframe {
    width: 100%;
    height: 100%;
}

.age-verification .error {
    color: red;
}