/* /style.css */
html, body {
    overflow: auto;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0 10px;
    background-color: #e3ebe4;
    color: #333;
}

header {
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;

    z-index: 1000;
}

header .logo a {
    color: #3a5f30;
}

header .logo a:hover {
    color: #629b4b;
}

header .social-icon {
    color: #3a5f30;
}

header .social-icon:hover {
    color: #629b4b;
}

.logo a {
    color: #3a5f30;
    text-decoration: none;
    font-size: 1.5em;
    padding-left: 20px;
}

.logo a:hover {
    color: #006600;
}

nav ul {
    list-style: none;
    margin: 5px 0;
    padding: 0;
    display: flex;
}
nav ul li {
    margin: 0;
    padding: 0 10px;
    border-right: 1px solid #b1b898;
}

nav ul li:last-child {
    border-right: none;
}

nav ul li a {
    color: #3a5f30;
    text-decoration: none;
    padding: 7px 7px;
    font-size: 1.2em;
}

nav ul li a:hover {
    color: #3d8d27;
}

nav {
    border-radius: 10px;
    background-color: transparent;
}

.gallery-navigation {
    background-color: rgba(255, 255, 255, 0.8);
    margin: 10px auto 5px auto;
    max-width: 1280px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

header {
    background-color: rgba(255, 255, 255, 0.8);
    color: #002700;
    text-align: center;
    padding: 0;
    position: relative;
    width: 100%;
    margin: 10px auto 5px auto;
    max-width: 1280px;
    max-height: 60px;
    border-radius: 10px;
    overflow: hidden;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

footer {
    background-color: transparent;
    color: #002700;
    text-align: center;
    padding: 0;
    position: relative;
    width: 100%;
    margin: 5px auto;
    max-width: 1280px;
    max-height: 60px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.footer-content .logo a {
    color: #001a00;
    text-decoration: none;
    font-size: 1.5em;
}

.footer-content .logo a:hover {
    color: #006600;
}

.logo, nav {
    max-width: 1280px;
    margin: 20px auto;
    padding: 0px 20px;
    box-sizing: border-box;

}

main {
    max-width: 1280px;
    margin: 20px auto;

}
footer {
    background-image: url('photos/geobambou_footer.jpg');
}
/* Cache le menu burger sur les écrans de grande taille */
.menu-toggle {
    display: none;
}

/* Icônes réseaux sociaux */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-right: 20px;
}

.social-icon {
    color: #001a00;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: #006600;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Desktop: afficher le menu dans le header, cacher le menu mobile */
@media (min-width: 769px) {
    .nav-desktop {
        display: block;
    }
    
    .nav-desktop ul {
        display: flex;
        flex-direction: row;
    }
    
    .nav-mobile {
        display: none;
    }
}

/* Style du menu burger et du menu pour petits écrans */
@media (max-width: 768px) {
    /* Réorganiser le header en mode mobile */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px;
        margin: 5px auto 0 auto;
        width: auto;
    }
    
    /* Bouton burger à gauche avec marges */
    .menu-toggle {
        order: 1;
        margin: 0 10px;
    }
    
    /* Logo au centre */
    .logo {
        order: 2;
        flex-grow: 0;
        text-align: center;
    }
    
    .logo a {
        padding-left: 0;
    }
    
    /* Icônes réseaux sociaux à droite */
    .social-icons {
        order: 3;
        padding-right: 10px;
        gap: 10px;
        flex-grow: 1;
        display: flex;
        justify-content: center;
    }
    
    /* Supprimer les marges verticales du body en gardant les marges latérales */
    body {
        padding: 0 10px;
        margin: 0;
    }
    
    /* Footer même style que header en mobile */
    footer {
        margin: 0 auto;
        width: auto;
        display: flex;
        justify-content: center;
    }
    
    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 10px;
    }
    
    .footer-content .logo a {
        font-size: 1.2em;
        padding-left: 0;
    }
    
    /* Supprimer les marges du main */
    main {
        margin: 0 auto;
    }
    
    /* Réduire la marge du carroussel */
    #carroussel {
        margin: 5px auto !important;
    }
    
    /* Cacher le menu desktop */
    .nav-desktop {
        display: none;
    }
    
    /* Style du conteneur nav mobile pour qu'il ait la même largeur que carroussel et galerie */
    .nav-mobile {
        max-width: 1280px;
        margin: 0px auto;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        box-shadow: none;
        border: none;
    }
    
    /* Afficher la bordure uniquement quand le menu est ouvert */
    .nav-mobile.nav-open {
        border: 1px solid #b1b898;
    }
    
    /* Cache le menu mobile par défaut */
    .nav-mobile ul {
        display: flex;
        flex-direction: column;
        background-color: transparent;
        position: relative;
        width: 100%;
        padding: 0;
        margin: 0;
        text-align: center;
        border-radius: 10px;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    /* Affiche le bouton burger */
    .menu-toggle {
        display: block;
        background-color: #2e7d32; /* vert */
        color: #ffffff;
        padding: 10px;
        border: none;
        font-size: 1.5em;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 8px;
    }

    .menu-toggle:hover {
        background-color: #1b5e20; /* vert plus foncé */
    }

    /* Affiche le menu complet lorsque la classe nav-open est active */
    .nav-open ul {
        max-height: 500px;
    }

    nav ul li {
        margin: 0;
        padding: 5px;
        border-bottom: 1px solid #b1b898;
    }
    
    /* Supprimer la bordure du dernier élément */
    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        color: #001a00;
        font-size: 1.5em;
        text-decoration: none;
    }
    
    /* gallery-navigation en mode mobile */
    .gallery-navigation ul {
        flex-direction: column;
    }
    
    .gallery-navigation ul li {
        border-right: none;
        border-bottom: 1px solid #b1b898;
    }
    
    .gallery-navigation ul li:last-child {
        border-bottom: none;
    }
}

/* Bouton burger : style global (n'impacte pas les boutons de formulaire) */
button.menu-toggle {
    background-color: #406e14; /* vert */
    color: #ffffff;
}

button.menu-toggle:hover {
    background-color: #55a336; /* vert plus foncé */
}

/* style carroussel accueil */
#carroussel {
    position: relative;
    width: 100%;
    max-height: 30vh; 
    /*border: 1px solid #000;*/
    overflow: hidden;
    display: flex;
    margin: 20px auto;
    /*max-width: 1280px;*/
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    padding: 0px;
    /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
}

.images-carroussel {
    display: flex;
    height: 100%; 
    object-fit: cover;
    animation-duration: 40s;
    animation-timing-function: ease-in-out;
    animation-name: anim-carroussel;
    animation-iteration-count: infinite;
}

.images-carroussel img {
    position: relative;
    min-width: 1280px;
    width: 100%;
    height: auto;
}

/* Texte du carrousel */

.textes-carroussel {
    position: absolute; /* Position absolue pour superposer le texte */
    top: 35%; /* Ajuster verticalement */
    left: 50%; /* Centrer horizontalement */
    transform: translate(-50%, -50%); /* Ajuster pour centrer parfaitement */
    width: 100%; /* S'étend sur toute la largeur du carrousel */
    text-align: center; /* Centrer le texte */
    z-index: 1; /* S'assurer que le texte est au-dessus des images */
    padding: 0 20px; /* Ajouter un peu de marge intérieure */
}
.texte {
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 1); /* Ombre portée */
    opacity: 0; /* Initialement invisible */
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    animation-duration: 40s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.texte h2 {
    color: #fff;
    font-size: 2em; /* Taille plus petite pour h2 */
    margin: 0; /* Réduction des marges pour une meilleure adaptation */
 
}
.texte h3 {
    color: #fff;
    font-size: 1.5em; /* Taille plus petite pour h3 */
    margin: 10px 0 0 0; /* Réduction de la marge au-dessus */
}
@media (max-width: 768px) { /* Pour les tablettes */
    .texte h2 {
        font-size: 4vw; /* Taille plus grande pour les petits écrans */
    }
    .texte h3 {
        font-size: 3vw;
    }
}

@media (max-width: 480px) { /* Pour les smartphones */
    .texte h2 {
        font-size: 5vw; /* Encore plus grand pour les petits écrans */
    }
    .texte h3 {
        font-size: 4vw;
    }
}
#texte1 {
    animation-name: anim-texte1;
}
#texte2 {
    animation-name: anim-texte2;
}
#texte3 {
    animation-name: anim-texte3;
}
#texte4 {
    animation-name: anim-texte4;
}


/* Animation des images du carroussel*/
@keyframes anim-carroussel {
    0%, 10% { 
        transform: translateX(0); /* Première image */
    }
    15%, 25% { 
        transform: translateX(-1280px); /* Deuxième image */
    }
    30%, 40% { 
        transform: translateX(-2560px); /* Troisième image */
    }
    45%, 55% { 
        transform: translateX(-3840px); /* Quatrième image */
    }
    60%, 70% { 
        transform: translateX(-2560px); /* Retour à la troisième image */
    }
    75%, 85% { 
        transform: translateX(-1280px); /* Retour à la deuxième image */
    }
    90%, 100% { 
        transform: translateX(0); /* Retour à la première image */
    }
}

/* Animation pour chaque texte */

@keyframes anim-texte1 {
    
    0%{ 
        opacity: 0; /* Première image */
        transform: translate(-50%, 30px); /* Départ du bas */
    }
    4%, 10% { 
        opacity: 1; /* Première image */
        transform: translate(-50%, 0); /* Texte immobile au centre */
    }
    12% { 
        opacity: 0; 
        transform: translate(-50%, -30px); /* Départ vers le haut */
    }
    
}

@keyframes anim-texte2 {
    0%, 12% { 
        opacity: 0; /* Première image */
        transform: translate(-50%, 30px); /* Départ du bas */
    }
    15%, 25% { 
        opacity: 1; /* Deuxième image */
        transform: translate(-50%, 0); /* Texte immobile au centre */
    }
    27%, 40% { 
        opacity: 0; /* Troisième image */
        transform: translate(-50%, -30px); /* Départ vers le haut */
    }
    71% { 
        opacity: 0; 
        transform: translate(-50%, 30px); /* Départ du bas */
    }
    75%, 95% { 
        opacity: 1; /* Retour à la deuxième image */
        transform: translate(-50%, 0); /* Texte immobile au centre */
    }
    100% { 
        opacity: 0; /* Retour à la première image */
        transform: translate(-50%, -30px); /* Départ vers le haut */
    }
}

@keyframes anim-texte3 {
    0%, 25% { 
        opacity: 0; 
        transform: translate(-50%, 30px); /* Départ du bas */
    }
    30%, 40% { 
        opacity: 1; /* Troisième image */
        transform: translate(-50%, 0); /* Texte immobile au centre */
    }
    42% { 
        opacity: 0; 
        transform: translate(-50%, -30px); /* Départ vers le haut */
    }
    57% { 
        opacity: 0; 
        transform: translate(-50%, 30px); /* Départ du bas */
    }
    60%, 70% { 
        opacity: 1; /* Retour à la troisième image */
        transform: translate(-50%, 0); /* Texte immobile au centre */
    }
    72% { 
        opacity: 0; /* Retour à la deuxième image */
        transform: translate(-50%, -30px); /* Départ vers le haut */
    }

}

@keyframes anim-texte4 {
    0%, 42% { 
        opacity: 0; /* Troisième image */
        transform: translate(-50%, 30px); /* Départ du bas */
    }
    45%, 55% { 
        opacity: 1; /* Quatrième image */
        transform: translate(-50%, 0); /* Texte immobile au centre */
    }
    57%, 70% { 
        opacity: 0; /* Retour à la troisième image */
        transform: translate(-50%, -30px); /* Départ vers le haut */
    }
}

/* Style pour l'image en miniature */
#miniature-accueil {
    width: 100%; /* S'adapte à la largeur du bloc */
    height: auto; /* Conserve les proportions de l'image */
    max-width: 20%; /* Limite la réduction à 60% de la taille d'origine */
    object-fit: cover; /* Remplit le bloc tout en respectant les proportions */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}

/* Agrandissement de 5% au survol */
#miniature-accueil:hover {
    transform: scale(1.05);
}

/* Mode plein écran pour l'image */
#miniature-accueil:active {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.67); /* 100% de la taille d'origine (1.67 = 1 / 0.6) */
    z-index: 1000; /* Pour qu'elle apparaisse au-dessus de tout */
    background-color: rgba(0, 0, 0, 0.5); /* Optionnel : effet d'arrière-plan */
}

/* style article */
.article-section {
    position: relative;
    display : flex;
    margin: 20px auto;
    max-width: 1280px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 15px;
}

.formation-container {
    display: flex;
    gap: 15px;
    margin: 7px 0px;
    max-width: 1280px;
    align-items: stretch;
}

.iframe-wrapper {
    flex: 0 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.formation-iframe {
    display: block;
}

.page-description {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-description .description-section {
    padding: 20px 30px 10px 30px;
    flex: 0 0 auto;
}
.page-description img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    margin-top: auto;
}
/* Disposition pour écrans plus petits */
@media (max-width: 768px) {
    .formation-container {
        flex-direction: column;
    }
    
    .formation-iframe {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .page-description {
        flex-direction: column; /* Passe en mode colonne */
    }

    .page-description img {
        width: 100%; /* L'image prend toute la largeur du conteneur */
        max-height: auto; /* La hauteur s'ajuste en fonction de la largeur */
        object-fit: contain; /* Garde les proportions de l'image */
        margin: 0 auto; /* Centre l'image horizontalement */
    }
}
.description-title {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.description-fin {

    display: inline;
}
.description {
    font-size: 17px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #666;
}
.description-section ul {
    margin: 5px;
    font-size: 17px;
}
.description-section a {
    text-decoration: none; /* Supprime le soulignement */
    color: #8B864E; /* Vert kaki pour le lien */
}
.description-title a {
    text-decoration: none; /* Supprime le soulignement */
    color: #8B864E; /* Vert kaki pour le lien */
}
.description-title a:hover {
    color: #556B2F; /* Vert foncé au survol */
}

.description-contenu a {
    text-decoration: none; /* Supprime le soulignement */
    color: #8B864E; /* Vert kaki pour le lien */
}
.description-contenu a:hover {
    color: #556B2F; /* Vert foncé au survol */
}

/* /style gallerie */
.gallery-section {
    margin: 7px 2px;
    margin-bottom: 0;
    max-width: 1280px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 10px 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.gallery-header {
    display: flex;
    padding: 0px;
    align-items: center;
    justify-content: space-between;
    margin-left: 10px;
    margin-top: 0px;
}
.gallery-header-accueil {
    padding: 0px;
    align-items: center;
    justify-content: space-between;
    margin-left: 10px;
    margin-top: 0px;
}
.gallery-info {
    display: flex;
    flex-direction: column; /* Force le titre et la description à rester en colonne */
    justify-content: center;
}
.scroll-to-top {
    /*margin-left: 15px;
    text-decoration: none;
    display: inline-block;*/

    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0);
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
    margin-left: auto;
}
.gallery-section:hover .scroll-to-top {
    background: rgba(0, 0, 0, 0.1);
}

.scroll-to-top:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}
.scroll-to-top svg {
    stroke: white;
    width: 24px;
    height: 24px;
}
.gallery-title {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #333;
}
.gallery-title a {
    text-decoration: none; /* Supprime le soulignement */
    color: #8B864E; /* Vert kaki pour le lien */
}
.gallery-description a {
    text-decoration: none; /* Supprime le soulignement */
    color: #8B864E; /* Vert kaki pour le lien */
}
.gallery-title a:hover {
    color: #556B2F; /* Vert foncé au survol */
}
.gallery-description a:hover {
    color: #556B2F; /* Vert foncé au survol */
}
.gallery-description {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 0px;
    color: #666;
}
.gallery-container {
    margin: 10px auto;
    max-width: 1280px;
}
.gallery-container-accueil {
    margin: 5px auto;
    margin-top: 0;
    max-width: 1280px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 blocs par rangée */
}
/* Passer à deux colonnes pour les écrans de taille moyenne */
@media (max-width: 768px) {
    .gallery-container-accueil {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Passer à une colonne pour les petits écrans */
@media (max-width: 480px) {
    .gallery-container-accueil {
        grid-template-columns: 1fr;
    }
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 10px;
    /*background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);*/
    margin-bottom: 0px;
}
.gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    cursor: pointer;
}
.gallery img:hover {
    transform: scale(1.05);
}
#fullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Assure que le mode plein écran est au-dessus de tout le reste */
}
#fullscreen img {
    max-width: 90%;
    max-height: 90%;
    display: block;
    cursor: pointer; /* Pour indiquer que l'image est cliquable pour fermer */
}

/* Boutons de navigation dans la galerie plein écran */
.nav-btn {
    position: absolute;
    background-color: rgba(0, 0, 0, 0);
    color: #ffffff;
    border: none;
    font-size: 2em;
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

#prev-btn {
    left: 20px;
}

#next-btn {
    right: 20px;
}

/* Bouton de fermeture */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    font-size: 2.5em;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Pour les petits écrans */
@media (max-width: 768px) {
    .nav-btn {
        display: none;
    }
    
    .close-btn {
        display: none;
    }
}

/*style formulaire
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}
*/
.contact-form-container {
    background-color: #cad4c6;
    border-radius: 15px;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    margin: 50px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/*
h2 {
    text-align: center;
    color: #388e3c;
    margin-bottom: 20px;
}
*/
.cases_formation {
    margin-top: 5px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Ajuste les colonnes */
    gap: 10px; /* Espacement entre les cases */
}

.cases_formation div {
    display: flex;
    align-items: center;
    gap: 8px; /* Espacement entre la case et le label */
}

.cases_formation input[type="checkbox"] {
    width: auto; /* Ajuste automatiquement à la taille de la case */
    height: auto; /* Laisse le navigateur gérer la taille native */
    margin: 0; /* Supprime les marges inutiles */
    padding: 0; /* Supprime tout espace interne */
    flex-shrink: 0; /* Empêche l'élément de se réduire dans le flex */
}
.cases_formation label {
    display: block;
    margin: 0; /* Supprime les marges inutiles */
    padding: 0; /* Supprime tout espace interne */
    color: #33571b;
}
input[type="checkbox"] {
    accent-color: green; /* Définit la couleur des cases cochées */
}

/* Si vous souhaitez personnaliser davantage l'apparence lorsque cochée */
input[type="checkbox"]:checked {
    background-color: green; /* Définit la couleur d'arrière-plan interne */
    border-color: green; /* Optionnel : change la couleur de la bordure */
}
label {
    display: block;
    margin-bottom: 10px;
    color: #33571b;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #325029;
    box-sizing: border-box;
    font-size: 16px;
}

input[type="text"], input[type="email"] {
    background-color: #ffffff;
}

textarea {
    background-color: #f1f8e9;
    resize: vertical;
}

button {
    background-color: #388e3c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

button:hover {
    background-color: #8f9b70;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #6cb970;
    box-shadow: 0 0 5px rgba(102, 187, 106, 0.5);
}

.confirmation-bulle {
    display: none; /* Masquée par défaut */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #e6f4e6;
    border: 2px solid #4caf50;
    border-radius: 10px;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    color: #4caf50;
    font-size: 1.1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* S'affiche par-dessus les autres éléments */
}
