header {
    font-size: 16px;
    font-weight: bold;
    background-color: var(--background-color);
    height: 70px;
    /* position: fixed; */
}

.header-container {
    color: var(--font-color);
    height: 100%;
}

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

header ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 50px;
}


#logo {
    height: 60px;
}

.push-button {
    height: 35px;
    width: 128px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 10px;
    background-color: var(--push-button-color);
    color: var(--font-push-button_color);
}

.push-button:hover {
    background-color: var(--push-button-hover-color);
    color: var(--font-push-button-hover_color);
}

.push-button a {
    color: black;
}
a, span {
    text-transform: uppercase;

}

li a {
    color: var(--font-color);
}

.burger {
    display: none;
}

.mobile-menu {
    display: none; 
}

/* Responsive Header */

@media (max-width: 768px) {
    header {
        height: auto;
        padding: 10px 0;
    }

    .header-container nav {
        padding: 0 15px;
        
    }

    .leftContainer {
        display: none;
    }

    .rightContainer {
        display: none;
    }

    .burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: none;
        cursor: pointer;
        padding: 0;
        margin-left: auto;
    }

    .burger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--font-color);
        border-radius: 3px;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
        background-color: var(--background-color);
    }

    .mobile-menu:not(.hidden) {
        display: flex;
    }

    .mobile-menu.hidden {
        display: none;
    }

    .mobile-menu a {
        color: var(--font-color);
        font-size: 16px;
    }

    .mobile-btn {
        background-color: var(--push-button-color);
        color: #000 !important;
        padding: 10px 25px;
        border-radius: 10px;
        font-weight: bold;
    }
}

/* Cache le burger sur desktop */
@media (max-width: 768px) {
    header {
        height: auto;
        padding: 10px 0;
        overflow: hidden;
    }

    .header-container nav {
        position: relative;
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 60px;
    }

    #logo {
        height: 45px;
    }

    .leftContainer, .rightContainer {
        display: none;
    }

    .burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: none;
        cursor: pointer;
        padding: 0;
    }

    .burger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--font-color);
        border-radius: 3px;
    }

    .mobile-menu {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
        background-color: var(--background-color);
    }

    .mobile-menu:not(.hidden) {
        display: flex;
    }

    .mobile-menu.hidden {
        display: none !important;
    }

    .mobile-menu a {
        color: var(--font-color);
        font-size: 16px;
    }

    .mobile-btn {
        background-color: var(--push-button-color);
        color: #000 !important;
        padding: 10px 25px;
        border-radius: 10px;
        font-weight: bold;
    }
}