
/* =====  HERO  ==================================================== */

body {
    /*overflow-x: hidden !important;
    overflow-y: visible;*/
    background: #ffffff !important;
}
.footer, #menu-holder {
    display: none;
}
.main {
    position: fixed;
    transform: translateX(100%);
}
.home-intro-mask {
    position: fixed; width:100%; height: 100%;
    background-color: white !important;
    top:0;
    transition: opacity 0.7s;
    /*transition-delay: 1.9s;*/
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-intro-anim {
    width: 40%;
    transition: transform .3s, opacity 0.3s;
}
.home-intro-anim.fadeup {
    opacity: 0;
    transition-delay: 1.7s;
    transform: translateY(-50px);
}
.home-intro-anim .hfg-logotype {
    display: none;
}
.home-intro-anim .hfg-logomark {
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-intro-anim .hfg-animate-holder {
    justify-content: center;
    display: block !important;
} 

@media screen and (min-width: 540px) {
    .home-intro-anim {
        width: 30%;
    }
}

@media screen and (min-width: 768px) {
    .home-intro-anim {
        width: 20%;
    }
}

.hero {
    width: 100%;
    height: 88.5vh;
    background: #ccc;
    position: relative;

    z-index: 0;
    overflow: hidden;
}
.hero-logo {
    position: absolute;
    z-index: 999;
    width:100%;height: 100%;
    display: flex;
    justify-content: center;
    align-items:center;
    pointer-events: none;
}
.hero-logo .bg-image {
    position: absolute;
    filter: brightness(0.9);
    z-index: 0;
    width: 100%; height: 100%;
}
.hero-logo .bg-image img {
    object-fit: cover;
    width: 100%; height: 100%;
}
.hero-logo .hero-header {
    position: absolute;
    text-align: left;
    width:100%;
    bottom:0;
    left:50%;
    transform: translate(-50%,-40px);
    font-size: 1em;
    
}
.hero-logo .hero-header .ttl {
    font-weight: 400; 
}

.hero-logo .hero-header .ttl-l {
    font-weight: 600;
}
.hero-header .size-xl {
    font-weight: 700 !important;
    
}
.intro-block .block-text {
    font-weight: 500;
}

@media screen and (max-width: 539px) {
    .size-header .ttl br {
        content: "";
    }
    .size-header .ttl br:after {
        content: " ";
    }
    .hero-logo .bg-image {
        filter: brightness(0.9);
    }
    .size-header {
        font-size: 0.825em;
    }
}
@media screen and (min-width: 380px) {

}
@media screen and (min-width: 540px) {
    
    .hero-logo .hero-header {
        font-size: 0.85em;
        transform: translate(-50%,-70%);
    }
    
}
@media screen and (min-width: 768px) {
    .hero-logo .hero-header {
        top: 50%;
        text-align: right;
         white-space:normal;
        bottom:auto;
        font-size: 1.1em;
        transform: translate(-50%,-35%);
    }  
}
@media screen and (min-width: 1400px) {
    .hero-logo .hero-header {
        font-size: 1.15em;
    }  
}
@media screen and (min-width: 1600px) {
    .hero-logo .hero-header {
        font-size: 1.2em;
    }  
}
/* =====  INTRO  ==================================================== */



/* =====  QUICK LINKS  ==================================================== */

.slider-messages {
    overflow: visible;
    padding-bottom: 20px;
}
#home_links figure.type-image {
    aspect-ratio: 5/2.5;
}

.home_links_holder {
    border: 1px solid var(--color-beige);
    border-radius: 0px 30px 30px 0px;
    height: 100%;
    overflow: hidden;
}

#home_links .textbox {
    padding: 0em 1.25em 1.25em;
}
@media screen and (min-width: 992px) {
    #home_links .textbox {
        padding: 1em 2em 2em;
    } 
}

/* =====  MESSAGES  ==================================================== */


#home_messages figure.type-image {
    aspect-ratio: 1/1.3;
    transition: transform .3s;
}
#home_messages .type-image-holder {
    overflow: visible;
}
#home_messages .type-image-box {
    padding: 0 7% 1em 7%;
    overflow: visible; 
}

#home_messages .type-image-holder:hover .type-image{
   transform: scale(1.1) rotate(0deg);
}

#home_messages .type-image-holder:hover .type-image-overlay{
   opacity: 1;
   transform: translate(-50%,-50%);
}
#home_messages .type-image-holder:hover .type-credit{
   opacity: 1;
}
#home_messages .type-image-holder {
    width: 100%;
}
.type-image-overlay {
    position: absolute;
    z-index: 999;
    left: 50%; 
    top:42%;
    text-align: center;
    background: var(--color-blue);
    color: #222;
    padding: 0px;
    opacity: 1;
    border-radius: 50%;
    width: 100px;
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1/1;
    transform: translate(-50%,-50%);
    font-size: 14px;
    line-height: 130%;
    font-weight: 500;
}
.type-image-overlay:hover {
    background: var(--color-teal);
    color: #fff;
}
.type-credit {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 999;
    color: var(--color-beige);
    font-style: italic;
    transform: translateY(-7px);
    font-size: 0.9em;
    line-height: 140%;
}
.slider-holder {
    padding-bottom: 40px;
}
@media screen and (min-width: 540px) {
    #home_messages .type-image-holder {
        width: 50%;
    }
}

@media screen and (min-width: 768px) {
    .slider-holder {
        padding-bottom: 0px;
    }
    .type-image-overlay {
        opacity: 0;
        transition: transform 0.3s, opacity 0.3s;
        transform: translate(-50%,-35%);
    }
    .type-image-overlay:hover {
        background: var(--color-teal);
        color: #fff;
    }
    #home_messages .type-image-holder {
        width: 33.33%;
    }
    #home_messages .type-image-box {
        padding: 0 10% 2em 10%;
    }
    .type-credit {
        transform: translateY(0px);
        opacity: 0;
        font-size: 1em;
        transition: transform 0.3s, opacity 0.3s;
    }
}

@media screen and (min-width: 992px) {
    #home_messages .type-image-holder {
        width: 25%;
    }
    #home_messages .type-image-box {
        padding: 0 10% 1.5em 10%;
    }
}
@media screen and (min-width: 1200px) {
    #home_messages .type-image-holder {
        width: 20%;
    }
    #home_messages .type-image-box {
        padding: 0 5% 2em 5%;
    }
}
@media screen and (min-width: 1400px) {
    #home_messages .type-image-holder {
        width: 20%;
    }
}

@media screen and (min-width: 1600px) {
    #home_messages .type-image-box {
        
    }
}

/* =====  HIGHLIGHT  ==================================================== */

#home_highlight .bg-logomark {
    width:100%; 
    height: 100%;
    display: flex;
    align-items: center;justify-content: center;
    
}
#home_highlight .bg-logomark .pic {
    width:55%; 
    top: 50%; left: 50%;
    border: 0px solid var(--color-beige);
    transform: translate(-50%,-50%);
    position: absolute;
}
#home_highlight .bg-logomark .bg-logomark-svg {
    width:90%;
    opacity: 0.08;
}
#home_highlight .h3 {
    font-weight: 500;
}
@media screen and (min-width: 540px) {
    #home_highlight .bg-logomark .pic {
        width:45%; 
    }
}
@media screen and (min-width: 768px) {
    #home_highlight .bg-logomark .pic {
        width:55%; 
    }
}
@media screen and (min-width: 992px) {
    #home_highlight .bg-logomark .pic {
        width:50%; 
    }
}
@media screen and (min-width: 1200px) {
    #home_highlight .bg-logomark .pic {
        width:45%; 
    }
}
@media screen and (min-width: 1400px) {
    #home_highlight .bg-logomark .pic {
        width:40%; 
    }
}
@media screen and (min-width: 1600px) {
    #home_highlight .text {
        padding: 0 5%;
    }
    #home_highlight .bg-logomark .bg-logomark-svg {
        width:70%;
    }
    #home_highlight .bg-logomark .pic {
        width:35%; 
    }
}

@media screen and (min-width: 1800px) {
    #home_highlight .text {
        padding: 0 10%;
    }
}


/* =====  PARTNERS  ==================================================== */



.flex-partners {
    display: grid;
    grid-template-columns: auto auto;
    row-gap: 0px;
    column-gap: 0px;
}
.flex-partners .type-image-holder {
    width: 100%;
}

#home_partners figure.type-image {
    aspect-ratio: 1/0.7;
}
@media screen and (min-width: 540px) {
    .flex-partners {
        display: grid;
        grid-template-columns: auto auto;
        row-gap: 20px;
        column-gap: 20px;
    }
}
@media screen and (min-width: 768px) {
    .flex-partners {
        display: grid;
        grid-template-columns: auto auto auto;
    }
    #home_partners figure.type-image {
         aspect-ratio: 1/0.6;
    }
}
@media screen and (min-width: 992px) {

    .flex-partners {
        display: grid;
        grid-template-columns: auto auto auto;
        row-gap: 20px;
        column-gap: 30px;
    }
}
@media screen and (min-width: 1200px) {
    .flex-partners {
        display: grid;
        grid-template-columns: auto auto auto auto auto;
        row-gap: 20px;
        column-gap: 10px;
    }
    #home_partners figure.type-image {
         aspect-ratio: 1/0.65;
    }

}

.para-holder {
    position: absolute;
    width: 100%;
    top: 50px;
}
.para-holder img {
    object-fit: cover;
    height: 100%; width: 100%;
}
@media screen and (min-width: 992px) {
    .para-holder {
        position: absolute;
        top: 0px;
    }
}