
.section-video {
    overflow: hidden;
    position: relative;
    height: 100vh;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
}

.video-preview {
    width: 33.3%;
    height: 50%;
    /* overflow: hidden; */
    position: relative;
    z-index: 1;
    padding: 28px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
.video-preview:before {
    content: '';
    opacity: 0.2;
    position: absolute;
    height: 33%;
    bottom: 0;
    left: 0;
    right: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)), to(rgba(0,0,0,1)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
}

.video-preview__title {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.3em;
    color: #fff;
    margin-top: auto;
    position: relative;
    z-index: 1;
    width: 100%;
}
.video-preview__title span {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}
.video-preview__btn {
    margin-left: auto;
    width: 22px;
    height: 22px;
    background-position: center;
    background-repeat: no-repeat;
    -moz-background-size: 100%;
         background-size: 100%;
    background-image: url(img/plus-light.svg);
    cursor: pointer;
    pointer-events: auto;
}

.video-line {
    position: absolute;
    pointer-events: none;
    background: #fff;
    z-index: 3;
    -webkit-transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
}
.video-line__1 {
    left: 0;
    right: 0;
    height: 1px;
    margin-top: -0.5px;
    top: 50%;
}
.video-line__2 {
    left: 33.3%;
    width: 1px;
    top: 0;
    bottom: 0;
    margin-left: -0.5px;
}
.video-line__3 {
    left: 66.6%;
    width: 1px;
    top: 0;
    bottom: 0;
    margin-left: -0.5px;
}


.video-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    /* z-index: 1; */
    pointer-events: none;
}

.video-mask__player {
    z-index: 1;
    -o-object-fit: cover;
       object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    -webkit-transition: .1s;
    -o-transition: .1s;
    -moz-transition: .1s;
    transition: .1s;
}
.video-mask__title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255,255,255,.3);
    letter-spacing: 0.3em;
    opacity: 0;
    text-align: center;
    line-height: 0.8;
}
.video-preview__country {

}


.video-mask:nth-child(1) .video-mask__player {
    -webkit-clip-path: inset(0 66.67% 50% 0);
            clip-path: inset(0 66.67% 50% 0);
}
.video-mask:nth-child(2) .video-mask__player {
    -webkit-clip-path: inset(0 33.33% 50% 33.33%);
            clip-path: inset(0 33.33% 50% 33.33%);
}
.video-mask:nth-child(3) .video-mask__player {
    -webkit-clip-path: inset(0 0 50% 66.67%);
            clip-path: inset(0 0 50% 66.67%);
}
.video-mask:nth-child(4) .video-mask__player {
    -webkit-clip-path: inset(50% 66.67% 0 0);
            clip-path: inset(50% 66.67% 0 0);
}
.video-mask:nth-child(5) .video-mask__player {
    -webkit-clip-path: inset(50% 33.33% 0 33.33%);
            clip-path: inset(50% 33.33% 0 33.33%);
}
.video-mask:nth-child(6) .video-mask__player {
    -webkit-clip-path: inset(50% 0 0 66.67%);
            clip-path: inset(50% 0 0 66.67%);
}


    .windows-os .video-mask:nth-child(1) .video-mask__player {
            clip-path: inset(0 67.1% 50% 0);
}
.windows-os .video-mask:nth-child(2) .video-mask__player {
            clip-path: inset(0 32.9% 50% 32.9%);
}
.windows-os .video-mask:nth-child(3) .video-mask__player {
            clip-path: inset(0 0 50% 65.9%);
}
.windows-os .video-mask:nth-child(4) .video-mask__player {
            clip-path: inset(50% 67.1% 0 0);
}
.windows-os .video-mask:nth-child(5) .video-mask__player {
            clip-path: inset(50% 32.9% 0 32.9%);
}
.windows-os .video-mask:nth-child(6) .video-mask__player {
            clip-path: inset(50% 0 0 65.9%);
}



.video-preview__top {
    position: absolute;
    letter-spacing: 0.32em;
    font-size: 9px;
    text-transform: uppercase;
    color: #fff;
    padding: 10px;
    border: 1px solid #fff;
    right: 20px;
    top: 20px;
    z-index: 2;
    min-width: 168px;
    max-width: 60%;
    opacity: 0;
    pointer-events: none;
}
.video-preview__down {
    position: absolute;
    bottom: 28px;
    left: 20px;
    right: 20px;
    opacity: 0;
    pointer-events: none;
    color: #fff;
}
.video-preview__country {
    text-transform: uppercase;
    font-size: 24px;
    letter-spacing: 0.3em;
    margin-bottom: 12px;
}
.video-preview__country span {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}
.video-preview__country img {
    width: 32px;
    height: 32px;
    -webkit-border-radius: 100%;
       -moz-border-radius: 100%;
            border-radius: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}
.video-preview__info{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}
.video-preview__data {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 12px;
    color: #fff;
    margin-right: 12px;
    text-transform: uppercase;
}
.video-preview__data:last-child {
    margin-right: 0;
}
.video-preview__data img {
    width: 20px;
    margin-right: 4px;
    /* opacity: 0.4; */
}


.video-mask.active {
    z-index: 2;
}
.video-mask.active .video-mask__player {
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
    z-index: 1;
}
.video-mask.active .video-mask__title {
    opacity: 1;
    z-index: 1;
}

.video-preview.active {
    z-index: 2;
}
.video-preview.active:before {
    opacity: 0;
}
.video-preview.active .video-preview__btn {
    background-image: url(img/minus-light.svg);
}
.video-preview.active .video-preview__top {
    opacity: 1;
}
.video-preview.active .video-preview__down{
    opacity: 1;
}
.video-preview.active .video-preview__title span {
    opacity: 0;
    pointer-events: none;
}


@media only screen and (max-width: 1199px) and (orientation: portrait) {
    .video-line__1 {
        top: 33.3%;
    }
    .video-line__2 {
        left: 50%;
        margin-left: -0.5px;
    }
    .video-line__3 {
        left: 0;
        width: auto;
        right: 0;
        height: 1px;
        top: 66.6%;
        bottom: auto;
        margin-left: 0;
        margin-top: -0.5px;
    }
    .video-preview {
        width: 50%;
        height: 33.3%;
        padding: 10px;
    }

    .video-mask:nth-child(1) .video-mask__player {
        -webkit-clip-path: inset(0 50% 66.6% 0);
                clip-path: inset(0 50% 66.6% 0);
    }
    .video-mask:nth-child(2) .video-mask__player {
        -webkit-clip-path: inset(0 0% 66.6% 50%);
                clip-path: inset(0 0% 66.6% 50%);
    }
    .video-mask:nth-child(3) .video-mask__player {
        -webkit-clip-path: inset(33.3% 50% 33.3% 0%);
                clip-path: inset(33.3% 50% 33.3% 0%);
    }
    .video-mask:nth-child(4) .video-mask__player {
        -webkit-clip-path: inset(33.3% 0% 33.3% 50%);
                clip-path: inset(33.3% 0% 33.3% 50%);
    }
    .video-mask:nth-child(5) .video-mask__player {
        -webkit-clip-path: inset(66% 50% 0 0%);
                clip-path: inset(66% 50% 0 0%);
    }
    .video-mask:nth-child(6) .video-mask__player {
        -webkit-clip-path: inset(66.6% 0 0 50%);
                clip-path: inset(66.6% 0 0 50%);
    }


    .video-preview.active {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .video-mask.active .video-mask__player {
        -webkit-clip-path: inset(0 0 0 0);
                clip-path: inset(0 0 0 0);
        z-index: 1;
    }
    .video-preview__top {
        top: 44px;
        min-width: 38%;
    }
    .video-preview__down {
        bottom: 74px;
    }

}