header {
    background-color: black;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s;
}

header .logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 20px;
    margin-left: 2%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    position: absolute;
    top: 20px;
    right: 20px;
    margin-top: 10px; /* Ajout du margin-top */
    margin-right: 10px; /* Ajout du margin-right */
}

.menu-toggle .menu-icon {
    width: 30px;
    height: 3px;
    background-color: white;
    display: block;
    position: relative;
}

.menu-toggle .menu-icon::before,
.menu-toggle .menu-icon::after {
    content: '';
    width: 30px;
    height: 3px;
    background-color: white;
    display: block;
    position: absolute;
    left: 0;
}

.menu-toggle .menu-icon::before {
    top: -10px;
}

.menu-toggle .menu-icon::after {
    top: 10px;
}

nav {
    text-align: center;
    flex-grow: 1;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul li a.active {
    color: #f700ffbe;
    text-shadow: 0 0 10px #ffffffb2;
}
#login_button {
    background-color: #6602c47a;
    color: white; /* Contraste avec le vert pour rendre le texte visible */
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
#login_button:hover {
    background-color: #f71244d5;
    transform: scale(1.05);
}



@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background-color: black;
        position: absolute;
        top: 100%;
        left: 0;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin-left: 20px; /* Ajout du margin-left pour les appareils mobiles */
        margin-top: 10px;
        width: 100%;
        text-align: left;
    }

    nav ul li a {
        padding: 10px 20px;
        width: 100%;
        display: block;
    }
}