/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1;
    text-align: center;
}

/* Header & Footer */
footer {
    background-color: #009DE0;
    color: white;
    padding: 0.4em;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Nouveau design des cartes */
.card-container {
    padding: 2em;
    margin-bottom : -30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.card h2{
    color: #009DE0;
    margin-bottom: 0.5em;
    font-size: 1.8rem;
}

.card {
    max-width: 900px; /* Largeur maximale */
    width: calc(100% - 2em); /* Largeur dynamique pour laisser un espace latéral */
    margin: 2em auto 0 auto;
    padding: 2em;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    background: linear-gradient(135deg, #ffffff 0%, #f4f4f9 100%);
}


.card li {
    font-size: 1.1rem;
    color: #555;
    text-align: left;
}

/* Boutons */
.btn, .btn2 {
    display: inline-block;
    padding: 12px 18px;
    color: white;
    background: #009DE0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: bold;
}

.btn:hover, .btn2:hover {
    background: #005f99;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn2 {
    margin-top : 15px;
}

/* Programme */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    background: #eaf8fd;
    margin: 10px 0;
    padding: 12px;
    border-left: 6px solid #009DE0;
    border-radius: 5px;
}

/* Grille de navigation */
#navigation ul li {
    padding: unset; /* Supprime l'espace intérieur du <li> */
    margin: 4px; /* Laisse un léger espace entre les boutons */
    background: inherit;
    border-left: none;
}

#navigation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin : 15px 0 5px 0;
}
