/* mobile.css */
body {
    background-color: #099cac;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    flex-wrap: wrap;
    /*min-height: 100vh; /* Pour forcer la hauteur à être au moins celle de l'écran */
    flex-direction: column;
    text-align: justify;
    padding: 25px;
    padding-right: 65px;
}

h1 {
    font-size: 2em;
    margin-top: 40vh;
    text-align: center;
    text-shadow: 2px 4px 8px black;
}

p {
    font-size: 1.2em;
}

a {
    text-decoration: none;
    color: white;
}


@keyframes coinFlip {
    0% {
        transform: translate(-50%, 0%) scale(0) rotateY(0deg); /* Début de l'animation avec un zoom de 0 */
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    }
    50% {
        transform: translate(-50%, 0%) scale(1.2) rotateY(0deg); /* Zoom initial rapide */
    }
    100% {
        transform: translate(-50%, 0%) scale(1) rotateY(720deg); /* Retour à l'échelle normale après 2 tours */
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    }
}

.logo {
    position: relative;
    left: 50%;
    width: 250px;
    height: 250px;
    transform: translate(-50%, 0%);
    padding-top: 0px;
    animation: coinFlip 4s ease forwards;
    transform-style: preserve-3d;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    border-radius: 50%; /* Rond pour adapter l'ombre */
    overflow: hidden; /* Masque les coins si l'image dépasse */
}



.logo2 {
    position: flex;
    left: 50%;
    width: 125px;
    height: 125px;
    padding-top: 10px;
    display:block;
}

.hero {
    background-color: #6c757d;
    background-image: url("/img/festival-de-la-craie.jpg");
    background-size: contain;
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    text-align: center;
    width: 300px;
    height: 110px;
    padding: 20px;
    box-shadow: 2px 2px 8px black;
}

.drapeau {
    background-color: #6c757d;
    /*background-image: url("/img/drapeau_fr.png");*/
    background-size: contain;
    background-position: center; 
    background-repeat: no-repeat; 
    width: 30px;
    height: 20px;
    transform: translate(0px, 5px);   
    box-shadow: 1px 1px 4px black;
}

/* Header Styles */
header {
    width: 100%;
    padding: 20px;
    color: white;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.8rem;
    margin: 0;
}

header .theme-lang {
    position: absolute;
    display: flex;
    align-items: center;
    text-align: right;
    top: 0px;
    right: 20px;
}

/***************************/
/*           MENU          */
/***************************/

.mobile-menu {
    background-color: #ff6347; /* Couleur du menu */
    padding: 0;
    width: 340px;
}

.mobile-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    box-shadow: 2px 4px 12px black;
}

.mobile-menu ul li {
    border-bottom: 1px solid #fff;
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    display: block;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    background-color: #a80698;
    transition: background-color 0.3s ease;
}

.mobile-menu ul li a:hover {
    background-color: #a80698; /* Couleur au survol */
    opacity: 0.8;
    font-weight: bold;
}

.mobile-menu ul li a:active {
    background-color: #a80698; /* Couleur lors du clic */
}


/***************************/
/* CADRES MEMBRES/ADHESION */
/***************************/

.membres_bureau {
    position : fixed;
    width: 95%;
    height: 200px;
    padding: 10px;
    color : white;
    background-color: rgb(11, 141, 164);
    border-radius: 20px;
    box-shadow: 2px 4px 8px black;
    top : 50%;
    left: 0px;
    transform: translate(0,-50%);
    display: block;
}

.adhesion_bureau {
    position : fixed;
    width: 90%;
    height: 220px;
    padding: 20px;
    color : white;
    background-color: rgb(11, 141, 164);
    border-radius: 20px;
    box-shadow: 2px 4px 8px black;
    top : 50%;
    left: 0px;
    transform: translate(0,-50%);
    display: block;
}

.presentation_ape {
    position: absolute;
    width: 95%;
    height: 100vh;
    padding: 10px;
    color : white;
    background-color: rgb(11, 141, 164);
    border-radius: 20px;
    box-shadow: 2px 4px 8px black;
    top : 50%;
    left: 0px;
    transform: translate(0,-50%);
    display: block;
    overflow-y: scroll;
}

.conseil_ecole {
    position : fixed;
    width: 90%;
    height: 130px;
    padding: 10px;
    color : white;
    background-color: rgb(11, 141, 164);
    font-size: 18px;
    border-radius: 20px;
    box-shadow: 2px 4px 8px black;
    top : 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;  /* Centrer horizontalement */
    align-items: center;      /* Centrer verticalement */
}

.content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Déplacement pour centrage exact */
    padding: 10px;
}

.dons {
    position : fixed;
    width: 90%;
    height: 250px;
    padding: 10px;
    color : white;
    background-color: rgb(11, 141, 164);
    font-size: 18px;
    text-align: justify;
    border-radius: 20px;
    box-shadow: 2px 4px 8px black;
    top : 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: block;
}

.iban {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.window {
    width: 400px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: white;
    position: relative;
}

.window-header {
    padding: 4px;
    color: black;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: center;
}

.close-button {
    cursor: pointer;
    background-color: #e7e6e6;
    font-size: 20px;
    padding: 2px 2px;
    border-radius: 3px;
    transform: translate(5px, -20px);
}

.close-button:hover {
    background-color: #c50f1f;
}

/*********************************/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Voile noir opaque */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Assure que le cadre est au-dessus de tout */
}

.overlaybis {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Voile noir opaque */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Assure que le cadre est au-dessus de tout */
}

.overlay_contact {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Voile noir opaque */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Assure que le cadre est au-dessus de tout */
}

.center-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px; /* Ajoute des coins arrondis à l'image */
}

/* CORPS PRESENTATION */
.overlay_presentation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(9, 156, 172); /* Voile noir opaque */
    display: block;

    z-index: 1; /* Assure que le cadre est au-dessus de tout */
    overflow-y: scroll;
    display: none;
}

.parag {
    text-indent: 3em each-line;
}

.features {
    margin-top: 0px;
    padding: 20px;
}

.features .feature {
    margin-bottom: 20px;
}

.features h3 {
    color: #ffffff;
}


/***************************/
/*   CADRES PRECOMMANDES   */
/***************************/

.preco {
    position : fixed;
    width: 100%;
    height: 100%;
    padding: 10px;
    padding-left: 20px;
    color : white;
    background-color: #099cac;
    text-align: left;
    border-radius: 20px;
    box-shadow: 2px 4px 8px black;
    top : 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10002;
    display: block;
}

.preco h2 {
    text-align: center;
    margin-bottom: 20px;
}

iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    overflow: hidden;
    scrollbar-width: none;
    box-shadow: 2px 4px 8px black;
    max-width: 90%; /* Réduit la taille sur petits écrans */
    margin: 0 auto;
}

.teaser {
    display: none;
    width: 80%;
    height: 80%;
    background-color: #820564;
    position : fixed;
    padding: 10px;
    padding-left: 20px;
    color : white;
    text-align: left;
    border-radius: 20px;
    box-shadow: 2px 4px 8px black;
    top : 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.button-group {
    display: flex;
    justify-content: space-around; /* Espace uniformément les boutons */
    align-items: center; /* Centre verticalement les boutons dans la zone */
    width: 100%; /* La zone parent occupe toute la largeur disponible */
    padding: 10px;
    width: 95%;
}

.form-group {
    flex-direction: column;
    align-items: flex-start;
    font-size: 18px;
    padding-left: 10px;
}

label {
    text-align: left;
    margin-right: 0;
    margin-bottom: 10px;
}

input {
    width: 90%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 18px;
}

select {
    width: 93%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 18px;
}

.text {
    text-align: justify;
    margin: 10px;
    font-size: 18px;
}

button[type="submit"] {
    grid-column: 1 / -1; /* Le bouton prend toute la largeur des deux colonnes */
    padding: 10px;
    background-color: #a80698;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    width: 40%;
}

button[type="submit"]:hover {
    background-color: #C826B8;
}


iframe {
    position: absolute;
    width: 410px; 
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-y: none;
}


/***************************/
/*      FOOTER STYLES      */
/***************************/
footer {
    width: 100%; /* Ajouté pour garantir que le footer prenne toute la largeur */
    font-size: 14px;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    clear: both; /* Assure que le footer reste en bas */
    box-sizing: border-box; /* Pour que le padding n'affecte pas la largeur */
    flex-shrink: 0; /* Empêche le footer d'être écrasé */
}




