/* Styles de base */
body {
    font-family: sans-serif;
    margin: 0;
    background-color: #f4f4f4;
}

/* --- PARTIE 1 : Barre de navigation --- */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none; /* Supprime les puces */
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

/* --- PARTIE 2 : Cartes alignées --- */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espace entre les cartes */
    padding: 20px;
}

.card {
    flex: 1 1 250px; /* Grandit (1), rétrécit (1), base de 250px */
    background-color: white;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}