* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

body {
    height: 100vh;
    background: white;
    padding-top: 70px;
}

/* Barre de navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 999;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    height: 90px;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Espacement entre l'image et le texte */
}

.navbar .logo a {
    font-size: 1.8rem;
    text-decoration: none;
    color: #000000;
    display: flex;
    align-items: center;
}

.logo a:hover {
    transform: scale(1.1);
}

.navbar .logo img {
    height: 60px; /* Taille ajustée pour une bonne visibilité */
    width: auto;
    vertical-align: middle;
}

.links {
    list-style: none;
    display: flex;
    gap: 30px;
    transition: all 0.3s ease;
}

.links li a {
    text-decoration: none;
    color: #37084b;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.links li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.links li a:hover {
    color: rgb(89, 8, 98);
   
}

.links li a:hover::before {
    transform: scaleX(1);
}

.navbar .links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px;
}

.navbar .links a {
    font-weight: 500;
    text-decoration: none;
    color: #8054dd;
    padding: 10px 0;
    transition: 0.2s ease;
}

.navbar .links a:hover {
    color: #530263;
}

.navbar-toggle {
    display: none;
}







/* Media Queries */
@media (max-width: 768px) {
    .navbar .links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        background: white;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

    .navbar .links.show {
        display: flex;
    }

    .navbar-toggle {
        display: block;
        background: none;
        border: none;
        color: #824ed6;
        font-size: 24px;
        cursor: pointer;
    }

    .user-sidebar {
        left: -250px;
    }

    .user-sidebar.open {
        left: 0;
    }
}

/* Main et Footer (ajoutés pour maintenir la structure) */
main {
    flex: 1;
    padding: 30px 15px;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    background: white;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
}