body {
margin: 0;
padding: 0;
}

a {
    color: #000000;
}

header {
    background-color: #23b665; /* Fond clair pour l'en-tête */
    padding: 10px 20px; /* Ajouter de l'espace autour de l'en-tête */
}

header ul {
    list-style: none; /* Supprimer les puces */
    display: flex; /* Aligner les éléments horizontalement */
    justify-content: space-around; /* Espacer les éléments du menu */
    margin: 0;
    padding: 0;
}

header ul li {
    margin: 0 10px; /* Espacement entre les éléments du menu */
    display: flex; /* Utiliser flexbox pour centrer le contenu */
    align-items: center; /* Centrer le texte verticalement */
}

header ul li a {
    text-decoration: none; /* Supprimer le soulignement des liens */
    color: #000000; /* Couleur du texte foncée */
    font-size: 22px; /* Ajuster la taille de la police */
    font-family: 'Arial', sans-serif; /* Changer la police pour une police plus adaptée au menu */
    }

header ul li a:hover {
    color: #ffffff; /* Couleur blanche pour le texte au survol */
}

header ul li img {
    width: 30px; /* Ajuster la taille de l'icône de la maison */
    height: auto;
}

header ul li a img {
    height: auto; /* Maintenir les proportions du logo */
    max-height: 80px; /* Limiter la hauteur maximale du logo */
    width: 100px; /* Ajuster automatiquement la largeur */
    border: solid;
    border-radius: 15px;
    border-width: 0;
}

.list {
    list-style: disc;
}

main {
    padding: 20px; /* Ajouter de l'espace autour du contenu principal */
    text-align: center; /* Centrer le texte */
    font-family: 'Arial', sans-serif; /* Utiliser une police cohérente */
    color: #000000; /* Couleur du texte */
}

main h1 {
    font-size: 2em; /* Taille de police pour le titre principal */
    margin-bottom: 20px; /* Espacement sous le titre */
    color: #0d86f8; /* Couleur du titre */
}

main h2 {
    margin-top: 60px;
    color: #2a98ff;
}

main h3 {
    margin-top: 60px;
}

main p {
    font-size: 18px; /* Taille de police pour le texte descriptif */
    line-height: 1.6; /* Hauteur de ligne pour améliorer la lisibilité */
    margin-bottom: 15px; /* Espacement entre les paragraphes */
    text-align: justify;
}

main ul{
    list-style: none;
    font-size: 18px;
    text-align: justify;
    margin-left: -40px;
}

main ul li{
    margin-bottom: 15px;

}

.titre{
    font-size: 2em;
    margin-bottom: 20px;
    color: #0d86f8;
    text-align: center;
    margin-top: 50px;
}

.banderolle{
    display: flex;
    justify-content: center;
}

.banderolle img{
    margin-top: 30px;
    height: auto;
    width: 1200px;
}

.banderolle iframe{
    margin-top: 30px;
    height: 600px;
    width: 600px;
    border: solid;
    border-radius: 25px;
    box-shadow: gray 10px 10px 10px;
}

.texte {
    width: 1000px;
    margin: 0 auto;
}

.italic {
    font-style: oblique;
    color: #333;
}

#couverture-livre {
    border: solid;
    border-radius: 25px;
    border-width: 0px;
    box-shadow: gray 10px 10px 10px;
}

#couverture-livre2 {
    border: solid;
    border-radius: 25px;
    border-width: 0px;
    box-shadow: gray 10px 10px 10px;
    height: 500px;
    width: auto;
}

.equipe {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes fixes */
    gap: 30px 40px;
    justify-items: center;
    align-items: start;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.equipe-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #00000021;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 20px 15px;
    width: 200px;
    min-height: 300px;
    transition: box-shadow 0.2s;
}

.equipe-member:hover {
    box-shadow: 8px 16px 8px rgba(0, 0, 0, 0.274);
}

.equipe-member img {
    width: 120px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 15px;
}

.equipe-member .nom {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #0d86f8;
    text-align: center;
}

.equipe-member .role {
    font-size: 1em;
    color: #333;
    text-align: center;
}

.conseils {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.conseils-image {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.conseils img{
    display: block;
    width: 500px;
    height: auto;
    margin: 0 10px;
    border: solid;
    border-radius: 24px;
    border-width: 0;
    transition: box-shadow 0.2s;
}

.conseils img:hover{
box-shadow: 8px 16px 8px rgba(0, 0, 0, 0.30);
}

.local {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.local-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.local-text {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.1em;
    color: #0d86f8;
}

.local-images {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.local-element img {
    display: block;
    width: 500px;
    height: auto;
    margin: 0 10px;
    border: solid;
    border-radius: 24px;
    border-width: 0;
    transition: box-shadow 0.2s;
}

.local-element img:hover{
    box-shadow: 8px 16px 8px rgba(0, 0, 0, 0.30);
}

.nav-internal {
    position: fixed;
    right: 0;
    top: 120px;
    width: 220px;
    background-color: #95ff95;
    padding: 20px 10px;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.08);
    z-index: 10;
    height: auto;
    max-height: 80vh;
    overflow-y: auto;
}

.nav-internal2{
    position: fixed;
    right: 0;
    top: 200px;
    width: 330px;
    background-color: #add8e6;
    padding: 20px 10px;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.08);
    z-index: 10;
    height: auto;
    max-height: 80vh;
    overflow-y: auto;
    font-size: 24px;
}

.nav-internal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: start;
}

.nav-internal2 ul{
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: start;
}

.nav-internal li {
    margin-bottom: 12px;
}

.nav-internal2 li{
    margin-bottom: 12px;
}

.nav-internal a {
    color: #007423;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: color 0.2s;
}

.nav-internal a:hover {
    color: #000;

}

.nav-internal3 {
    position: fixed;
    right: 0;
    top: 240px;
    width: 280px;
    background-color: #add8e6;
    padding: 20px 10px;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.08);
    z-index: 10;
    height: auto;
    max-height: 80vh;
    overflow-y: auto;
}

.nav-internal3 p {
    margin: 0;
    margin-top: 10px;
    font-size: 18px;
    color: #0d86f8;
    font-weight: bold;
}

.nav-internal3 li {
    color: #000;
    font-size: 16px;
}

footer{
    display: flex;
    justify-content: center;
}

.footer-logo{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    
    width: 100%;
}

#types-accueil h3{
    text-align: start;
}

.events {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.events-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    height: 450px;
    border-radius: 20px;
    transition: box-shadow 0.2s;
    width: 340px;
}

a {
    text-decoration: none;
}

.grey {
    background-color: rgb(189, 189, 189);
}
.yellow {
    background-color: rgb(255, 255, 103);
}
.orange {
    background-color: rgb(255, 194, 81);
}
.lightgreen {
    background-color: lightgreen;
}
.green {
    background-color: rgb(80, 175, 80);
}
.lightblue {
    background-color: lightblue;
}
.blue {
    background-color: rgb(161, 161, 224);
}
.darkblue {
    background-color: rgb(101, 101, 184);
}
.purple {
    background-color: rgb(163, 82, 255);
}
.pink {
    background-color: rgb(248, 166, 180);
}
.red {
    background-color: rgb(255, 83, 83);
}

.events-text {
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.1em;
    color: #000000;
}

.events-images {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.events-element img{
    display: block;
    max-width: 300px;
    height: auto;
    max-height: 350px;
    margin: 0 10px;
    border: solid;
    border-radius: 24px;
    border-width: 0px;
    border-color: #000;
}

.events-element:hover{
    box-shadow: 8px 16px 8px rgba(0, 0, 0, 0.30);
}

.fléche img{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 100px;      /* ajuste la taille si besoin */
    height: auto;
    cursor: pointer;
}

.photo-local img {
    display: block;
    width: 500px;   /* ajuste la taille selon ton besoin */
    height: auto;
    border: solid;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    position: absolute;
    top: 400px;
    margin-left: 50px;
    object-fit: cover;
}

.partenaires {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.partenaires-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    height: 300px;
    border-radius: 20px;
    transition: box-shadow 0.2s;
    width: 340px;
}

#baniere-musique {
    display: flex;
    justify-content: space-between;
    padding: 0px 150px;
}

#baniere-musique img{
    width: 220px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 0px;
    box-shadow: 10px 10px 10px gray;
}

#baniere-lutins {
    width: 400px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 0px;
    box-shadow: 10px 10px 10px gray;
}

#photo-lutins {
    width: 400px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 0px;
    box-shadow: 10px 10px 10px gray;
}

#baniere-turboludo {
    width: 400px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 2px;
    box-shadow: 10px 10px 10px gray;
}

#photo-turboludo {
    display: flex;
    justify-content: space-between;
    padding: 0px 100px;
}

#photo-turboludo img {
    width: 350px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 0px;
    box-shadow: 10px 10px 10px gray;
}

#baniere-mediatheque {
    width: 700px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 2px;
    box-shadow: 10px 10px 10px gray;
}

#photo-mediatheque {
    width: 400px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 0px;
    box-shadow: 10px 10px 10px gray;
}

#baniere-spectacles {
    width: 300px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 0px;
    box-shadow: 10px 10px 10px gray;
}

#photo-spectacles img {
    width: 800px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 0px;
    box-shadow: 10px 10px 10px gray;
    margin-bottom: 30px;
}

.mini-br {
    margin-top: 20px;
}

.medium-br {
    margin-top: 40px;
}

#baniere-carnaval {
    width: 300px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 0px;
    box-shadow: 10px 10px 10px gray;
}

#photo-carnaval {
    width: 800px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 0px;
    box-shadow: 10px 10px 10px gray;
}

#baniere-recrutement {
    width: 400px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 2px;
    box-shadow: 10px 10px 10px gray;
    margin-top: 30px;
}

#baniere-pompiers {
    width: 300px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 0px;
    box-shadow: 10px 10px 10px gray;
}

#baniere-massage {
    width: 200px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 2px;
    box-shadow: 10px 10px 10px gray;
}

#baniere-cafe {
    width: 800px;
    height: auto;
    border: solid;
    border-radius: 25px;
    border-width: 0px;
    box-shadow: 10px 10px 10px gray;
}







@media (max-width: 980px) {
    header ul li a {
        font-size: 18px;
    }

    .texte {
        width: 800px;
    }

    .banderolle img {
        width: 979px;
    }

    .nav-internal3, .nav-internal2 {
        position: static;
        width: 50%;
        max-width: 100vw;
        border-radius: 20px 20px 20px 20px;
        box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
        z-index: 1;
        padding: 2px 10px;
        background: #95ff95;
        height: auto;
        max-height: none;
        overflow-y: visible;
        margin-top: 40px; /* espace avant la nav */
        margin-bottom: 0;
        margin-left: 20%;
    }

    .nav-internal2 {
        border-radius: 0px 20px 20px 0px;
    }

    .nav-internal {
        display: none;
    }

    .events {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        width: 480px;
    }

    .events a {
        width: 200px;
        height: 300px;
    }

    .events-element {
        width: 220px;
        height: 300px;
    }

    .events-images img {
        width: 200px;
        height: auto;
        max-height: 240px;
    }

    #photo-turboludo {
        padding: 0;
    }

    #photo-turboludo img {
        width: 380px;
    }

    #baniere-musique {
        width: 800px;
        padding: 0;
    }

    #baniere-musique img {
        width: 250px;
    }
}

@media (max-width: 768px) {
    header {
        width: 360px;
        border: solid;
        border-width: 0px 2px 2px 0px;
        border-radius: 0px 0px 25px 0px;
    }

    header ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .texte {
        width: 700px;
    }

    .banderolle img {
        width: 768px;
    }

    .nav-internal3, .nav-internal2 {
        position: static;
        width: 700px;
        max-width: 100vw;
        border-radius: 20px 20px 20px 20px;
        box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
        z-index: 1;
        padding: 2px 10px;
        background: #95ff95;
        height: auto;
        max-height: none;
        overflow-y: visible;
        margin-top: 40px; /* espace avant la nav */
        margin-bottom: 0;
    }

    .nav-internal2 {
        border-radius: 0px 20px 20px 0px;
    }

    .nav-internal {
        display: none;
    }

    .conseils img {
        width: 700px;
    }

    .equipe {
          grid-template-columns: repeat(3, 1fr);
    }

    .equipe-member {
        width: 150px;
    }

    .local-images {
        flex-direction: column;
    }

    .local-images img {
        width: 700px;
    }

    .events {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
        width: 480px;
    }

    .events a {
        width: 200px;
        height: 300px;
    }

    .events-element {
        width: 200px;
        height: 300px;
    }

    .events-images img {
        width: 200px;
        height: auto;
        max-height: 240px;
    }

    .fléche img {
        width: 80px;
    }

    #photo-turboludo {
        padding: 0px;
    }

    #baniere-turboludo {
        width: 500px;
    }

    #photo-turboludo img {
        width: 300px;
    }

    #photo-carnaval {
        width: 700px;
    }

    #baniere-cafe {
        width: 600px;
    }

    #baniere-mediatheque {
        width: 600px;
    }

    #baniere-musique {
        width: 700px;
        padding: 0;
    }

    #baniere-musique img {
        width: 220px;
    }

    #photo-spectacles img {
        width: 700px;
    }

    .photo-local img {
        position: static;
        margin: 0;
        margin-top: 20px;
        padding: 0;
        width: 720px;
    }

    .partenaires {
        grid-template-columns: repeat(3, 1fr);
    }

    .partenaires-element {
        width: 200px;
    }
    .partenaires-element img {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    header {
        width: 360px;
        border: solid;
        border-width: 0px 2px 2px 0px;
        border-radius: 0px 0px 25px 0px;
    }

    header ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .texte {
        width: 400px;
    }

    .banderolle img {
        width: 480px;
    }

    .nav-internal3, .nav-internal2 {
        position: static;
        width: 420px;
        max-width: 100vw;
        border-radius: 20px 20px 20px 20px;
        box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
        z-index: 1;
        padding: 2px 10px;
        background: #95ff95;
        height: auto;
        max-height: none;
        overflow-y: visible;
        margin-top: 40px; /* espace avant la nav */
        margin-bottom: 0;
    }

    .nav-internal2 {
        border-radius: 0px 20px 20px 0px;
    }

    .nav-internal {
        display: none;
    }

    .conseils img {
        width: 400px;
    }

    .equipe {
          grid-template-columns: repeat(2, 1fr);
    }

    .equipe-member {
        width: 150px;
    }

    .local-images {
        flex-direction: column;
    }

    .local-images img {
        width: 400px;
    }

    .events {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            width: 480px;
    }

    .events a {
        width: 200px;
        height: 300px;
    }

    .events-element {
        width: 200px;
        height: 300px;
    }

    .events-images img {
        width: 200px;
        height: auto;
        max-height: 240px;
    }

    .fléche img {
        width: 50px;
        bottom: 0px;
        top: 30px;
        right: 20px;
    }

    #photo-turboludo {
        padding: 0px;
    }

    #photo-turboludo img {
        width: 180px;
    }

    #photo-carnaval {
        width: 400px;
    }

    #baniere-cafe {
        width: 400px;
    }

    #baniere-mediatheque {
        width: 400px;
    }

    #baniere-musique {
        width: 400px;
        padding: 0;
    }

    #baniere-musique img {
        width: 130px;
    }

    #photo-spectacles img {
        width: 400px;
    }

    .photo-local img {
        position: static;
        margin: 0;
        margin-top: 20px;
        padding: 0;
        width: 440px;
    }

    .partenaires {
            grid-template-columns: repeat(2, 1fr);
    }

    .partenaires-element {
        width: 200px;
    }
    .partenaires-element img {
        max-width: 200px;
    }
}

