.hero {
    background: #000;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    position: relative;
    align-content: center;
    background-position: center bottom;
}
.hero.overlayed::after {
    display: block;
    position: absolute;
    background: rgba(0,0,0,0.3);
    content: "";
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero h1.hero_title {
    font-size: 6.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    position: relative;
    z-index: 1;
}
.hero p {
    font-size: 1.6rem;
    line-height: 2;
    letter-spacing: normal;
    color: #ffffff;
    position: relative;
    z-index: 1;
}
.hero_buttons {
    position: relative;
    z-index: 1;
}

.heroVideo {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.heroVideo video {
    /* Make video to at least 100% wide and tall */
    min-width: 100%;
    min-height: 100%;
    /* Setting width & height to auto prevents the browser from stretching or squishing the video */
    width: auto;
    height: auto;
    /* Center the video */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.mobileBackground {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
}


@media screen and (max-width: 992px) {
    .hero {
        background-position: center right;
    }
    .hero::after {
        width: 100%;
    }
    h1.hero_title {
        font-size: 4.8rem;
    }
    .mobileBackground {
        display: block;
    }
}
