body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
    color: #333;
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

header h1 {
    margin: 0;
    font-size: 3em;
    letter-spacing: 2px;
}

nav {
    background-color: #34495e;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    background-color: #1abc9c;
    transform: scale(1.1);
}

section {
    padding: 40px;
    background: white;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

h2 {
    color: #2980b9;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 3px solid #1abc9c;
    display: inline-block;
    padding-bottom: 5px;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    background: #ecf0f1;
    margin: 10px 0;
    padding: 15px;
    border-left: 5px solid #2980b9;
    transition: background 0.3s ease;
    border-radius: 5px;
}

ul li:hover {
    background: #d0e6f7;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}

.image-gallery img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.image-gallery figure {
    margin: 40px 0; /* Augmentation de l'espacement vertical */
    text-align: center;
}

.image-gallery figcaption {
    font-style: italic;
    color: #555;
    margin-top: 10px; /* Plus d'espace entre l'image et la légende */
}


@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    section {
        padding: 20px;
        margin: 10px;
    }

    header h1 {
        font-size: 2em;
    }
}
