/* Full Page Image Header with Vertically Centered Content */
/* https://www.creative-tim.com/blog/web-design/bootstrap-background-image/ */
/*
.masthead {
    height: 100vh;
    min-height: 500px;
    background: url('/bundles/framework/images/web/default/fondo_index.jpg');
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
*/
/* Body with video background */
/* https://sunlimetech.com/portfolio/algomate/ */
/*
video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background: url('/bundles/framework/images/web/default/bg.png') no-repeat;
    background-size: cover;
    transition: 1s opacity;
}
*/
/* Section with HTML5 Video Background */
#video_section {
    position: relative;
    background-color: white;
    height: 75vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
}

#video_section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

#video_section .container {
    position: relative;
    z-index: 2;
}

#video_section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
}

@media (pointer: coarse) and (hover: none) {
    #video_section {
        background: url('https://source.unsplash.com/XT5OInaElMw/1600x900') black no-repeat center center scroll;
    }
    #video_section video {
        display: none;
    }
}
