header{
    position:fixed;
    width: 100%;
    top:0px;
    background-color: #ffffff;
    box-shadow: 0px 12px 12px 0px rgba(0, 0, 0, 0.13);
    z-index: 10;
    transition: 0.25s ease;
}

.nav{
    width: 100%;
    display: flex;
    justify-content: baseline;
    align-items: center;
    height: 70px;
    max-width: 1400px;
}

.imgLogo{
    margin-left: 5%;
    width: 70%;
    max-width: 240px;
}

.primary-navigation{
    position: fixed;
    inset: 0 0 0 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:#ffffff;
    z-index: 1000;
    transform: translateX(100%);
    transition: 350ms ease-out;  
    gap: 1em;
    padding-inline: 1em;
}

.primary-navigation li a{
    text-decoration: none;
    color: #00669F;
}

.primary-navigation[data-visible="true"]{
    transform: translateX(0%);
    transition: 350ms ease-out;
}

.mobile-nav-toggle[aria-expanded="false"]{
    background: url(../../images/burger.png) no-repeat;
    background-size: contain;
    width: 30px;
    height: 24px;
    border: 0;
    position: absolute;
    top: 35px;
    transform: translateY(-50%);
    right: 15px;
}
.mobile-nav-toggle[aria-expanded="true"]{
    background: url(../../images/croix.png) no-repeat;
    background-size: contain;
    width: 24px;
    height: 24px;
    border: 0;
    z-index: 100000;
    position: absolute;
    top: 35px;
    transform: translateY(-50%);
    right: 15px;
    
    
}

.primary-navigation li a{
    white-space: nowrap;
}

.resize-animation-stopper * {
    animation: none !important;
    transition: none !important;
}




@media screen and (max-width: 220px) {
    .imgLogo{
        display: none;
    }
}

@media screen and (min-width:450px){
    .mobile-nav-toggle{
        display: block;
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
    }

    .nav{
        justify-content: center;
    }

    .imgLogo{
        max-width: 260px;
        margin-left: 0px;
    }
}

@media screen and (min-width:1024px){
    .primary-navigation{
        width: 60%;
        max-width: 600px;
        position:unset;
        display: flex;
        flex-direction: row;
        gap:unset;
        justify-content: space-between;
        background: none;
        transform:none;
        transition: none;
        font-size: 16px;
    }
    .mobile-nav-toggle{
        display: none;
    }
    header{
        display: flex;
        justify-content: center;
    }
    .nav{
        width: 85%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .primary-navigation li {
        display: flex;
        align-items: center;
    }
    .primary-navigation li a {
        color: #53504E;
    }
}