﻿/*.cta-image {
    position: relative;
    height: 200vh;
}

section.cta-image .pin {
    position: sticky;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100vh;
}
    */
section.cta-image {
    overflow: hidden;
    padding-top: 80px;
}


section.cta-image #video-container {
    position: relative;
    overflow: visible;
}

section.cta-image > img, .cta-image #highlight-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 !important;
  
}

/*section.cta-image img {
    overflow: visible;
}*/

section.cta-image .background-text-wrapper {
    position: relative;
    text-transform: uppercase;
    padding-bottom: 21px;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: -webkit-fill-available;
}

    section.cta-image .background-text-wrapper .background-pretitle {
        font-family: 'Mont Black Italic';
        font-size: 10.66vw;
        line-height: 10.66vw;
        color: white;
        margin: 0 !important;
    }

    section.cta-image .background-text-wrapper .background-title {
        font-family: 'Mont Black Italic';
        font-size: 10.66vw;
        line-height: 10.66vw;
        color: white;
        margin: 0 !important;
    }

section.cta-image .cta-right-img {
    width: 100%;
    padding: 0 50px 150px;
    transform: translateY(-50px);
}

@media screen and (max-width: 569px) {
   /* section.cta-image {
        min-height: 649px;
    }*/

        /*section.cta-image img {
            max-height: 543px;
            object-fit: contain;
            max-height: 543px;
        }*/

        section.cta-image .cta-right-img {
            top: -100px;
        }
}

@media screen and (min-width: 570px) and (max-width: 991px) {
    /*section.cta-image img {
        max-height: 543px;
        object-fit: contain;
        max-height: 300px;
    }
    */
   /* section.cta-image .cta-right-img {
        top: 15vh;
    }*/
}


@media screen and (min-width: 992px) {

    section.cta-image .media-container {
        display: flex;
        align-items: flex-end;
        flex-direction: row-reverse;
        justify-content: space-between;
        height: calc(100vh - 80px);
    }
    section.cta-image .background-text-wrapper {
        padding-left: 53px;
        padding-bottom: 120px;
    }

            section.cta-image .background-text-wrapper .background-pretitle {
                font-size: 60px;
                line-height: 60px;
            }

            section.cta-image .background-text-wrapper .background-title {
                font-size: 100px;
                line-height: 100px;
            }

    section.cta-image .cta-right-img {
        width: 50%;
        height: 100%;
    }
}
