﻿
.banner {
    width: 100% !important;
    position: relative;
}
.bannerhd .wrapper {
    max-width: 1364px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    float: left;
}

/*.bannerbg {*/
bannerhd {
    height: auto;
    padding: 45px 0 0;
    background-size: cover !important;
    height: 769px;
    float: left;
    width: 100% !important;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    float: left;
    width: 100%;
}

.gradient-overlay-dark {
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(90deg, rgb(0 0 0 / 80%) 0%, rgba(0, 0, 0, 0) 64%);
}

.video-heading h1 {
    margin-top: 0;
    padding-top: 0;
    line-height: normal;
    text-shadow: 1px 1px 7px #818181;
    color: #ffffff !important;
    font-size: 70px; 
    font-family: Moderat;
    font-style: var(--font-heading-style);
    font-weight: var(--font-heading-weight) !important;
    letter-spacing: calc(var(--font-heading-scale) * .06rem);
    color: rgb(var(--color-foreground));
    line-height: calc(1 + .3/max(1, var(--font-heading-scale))) !important;
    word-break: break-word;
    max-width: 900px !important;
}

.bannerhd p {
    font-size: 24px;
    color: #ffffff !important;
    line-height: calc(1 + .3/max(1, var(--font-heading-scale))) !important;
    word-break: break-word;
    max-width: 900px !important;
}


video {
    width: 100%;
    height: auto;
}

.video-heading {
    position: absolute;
    top: 17%;
    max-width: 1364px;
    left: 0px;
    margin: 0 auto;
    right: 0;
    bottom: 0;
}

    .video-heading p {
/*        max-width: 715px;*/
        color: #fff;
        font-size: 24px;
        text-shadow: none;
    }

/* For mobile screens, make the text appear under the video */
@media (max-width: 768px) {
    .gradient-overlay-dark {
        display: none;
    }
}

@media (max-width: 768px) {
    .video-heading {
        position: relative;
        top: auto;
        max-width: none;
        left: 0;
        margin: 0 0 0 10px !important;
        right: 0;
        bottom: 0;
    }

        .video-heading p {
            max-width: none;
            color: #fff;
            font-size: 24px;
            text-shadow: none;
        }

    .banner {
        width: 100% !important;
        position: relative;
        padding: 10px;
    }

    .bannerhd h1 {
        font-size: 32px !important;
        max-width: 100%;
        font-weight: 900 !important;
        text-shadow: none !important;
        color: #373a36 !important;
        padding: 0 10px 0 10px;
    }

    .bannerhd p {
        font-size: 20px !important;
        max-width: 100% !important;
        font-weight: 600 !important;
        text-shadow: none !important;
        color: #373a36 !important;
        padding: 0 10px 0 10px;
    }
}

@media (max-width: 576px) {
    .video-heading {
        margin: 0 0 0 10px !important;
    }
}


