/* @group Video Popup
------------------------------------ */
.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0 , 0, 0, 0.85);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .7s, visibility .7s;
}
.show-video.video-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.video-popup__box {
    position: relative;
}
.video-popup__overflow {
    width: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    transition: width .7s;
}

.video-popup video {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
}
.close-video {
    background-color: #ffffff;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-block;
    color: #000000;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.close-video i {
    font-size: 1.5rem;
    color: var(--main-blue);
    pointer-events: none;
}
.show-controls .close-video {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
@media only screen
and (min-width : 961px) {
    .video-popup video,
    .show-video .video-popup__overflow {
        width: 100%;
    }
    .video-popup__overflow {
        top: 3rem;
    }
    .video-popup__box {
        height: 100vh;
    }
    .video-popup__overflow,
    .video-popup video {
        height: calc(100vh - 8rem);
    }
    .close-video {
        top: 1.5rem;
        right: -1.5rem;
        width: 4rem;
        height: 4rem;
    }
}
@media only screen
and (max-width : 1440px) {
    .video-popup video,
    .show-video .video-popup__overflow {
        width: 100%;
    }
    .video-popup__overflow {
        top: 3rem;
    }
    .video-popup__box {
        height: 100vh;
    }
    .video-popup__overflow,
    .video-popup video {
        height: calc(100vh - 8rem);
    }
    .close-video {
        top: 1.5rem;
        right: -1.5rem;
        width: 4rem;
        height: 4rem;
    }
}

/* @end */
