header {
    width: 100%;
    height: 70px;
    border-bottom: 1px solid var(--header-border);
    position: fixed;
    z-index: 2;
    top: 0;
    background: var(--background);
}

.header-conteiner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.left-d {
    display: flex;
    align-items: center;
}

.right-d {
    display: flex;
    justify-content: end;
}

.logo {
    display: flex;
    align-items: center;
}

.logo p {
    font-family: "Bebas Neue", sans-serif;
    margin-left: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary);
}

.logo img {
    width: 50px;
    height: 50px;
}

.nav-header {
    margin-left: 30px;
}

.nav-header a {
    font-weight: 800;
    cursor: pointer;
    padding-bottom: 22px;
    margin-left: 10px;
    color: var(--color);
    text-decoration: none;
}

.nav-header a:hover {
    border-bottom: 3px solid var(--gray);
}

.header-btn-selected {
    border-bottom: 3px solid var(--primary);
    color: var(--primary) !important;
}

.profil {
    border-radius: 50%;
    overflow: hidden;
    padding: 6px;
    background: var(--header-bg-element);
    width: 40px;
    height: 40px;
}

.profil img {
    object-fit: cover;
    border-radius: 50%;
    width: 100%;
    height: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-right: 15px;
    position: relative;
    z-index: 100;
}



.burger-menu span {
    width: 22px;
    height: 1px;
    background-color: #fff;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.4s ease;
    transform-origin: center;
}

/* État ouvert */
.burger-menu.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Classes de transition */
.burger-menu span.translate-1 {
    transform: translateY(7px);
}

.burger-menu span.translate-2 {
    transform: translateY(-7px);
}

.mobile-dropdown {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background: #111;
    overflow: hidden;
    transition: height 0.5s ease;
    z-index: 50;
}

.mobile-dropdown.open {
    height: auto;
}

.mobile-dropdown a {
    color: #fff;

    text-decoration: none;
    position: relative;
    padding: 15px 10px;
    border-top: 1px solid #333;
    transition: 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.last-btn-mobile {
    border-bottom: 1px solid #333;

}

.mobile-dropdown a i {
    font-size: 18px;
    margin-left: 8px;
    color: var(--gray);
    transition: transform 0.3s ease;
    font-size: 30px;
}

.mobile-dropdown a:hover i {
    transform: translateX(-7px);
    color: var(--primary);
}

.mobile-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* MENU UTILISATEUR */
.menu-header {
    width: 250px;
    position: fixed;
    top: 69px;
    transition: all .2s;
    opacity: 0;
    visibility: hidden;
    z-index: 9999999;
    background-color: var(--header-bg-element);
    border-radius: 0.25rem;
    overflow: hidden;
}

.username {
    padding: 20px 10px;
    font-family: "Saira Semi Condensed", sans-serif !important;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
}

.menu-header nav {
    margin: 0 !important;
}

.menu-header ul {
    list-style: none;
}

.menu-header a,
.nav-menu-header button {
    display: flex;
    color: var(--header-color-menu);
    text-decoration: none;
    padding: 15px;
    transition: .3s;
    justify-content: space-between;
    width: 100%;
}

.menu-header span {
    width: 100%;
    height: 1px;
    background: #383838;
    display: block;
}

.menu-header a:hover,
.menu-header button:hover {
    background: var( --header-hover-menu);
}

.visible {
    opacity: 1;
    visibility: visible;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .nav-header {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .header-conteiner {
        padding: 10px !important;
    }

}

@media (max-width: 1650px) {

    
    .header-conteiner {
        max-width: 1300px !important;
    }
}