@keyframes slideDownMenu {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        animation-name: slideDownMenu;
        animation-duration: 1.7s;
        animation-timing-function: cubic-bezier(.165,.84,.44,1);
        animation-delay: 1s;
        animation-iteration-count: 1;
        animation-direction: normal;
        animation-fill-mode: forwards;
        animation-play-state: running;
        transform: translateY(-0%);
        opacity: 1;
    }
}


header {
    padding: 0 clamp(16px, 5.7vw, 110px);
    position: fixed;
    top: 0;
    width: calc(100vw - clamp(40px, 11.4vw, 220px));
    display: flex;
    align-items: center;
    z-index: 990;
    transition: all .2s linear;
    background-color: transparent;
}

.header {
    width: 100%;
}

/* .menuAnimate.show{
    animation: slideDownMenu 1.7s cubic-bezier(.165,.84,.44,1) forwards;
}
.menuAnimate {
    width: 90%;
} */

header.scrolled {
    background-color: #163a59;
}

header.scrolled--green {
    background-color: #1B2B27;
}

.navigation2 {
    position: absolute !important;
    width: 100vw;
    height: 100vh;
    top: 0;
    right: 0;
    transition: all ease-in 1s;
    background-color: rgba(0, 0, 0, 0.555);
    opacity: 0;
    pointer-events: none; /* Allow clicks through the element */
}

.navigation2.showed {
    opacity: 1;
    pointer-events: auto; /* Enable interactions when visible */
}

.navigation__long {
    display: block !important;
    position: absolute !important;
    top: -100vh;
    width: 100vw;
    height: 100vh;
    right: 0;
    transition: all ease-in 1s;
    padding: 20px;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh;
}

.navigation__long.showed {
    top: 0;
}

.navigation__long nav ul {
    top: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: 1rem !important;
    line-height: 200%;
}
.navigation__long nav ul li::after{
    content: "/";
    color: #46789F;
    margin-left: 35px;
}
.navigation__long .title{
    margin-bottom: 2vh !important;
    
}
.navigation__long .title a{
    font-size: 50px;
    text-decoration: none;
}
.navigation__long .wp-block-buttons .wp-block-button{
    width: 100%;
}
.navigation__long .wp-block-buttons .wp-block-button a{
    margin-top: 1rem !important;
    width: 100%;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}
.navigation__long .wp-block-buttons .wp-block-button a img{
    height: 60%;
}

.header nav {
    display: block;
    position: absolute !important;
    align-items: flex-start !important;
    padding: 10px;
    right: -45vw;
    top: 7.2vh;
    width: 40vw;
    height: 100vh;
    border-bottom-left-radius: 50px;
    background-color: white;
}


.header__list li a {
    text-decoration: none;
    color: var(--wp--preset--color--black);
}

.header__content {
    gap: clamp(24px, 4.17vw, 80px);
    align-items: center;
}

.header_container{
    align-items: center;
    flex-direction: row;
    display: flex;
    width: 130px;
    
}
.hamburger__title{
   
    color: white;
}
/* BURGER MENU - START */
.header__hamburger  {
    cursor: pointer;
    width: 44px;
    height: 44px;
    transition-duration: 0.5s;
    position: absolute;
    z-index: 999;
    padding: 12px;
    right: 0;
}

.header__hamburger .icon {
    transition-duration: 0.5s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 2px;
    width: 24px;
    background-color: white;
    cursor: pointer;
}

.header__hamburger  .icon:before {
    transition-duration: 0.5s;
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: white;
    content: "";
    top: -6px;
}

.header__hamburger .icon:after {
    transition-duration: 0.5s;
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: white;
    content: "";
    top: 6px;
}

.header__hamburger.open .icon {
    transition-duration: 0.5s;
    background: transparent;
}

.header__hamburger.open .icon:before {
    width: 20px;
    top: -20px;
    transform: rotateZ(45deg) scaleX(1.25) translate(13px, 13px);
}

.header__hamburger.open .icon:after {
    width: 20px;
    top: 20px;
    transform: rotateZ(-45deg) scaleX(1.25) translate(12px, -12px);
}

/* BURGER MENU - END */

@media only screen and (max-width: 576px) {
    .navigation2 {
        min-height: 100vh !important;
        overflow-y: auto;

        .navigation__long {
            min-height: 100vh !important;
        }

        .title a {
            font-size: 2rem !important;
        }

        ul {
            li {
                a {
                    font-size: 18px !important;
                }
            }
        }
    }   
}


@media only screen and (min-width: 800px) {
    .header nav {
        top: 6vh;
        width: 40vw;
    }
    .header img{
        width: 150px !important;
    }
    .navigation__long .wp-block-buttons .wp-block-button{
        width: 100%;
    }
    .navigation__long{
        padding-left:30%;
    }
}

@media only screen and (min-width: 1200px) {
    .header img{
        width: 150px !important;
    }

    .header_container,
    .navigation2 {
        display: none;
    }
    
    
    .navigation__long{
        padding-top: 4vh !important;
        height: auto;
        padding-left:40%;
    }
    .navigation__long nav {
        width: 90%;
    }
    .navigation__long nav ul {
        flex-direction: row;
        margin-top: 8vh !important;
        margin-bottom: 10vh !important;
        line-height: 250%;
    }

    .header nav ul li a {
        font-size: 14px;
    }

    .navigation__long nav ul li a:hover{
        font-weight: 500;
    }

    .navigation__long .wp-block-buttons {
        margin-top: 5vh !important;
        margin-bottom: 4vh !important;
    }
    .navigation__long .wp-block-buttons .wp-block-button{
        width: auto;
        flex-direction: row;
        display: flex;
    }
    .navigation__long .wp-block-buttons .wp-block-button a{
        margin-top: 1rem !important;
        width: 100%;
        display: flex;
        gap: 8px;
        justify-content: center;
        align-items: center;
    }

    header.scrolled {
        height: 70px;
        transition: all .4s ease-in-out !important;
    }
    .wp-block-site-logo.is-default-size img{
        width:120px !important;
        transition: all .4s ease-in-out;
    }
    .scrolled .wp-block-site-logo.is-default-size img {
        width:100px !important;
    }


     .header{
        padding: 15px !important;
        justify-content: space-between !important;
        transition: all .4s ease-in-out;
        box-sizing: border-box; /* Include padding and border in the element's total width and height */
        overflow: hidden; /* Ensure content doesn't overflow */
     }
    .header__content {
        gap: 6vw;
        align-items: center;
    }
    .header nav {
        display: flex !important;
        background-color: #2d4d69;
        list-style: none;
        align-content: center;
        justify-content: center;
        gap: 45px;
        position: static;
        width: 80%;
        height: 40px;
        padding: 0px 50px 0px 50px;
        transition: all .4s ease-in-out;
        position: relative !important;
        top: 0;
        border-radius: 50px;
        right: auto;
        border: 1px solid #FFFFFF1A;
    }

    
    .header nav ul {
        padding: 0;
        flex-direction: row;
        align-items: center;
    }
    
    .header nav ul li {
        margin-bottom: 0 !important;
        padding-top: 8px;
        color: white;
    }
    
    .header nav ul li a {
        text-decoration: none;
        margin-top: -7px;
        font-weight: 400;
        width: auto;
        padding-bottom: 1px;
        transition: all .2s linear;
        line-height: 40px; /* Match the line-height to the header height */
        display: inline-block; /* Ensure the anchor is treated as a block element */
    }
    
    .header nav ul li a:hover {
        font-weight: 500;
    }
 
    /* .header__hamburger, .hamburger__title {
        display: none;
    } */

    
}
@media only screen and (min-width: 1350px) {
    .header nav {
        width: auto;
    }
}
@media only screen and (min-width: 1800px) {
    header{
        padding: 0 clamp(26px, 7.3vw, 150px);
        width: calc(100vw - clamp(100px, 15vw, 300px));
    }
    .header__content {
        gap: 15vw;
        align-items: center;
    }
    .wp-block-site-logo.is-default-size img{
        width:180px !important;
        transition: all .4s ease-in-out;
    }
    .scrolled .wp-block-site-logo.is-default-size img {
        width:150px !important;
    }
}
