header {
    display: flex;
    width: 100vw;
    max-width: 2200px;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
    position: fixed;
    z-index: 3;
}

.separator {
    width: 100%;
    height: 60px;
    position: relative;
}

.nav-desk {
    display: none;
}

.nav-desk ul li {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
}

.nav-desk ul li:hover .submenu {
    opacity: 1;
    display: flex;
    transition: opacity 0.2s ease-in;
    height: auto;
}

.nav-desk ul li:hover .texte {
    opacity: 0;
    transition: opacity 0.2s ease-in;
}

.nav-mob {
    display: flex;
    flex-flow: row nowrap;
    width: 100vw;
    position: relative;
    z-index: 2;
}

.nav-mob ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-flow: row nowrap;
    width: 100%;
    height: 100%;
    gap: 1.75vw;
    list-style: none;
}

.nav-mob img {
    height: 70px;
    margin: auto 0 auto 10px;
}

.nav-mob a {
    height: auto;
    align-items: center;
    font-size: 18px;
    color: #ffffff;
}

.nav-mob .container-burger-menu {
    display: flex;
    background-color: #fff;
    width: 100%;
    z-index: 3;
}

.nav-mob ul li img {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
    width: 24px;
    height: 24px;
}

.nav-mob .burger-menu {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: 5vw;
    gap: 10px;
    width: 30px;
    height: 100%;
    position: relative;
}

.nav-mob span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #31660A;
}

.nav-mob .line-1 {
    transform: translateY(-10px);
    transition: transform 0.2s ease-in-out;
}

.nav-mob .line-3 {
    transform: translateY(10px);
    transition: transform 0.2s ease-in-out;
}

.nav-mob .nav-list {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: absolute;
    background: linear-gradient(180deg, #31660A 0%, #1a3605 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2756a5", endColorstr="#203053", GradientType=1);
    transform: translateY(-200vh);
    height: 100vh;
    box-sizing: border-box;
    transition: transform 0.2s ease-in-out;
    padding: 120px 25px;
    gap: 4.22vw;
    z-index: 2;
}

.nav-mob .nav-list li a {
    font-size: 20px;
    font-weight: 500;
}

.gradient-boost {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(38,59,101,0.8) 50%, rgba(25,40,65,1) 100%) !important;
    opacity: 1;
    transition: opacity 0.2s ease-out, background 0.2s ease-out;
}

.background-submenu {
    position: absolute;
    width: 100%;
    background-color: #192841;
    height: 100%;
    z-index: 2;
}

.submenu {
    position: absolute;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 20px;
    width: auto;
    background: linear-gradient(180deg, rgba(39,86,165,1) 0%, rgba(32,48,83,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2756a5", endColorstr="#203053", GradientType=1);
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0px 0px 10px 10px;
    z-index: 1;
    opacity: 0;
    display: none;
    transition: opacity 0.2s ease-out;
}

nav a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #141414;
    text-decoration: none;
    display: flex;
    height: 100%;
}

nav img {
    height: 60px;
    margin-right: 1.75vw;
}

header .nav-desk .btn-secondary {
    border: solid 2px #ffffff;
    transition: border-color 0.2s ease-in-out;
}

header .nav-desk .btn-secondary:hover {
    border-color: #CD9F5C;
}

/* Responsive Design */
@media screen and (max-width: 1069px) {
    .nav-desk {
        display: none;
    }
    header {
        padding: 0;
        height: 100px;
    }
    .separator {
        height: 100px;
    }
}

@media screen and (min-width: 1070px) {
    header {
        height: 60px;
        padding: 0 9.905vw;
    }
    nav {
        display: flex;
        flex-flow: row nowrap;
        width: 100vw;
    }
    ul {
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-flow: row nowrap;
        width: 100%;
        height: 100%;
        gap: 1.75vw;
        list-style: none;
    }
    .nav-mob {
        display: none;
    }
    .nav-desk {
        display: flex;
    }
    .nav-desk a {
        font-size: 16px;
        display: flex;
        align-items: center;
    }
    .nav-desk img {
        transition: filter 0.2s ease-in-out;
    }
    .nav-desk ul li:nth-last-child(1) {
        margin-left: auto;
    }
    .nav-desk ul li:nth-last-child(1) a {
        display: flex;
        justify-content: center;
        color: #31660A;
        border: solid 2px #31660A;
        border-radius: 7.5px;
        width: 130px;
        height: 40px;
        box-sizing: border-box;
        margin: auto;
        transition: color 0.4s ease-out;
        transition: background 0.4s ease-out;
    }
    .nav-desk ul li:nth-last-child(1) a:hover {
        background-color: #31660A;
        color: #fafafa;
        transition: color 0.4s ease-in;
        transition: background 0.4s ease-in;
    }
    .scrolled nav ul li a {
        color: #ffffff;
        transition: color 0.2s ease-in-out;
    }
}

@media screen and (min-width: 2200px) {
    header {
        padding: 0 300px;
    }
    ul {
        gap: 20px;
    }
    nav img {
        margin-right: 20px;
    }
}
