/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding: 20px;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        color: #f1f1f1;
        background-color: #121212;
    }

    header {
        background-color: #1e1e1e;
    }

    h1, h2 {
        color: #e5e5e5;
    }

    .citation {
        color: #cccccc;
    }

    .contact-links a {
        background-color: #333;
        color: #f1f1f1;
        border-radius: 15px;
    }

    .contact-links a:hover {
        background-color: #555;
    }

    .carousel-container {
        background-color: #1e1e1e;
    }
}

/* En-tête */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 10px;
}

.logo {
    width: 250px;
    height: 216px;
    object-fit: cover;
}

h1 {
    font-size: 2em;
    margin: 20px 0;
}

.citation {
    font-style: italic;
    color: #fff;
}

/* Présentation */
.presentation {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.presentation h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.presentation p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.contact-links a {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background-color: lightcyan;
    color: black;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.contact-links a:hover {
    background-color: #0056b3;
}

/* Carrousel */
.carousel-container {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
}

.carousel {
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.carousel img {
    width: 100%;
    max-width: 600px;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .presentation {
        width: 70%;
    }
}