/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.popup-video .popup-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.75;
    z-index: 8;
    -webkit-transition: 0.25s;
    -o-transition: 0.25s;
    transition: 0.25s;
}

.popup-video .popup-content {
    position: fixed;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: calc(100% * 0.6);
    z-index: 9;
    border-radius: 12px;
    -webkit-transition: 0.25s;
    -o-transition: 0.25s;
    transition: 0.25s;
}

@media (max-width:480px) {
    .popup-video .popup-content {
        width: 100vw;
        height: 56.25vw;
    }
}

.popup-content.center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end;
    width: 100%;
    position: relative;
    height: 100vh;
}

.popup-video .popup-content video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 6px;
}

.popup-video .popup-close {
    position: fixed;
    top: -30px;
    right: -30px;
    width: 20px;
    height: 20px;
    background: red;
    z-index: 9;
    padding: 3px;
    cursor: pointer;
    border-radius: 100%;
}

@media (max-width: 480px) {
    .popup-video .popup-close {
        right: 20px;
        top: -40px;
    }
}

.popup-video .video-next {
    position: fixed;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: -80px;
    width: 30px;
    height: 30px;
    z-index: 9;
    cursor: pointer;
    background: white;
    border-radius: 100%;
    padding: 7px;
}

.popup-video .video-prev {
    position: fixed;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: -80px;
    width: 30px;
    height: 30px;
    z-index: 9;
    cursor: pointer;
    background: white;
    border-radius: 100%;
    padding: 7px;
}