/* ANIMATIONS */

:root {
    --headerMargin: calc(96vw * 328 / 1920);
}

/* HEADER INFO ON BG*/

#header {
    position: relative;
    overflow: visible;
    border-bottom: 10px solid var(--base);
}

#header video {
    max-width: inherit !important;
}

#header .content-container {
    z-index: 8;
    position: absolute;
    width: -webkit-fill-available;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    transition: 400ms;
    opacity: 100%;
    background: rgba(39,62,84,0);
}

#header .content-container.fadeout {
    opacity: 0%
}  

#header .header-info  {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    height: 100%;
    width: 100%;
    color: white;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(0,0,0,0.3) 100%);
}

#header .header-info h1 {
    margin: 0;
    position: relative;
    /*top: 50%;
    transform: translateY(calc(-50% - ((var(--headerMargin) - 160px) / 2)));*/
    padding-left: calc(var(--paddingContent) + 5%);
    height: fit-content;
    font-size: var(--clFontSizeExtraExtraLarge);
    font-weight: 700;
    /*line-height: min(4.3vw, 84px);*/
    width: 100%;
    height: 100px;
    max-width: var(--maxWidth);
}

.bg-hero::after {
    content: ' ';
    background-image: url(/wp-content/uploads/2025/11/slider_left.svg);
    background-size: contain;
    background-repeat: no-repeat;
    height: calc(100% + 1px);
    width: 20%;
    display: block;
    z-index: 99;
    position: absolute;
    top: 0;
}

@keyframes fadeIn{
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    5% {
        opacity: 1;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(0);
    }
    35% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

#header .header-info h1 span{
    opacity: 0;
    animation: fadeIn 7.5s ease-out infinite;
    transform: translateY(30px);
    display: block;
    position: absolute;
}

#header .header-info h1 span:nth-of-type(1) {
    animation-delay: 0s;
}

#header .header-info h1 span:nth-of-type(2) {
    animation-delay: 2.5s;
}

#header .header-info h1 span:nth-of-type(3) {
    animation-delay: 5s;
}

#header .bottom {
    z-index: 8;
    position: relative;
}

#header .bottom svg.bottom-bg {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: -1px;
}

#header .bottom svg.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -265px;
    width: min(30vw, 440px);
}

#header .image-container {
    position: relative;
}

#header .image-container img {
    transform: translateY(-60%);
    top: 50%;
    position: absolute;
    width: 100%;
}

#header .header-image-title, #header .header-image-sub-title {
    filter: opacity(0%) blur(4px);
    width: 100%;
    position: relative;
    display: block;
    line-height: 150%;
    font-size: var(--clFontSizeLargest);
}

@media only screen and (max-width: 1920px) {}
@media only screen and (max-width: 1600px) {}
@media only screen and (max-width: 1440px) {}
@media only screen and (max-width: 1280px) {
    #header .header-info h1 {
        padding-left: calc(var(--paddingContent) + 10%);
    }
}
@media only screen and (max-width: 1024px) {}
@media only screen and (max-width: 900px) {
    .bg-hero::after {
        display: none;
    }

    #header .header-image-title.color1 {
        left: 3%;
    }

    #header .header-image-title.color2, .header-image-title.color3, .header-image-title.color4 {
        right: 8%;
    }

    #header .content-container {
        transform: translateY(-50%);
    }

    #header .header-info h1 {
        padding-left: 0;
        max-width: 230px;
        display: flex;
        text-align: center;
        justify-content: center;
        margin: auto;
    }
}

@media only screen and (max-width: 800px) {}
@media only screen and (max-width: 600px) {
    #header .header-image-title.color1, #header .header-image-title.color2, .header-image-title.color3, .header-image-title.color4 {
        left: unset;
        right: unset;
        text-align: center;
    }

    #header .image-container img {
        width: auto;
        transform: translatex(-50%);
        left: 50%;
        top: 0;
        position: absolute;
        height: 125%;
    }

    #header  .content-container {
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    #header .header-info h1 {
        font-size: var(--clFontSizeExtraLarge);
    }
}
@media only screen and (max-width: 400px) {}
@media only screen and (max-width: 350px) {}