body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 85px;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

nav ul li {
    display: inline;
}

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

nav ul li a.button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    color: white;
    text-align: center;
}

nav ul li a.button.blue {
    background-color: #00a9b7;
}

nav ul li a.button.dark-green {
    background-color: #005c58;
}

nav ul li a.button.green {
    background-color: #8bc24a;
}

nav ul li a.button.light-green {
    background-color: #b3d433;
}

nav ul li a.button.yellow {
    background-color: #f1c40f;
    color: black;
}

nav ul li a.button.big {
    padding: 10px 30px;
}

nav ul li a:hover {
    opacity: 0.8;
}

main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
}

#actualites {
    width: 100vw; /* Prendre toute la largeur de la fenêtre */
}

.full-width-title {
    text-align: left;
    font-size: 2em;
    margin: 20px;
    color: #333;
}

#associations h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
    text-align: left; /* Alignement à gauche pour le titre */
}

iframe {
    width: 100%;
    height: 600px; /* Hauteur ajustable selon vos besoins */
    border: 1px solid #ddd; /* Bordure légère pour une meilleure intégration visuelle */
    border-radius: 10px; /* Coins arrondis pour une apparence plus esthétique */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Ombre pour donner de la profondeur */
}

#qui-sommes-nous h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

#qui-sommes-nous p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

#qui-sommes-nous ul {
    list-style-type: none;
    padding: 0;
}

#qui-sommes-nous li {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

#qui-sommes-nous .bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 6px;
}

#qui-sommes-nous .blue {
    background-color: #00a9b7;
}

#qui-sommes-nous .dark-green {
    background-color: #005c58;
}

#qui-sommes-nous .green {
    background-color: #8bc24a;
}

#qui-sommes-nous .light-green {
    background-color: #b3d433;
}

/* Styles pour le carrousel d'images */
#carrousel {
    width: 100%;
    margin: 0;
    padding: 20px 0;
    background-color: white;
    box-sizing: border-box;
}

.carrousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carrousel-wrapper {
    display: flex;
    width: calc(100% * 20); /* Remplacez nombre_de_slides par le nombre total de slides */
    transition: transform 0.5s ease-in-out;
}

.carrousel-slide {
    width: 100%; /* ou width: calc(100% / nombre_de_slides); */
    flex-shrink: 0;
}

.carrousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    width: max-content;
    overflow: hidden;
}

.carrousel-track img {
    height: 400px; /* Ajustez cette valeur en fonction de la hauteur désirée */
    width: auto; /* Laisser la largeur s'ajuster automatiquement */
    margin: 0 5px;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    object-fit: cover; /* Maintenir le rapport d'aspect tout en couvrant l'espace */
}


button.prev, button.next {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2em;
    padding: 0.5em;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

/* Styles pour le lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

input[type="checkbox"] {
    margin-right: 10px;
}

button {
    padding: 15px 20px;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #e0b30e; /* Couleur plus foncée pour l'effet hover */
}

footer {
    background-color: white;
    color: #333;
    text-align: center;
    padding: 2em 0;
    font-size: 1em;
}

footer h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

footer .bullet {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-bottom: 10px;
}

footer .green { background-color: #8bc24a; }
footer .light-green { background-color: #b3d433; }
footer .dark-green { background-color: #005c58; }
footer .blue { background-color: #00a9b7; }

footer .action-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}

footer .action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    max-width: 200px; /* Limite la largeur des éléments */
}

footer .action-title {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 10px;
    text-align: center;
}

footer .action-link,
footer .social-buttons {
    margin-top: 10px;
}

footer .social-buttons img {
    margin-right: 0; /* Supprime l'espace entre les icônes */
}

footer .social-buttons a {
    text-decoration: none;
}

footer p {
    margin: 20px 0 0;
    font-size: 0.9em;
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #003366; /* Choisissez la couleur que vous souhaitez */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #003366; /* Couleur plus foncée pour l'effet hover */
}

.item {
    flex: 1 1 auto;
    margin: 10px;
}

/* Pour les grands écrans */
.container {
    display: flex;
    flex-direction: row;
}

/* Pour les écrans de moins de 768px de large (tablettes et téléphones) */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo img {
        height: 60px; /* Réduire la taille du logo sur les petits écrans */
    }

    .button {
        width: 100%;
        margin-bottom: 10px; /* Boutons en plein écran avec espace entre eux */
    }
}

/* Pour les écrans de moins de 480px de large (téléphones) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5em; /* Réduire la taille du texte */
    }

    .container {
        padding: 10px;
    }

    .action-item {
        margin: 10px auto;
    }
}

