﻿.video_background {
    width: 100%;
    height: calc(100vh - 3rem);
    position: relative;
    overflow: hidden;
}

.video_background_video {
    min-width: 100%;
    height: calc(100vh - 3rem);
    z-index: -100;
    position: absolute;
    top: inherit;
    left: inherit;
    -o-object-fit: cover;
    object-fit: cover;
    background-repeat: no-repeat;
    background-size: cover;
    transition: opacity .7s;
}

.video_background_overlay {
    width: 100%;
    height: calc(100vh - 3rem);
    position: absolute;
    z-index: 0;
    background: rgba(39, 51, 79, 0.6);
}

.video_background_content {
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    color: #000;
    text-align: left;
    position: relative;
}

@media (min-width: 720px) {
    video_background {
        height: calc(100vh - 3rem);
    }
}