﻿video {
    position: absolute !important;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    left: 0;
    top: 0;
    opacity: 0.8;
}

.hero-background {
    height: 50vh;
    min-height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    background-image: linear-gradient( rgba(0,0,0,0.5), rgba(0, 0, 0, 0.5) );
    opacity: 1;
    position: relative;
    -ms-flex-align: end;
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

    .hero-background:after {
        content: "";
        z-index: 0;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%
    }

    .hero-background * {
        position: relative;
        z-index: 1
    }

#video-section.hero-background {
    height: 80vh;
}

.hero-text {
    bottom: 0;
    right: 0;
    color: white;
}

.hero-title {
    font-weight: 900;
    font-style: italic;
    margin: 0;
    text-align: right;
    width: 100%;
    float: right;
    font-size: 4rem;
}

.hero-description {
    font-weight: 900;
    margin: 0;
    text-align: right;
    width: 100%;
    float: right;
    font-size: 2.5rem;
}

#picture-section {
    display: none;
}

@media (max-width: 992px) {
    .hero-background {
        overflow: hidden;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1.3rem;
    }

    #picture-section {
        display: flex;
    }
}
