.video-subwindow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    transition: opacity .5s ease-in-out;
    padding: 0 calc(25% - 384px)
}

.video-subwindow .vs-bg {
    position: absolute;
    z-index: 1001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    opacity: 1;
}

.video-subwindow.hidden {
    opacity: 0
}

.video-subwindow .close-window-btn {
    position: absolute;
    z-index: 1003;
    top: .5em;
    right: 1em;
    font-size: 2.5em;
    color: white;
    opacity: .575
}

.video-subwindow .close-window-btn:hover {
    opacity: 1;
    cursor: pointer
}

.video-subwindow .yt-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

.video-subwindow .yt-wrap #yt-player {
    position: relative;
    z-index: 1002;
    display: block;
    height: 100%;
    max-height: max(calc(100vh - 320px), 320px);
    aspect-ratio: 1.7778
}

.play-video {
    cursor: pointer
}

.open-sub-window {
    position: relative;
		z-index: 10;
		cursor: pointer;
		width: 100%;
		height: 100%
}

@media (max-width: 1199px) {
    .video-subwindow .yt-wrap #yt-player {
        max-height: unset;
        height: unset;
        width: 100%
    }
}