
.section-video {
    overflow: hidden;
    position: relative;
}

.section-video_first {
    max-height: 780px;
}
.section-video_first:before {
    content: '';
    padding-top: 38%;
    display: block;
}

.section-video_secondary {
    max-height: 692px;
}
.section-video_secondary:before {
    content: '';
    padding-top: 36%;
    display: block;
}

.video {
    display: block;
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    pointer-events: none;

    position: absolute;
    right: 0;
    bottom: 0;
    top:0;
    right:0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: black; /* in case the video doesn't fit the whole page*/
    background-image: /* our video */;
    background-position: center center;
    background-size: cover;
    object-fit: cover; /*cover video background */
    z-index: -100;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Layer with position absolute in order to have it over the video */
.section .layer {
    /*
    * Preventing flicker on some browsers
    * See http://stackoverflow.com/a/36671466/1081396  or issue #183
    */
    -webkit-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}


.btn-video {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: clamp(2rem, 2.318rem + 0.2vw, 2rem);
    display: block;
    background-image: url(../img/icons/pause.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: transparent;
    z-index: 2;
    border: none;
}
.btn-video.paused {
    background-image: url(../img/icons/playing.svg);
}
.btn-video:before {
    content: '';
    padding-top: 100%;
    display: block;
}

@media (max-width: 1199px) {
    .section-video {
        min-height: 40vh;
    }
    .section-video.section-video_first {
        min-height: 50vh;
    }

}

@media (max-width: 767px) {
    .btn-video {
        bottom: 12px;
        right: 12px;
    }

  

}