/*-------------------------------------------------------------------------------------------------------------------
TOP BANNER SECTION
-------------------------------------------------------------------------------------------------------------------*/

#page_content.homepage section.top_banner_container{
    padding-top: 6.5em;
    background: var(--sub-cream-background);
}


#page_content.homepage section.top_banner_container .top_banner{
    width: 100%;
    max-width: 100em;
    height: 50em;
    background: var(--sub-cream-background);
    position: relative;
    margin: auto auto;
}












#page_content.homepage section.top_banner_container .top_banner .title_container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1em;
    width: max-content;
    max-width: calc(100% - 3vw);
    position: absolute;
    top: 0;
    left: 3vw;
}

#page_content.homepage section.top_banner_container .top_banner .title_container .main_title{
    font-family: "TT Nooks", sans-serif;
    font-weight: 200;
    font-size: max(min(2.5em, 10vw), 2.5em);
    max-width: 10em;
    line-height: 1em;
}







#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container{
    perspective: 200px;
    height: 6em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin-top: 2em;
    font-size: max(min(1.1em, 3.25vw), 0.9em);
}

#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container *{
    font-family:"American Favorite", sans-serif;
}


#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .word{
    position: relative;
    height: 100%;
}

#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .word .content{
    font-size: 3.5em;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}


#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .morph_word.first .content{
    padding-right: 0.5em;
}

#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .morph_word.last .content{
    padding-right: 0.2em;
}




#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .fixed_word{
    margin: 0 1rem 0 1rem;
    font-size: 3.5em;
}




#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .morph_word{
    position: relative;
    height: 100%;
}


#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .morph_word.first{
    width: 8em;
}

#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .morph_word.last{
    width: 8em;
}



#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .morph_word .variant{
    width: 100%;
    max-width: 0;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}


#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .morph_word .variant.variant_1{
    max-width: 100%;
    right: 0;
    left: initial;
    animation: animeFirstVariant 4s 1s ease-in-out infinite;
}


@keyframes animeFirstVariant {
    0%{
        max-width: 100%;
        opacity: 1;
        right: 0;
        left: initial;
    }
    19.5%{
        max-width: 0;
        opacity: 0;
        right: 0;
        left: initial;
    }
    20%{
        max-width: 0;
        opacity: 0;
        right: initial;
        left: 0;
    }
    50%{
        max-width: 0;
        opacity: 0;
        right: initial;
        left: 0;
    }
    69.5%{
        max-width: 100%;
        opacity: 1;
        right: initial;
        left: 0;
    }
    70%{
        max-width: 100%;
        opacity: 1;
        right: 0;
        left: initial;
    }
    100%{
        max-width: 100%;
        opacity: 1;
        right: 0;
        left: initial;
    }
}





#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .morph_word .variant.variant_2{
    max-width: 0;
    right: initial;
    left: 0;
    animation: animeLastVariant 4s 1s ease-in-out infinite;
}


@keyframes animeLastVariant {
    0%{
        max-width: 0;
        opacity: 0;
        right: initial;
        left: 0;
    }
    19.5%{
        max-width: 100%;
        opacity: 1;
        right: initial;
        left: 0;
    }
    20%{
        max-width: 100%;
        opacity: 1;
        right: 0;
        left: initial;
    }
    50%{
        max-width: 100%;
        opacity: 1;
        right: 0;
        left: initial;
    }
    69.5%{
        max-width: 0;
        opacity: 0;
        right: 0;
        left: initial;
    }
    70%{
        max-width: 0;
        opacity: 0;
        right: initial;
        left: 0;
    }
    100%{
        max-width: 0;
        opacity: 0;
        right: initial;
        left: 0;
    }
}


















/*#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .morph_word .variant{
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}


#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .morph_word .variant.variant_1{
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    animation: animeFirstVariant 4s 1s linear infinite;
}


@keyframes animeFirstVariant {
    0%{
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
    20%{
        transform: translateY(-50%) translateX(100%);
        opacity: 0;
    }
    50%{
        transform: translateY(-50%) translateX(-100%);
        opacity: 0;
    }
    70%{
        transform: translateY(-50%) translateX(0%);
        opacity: 1;
    }
    100%{
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}





#page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .morph_word .variant.variant_2{
    transform: translateY(-50%) translateX(-100%);
    opacity: 0;
    animation: animeLastVariant 4s 1s ease-in-out infinite;
}


@keyframes animeLastVariant {
    0%{
        transform: translateY(-50%) translateX(-100%);
        opacity: 0;
    }
    20%{
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
    50%{
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
    70%{
        transform: translateY(-50%) translateX(100%);
        opacity: 0;
    }
    100%{
        transform: translateY(-50%) translateX(-100%);
        opacity: 0;
    }
}*/


























#page_content.homepage section.top_banner_container .top_banner .title_container .cta.contact{
    padding: 0.5em 0;
    font-size: 1.2em;
    font-weight: 100;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin-top: 1em;
    color: var(--main-blue);
    border-bottom: 1px solid;
}

#page_content.homepage section.top_banner_container .top_banner .title_container .cta.contact .app_icon{
    min-width: 1.75em;
    margin-bottom: -0.2em;
    fill: var(--main-blue);
    margin-left: -0.5em;
    transition: 0.25s margin-left;
}

#page_content.homepage section.top_banner_container .top_banner .title_container .cta.contact:hover .app_icon{
    margin-left: 0.5em;
}







#page_content.homepage section.top_banner_container .top_banner .image_container{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    min-width: 40em;
    max-height: 55%;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

#page_content.homepage section.top_banner_container .top_banner .image_container img{
    width: 100%;
    object-fit: cover;
    object-position: center;
}


























@media screen and (min-width: 650px) {


    #page_content.homepage section.top_banner_container .top_banner .image_container{
        width: 60vw;
        max-width: 55em;
        max-height: 70%;
    }


}












@media screen and (min-width: 500px) {

    #page_content.homepage section.top_banner_container .top_banner .title_container .main_title{
        font-size: 3em;
    }

}







@media screen and (min-width: 700px) {

    #page_content.homepage section.top_banner_container .top_banner{
        height: 50em;
    }


    #page_content.homepage section.top_banner_container .top_banner .title_container{
        top: 2em;
        padding: 2em;
    }

    #page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .first_part .variant,
    #page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .middle_part,
    #page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .third_part .variant_letter,
    #page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .third_part .fixed_text{
        font-size: 4.5em;
    }


    #page_content.homepage section.top_banner_container .top_banner .title_container .main_title{
        font-size: 4em;
    }


    #page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .first_part{
        width: 7em;
    }




    #page_content.homepage section.top_banner_container .top_banner .title_container .cta.contact{
        margin-top: 6em;
    }

}



@media screen and (min-width: 800px) {

    #page_content.homepage section.top_banner_container{
        padding-top: 7.5em;
    }


    #page_content.homepage section.top_banner_container .top_banner .image_container{
        max-height: 100%;
    }


}



@media screen and (min-width: 1000px) {

    #page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .first_part .variant,
    #page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .middle_part,
    #page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .third_part .variant_letter,
    #page_content.homepage section.top_banner_container .top_banner .title_container .morph_sub_title_container .third_part .fixed_text{
        font-size: 5em;
    }


    #page_content.homepage section.top_banner_container .top_banner .title_container .main_title{
        font-size: 5em;
    }


}

