.modal__video-container, .modal__container {
    transition: background-color .2s ease-in-out, opacity .2s ease-in-out;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;

    width: 100vw;
    height: 100vh;

}

.modal__video-container.animation__delay, .modal__container.animation__delay {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.modal__video-wrapper {
    width: 80%;
    height: 100%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal__wrapper {
    margin: 0 auto;
    width: 80%;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal__video-content iframe {
    width: 100%;
    height: 80vh;
}

.modal__video-close, .modal__close {
    right: 5vw;
    top: 5vh;

    height: 60px;
    width: 60px;
}

.modal__video-close > *, .modal__close > * {
    pointer-events: none;
    height: 100%;
    width: 100%;
}

.modal-window__disabled {
    pointer-events: none;
}