body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
    header.scrolled {
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        transition: box-shadow 53.3s ease-in-out;
    }
    header.prive {
        background-color: darkgreen;
    }
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    nav h1 {
        margin: 0;
        font-size: 1.5rem;
    }

    nav ul {
        display: flex;
        gap: 1rem;
    }
    nav a {
        color: white;
        text-decoration: none;
        font-weight: bold;
    }

        nav a:hover {
            text-decoration: underline;
        }
.menu ul {
    list-style: none;
    display: none;
    gap: 20px;
    background-color: #222;
    padding: 10px;
}
.menu.open {
    display: block; /* Menu visible quand la classe "open" est ajoutée */
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
}

.menu li.login a {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

    .menu li.login a:hover {
        background-color: #0056b3;
    }

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

.content {
    padding: 2rem;
    /*background-color: white;*/
    margin: 2rem auto;
    max-width: 960px;
    /*box-shadow: 0 0 10px rgba(0,0,0,0.1);*/
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #ecf0f1;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: #34495e;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 1rem;
    }

        nav ul.show {
            display: flex;
        }

    .menu-toggle {
        display: block;
    }
}