:root {
   
    --masterfont : 'Poppins', sans-serif;
    --h1-font-size : 2.5rem;
    --h2-font-size : 1.7rem;
    --h3-font-size : 1.2rem;
    --h4-font-size : 1.1rem;

}

body {
    font-family: var(--masterfont);
    padding: 0;
    margin: 0;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

h1 {
    font-size: var(--h1-font-size);
}

h2 {
    font-size: var(--h2-font-size);
}

h3 {
    font-size: var(--h3-font-size);

}

h4 {
    font-size: var(--h4-font-size);
}

p {
    margin: 5px 2px 5px 2px;
}
/* Empêcher le débordement horizontal */
html{
    width: 100%;
    box-sizing: border-box;
}

a { 
    text-decoration: none;
    color: #ffffff;
}
/* Conteneur pour la gestion du fond */
.background_wrapper {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Image de fond par défaut */
.background_img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: filter 0.5s ease, transform 0.5s ease; /* Pour 
    une transition douce */
}

/* Image floutée et agrandie */
.background_img.blurred {
    filter: blur(45px); /* Niveau de flou */
    transform: scale(1.1); /* Agrandit légèrement pour éviter les bordures visibles */
}

/* Overlay sombre pour les autres pages */
.background_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Couleur sombre semi-transparente */
    pointer-events: none; /* Empêche l'interaction avec l'overlay */
}

.gradient_overlay_bottom{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1)); /* Dégradé noir vers transparent */
    z-index: 1; /* Superposé sur l'image */
    pointer-events: none; /* Le dégradé ne bloque pas les interactions */
}

.gradient_overlay_top{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)); /* Dégradé noir vers transparent */
    z-index: 1; /* Superposé sur l'image */
    pointer-events: none; /* Le dégradé ne bloque pas les interactions */
}

.top_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0; /* Fixe la position collante en haut */
    height: 80px;
    background-color: black; /* Couleur de fond de la navbar */
    width: 100%;
    z-index: 100; /* Place la navbar au-dessus des autres éléments */
    margin: 0; /* Supprime tout espacement externe */
    box-shadow: 2px 2px 45px rgba(0, 0, 0, 0.7); /* Ajoute une ombre pour la profondeur */
}

.top_nav_mobile {
    display: none;
}

.top_nav_buttons {
    width: 70%;
    display: flex; /* Par défaut, visible sur les grands écrans */
    justify-content: space-around;
}

.top_nav_buttons ul {
    display: flex;
    justify-content: space-between; /* Centre les boutons horizontalement */
    list-style-type: none; /* Supprime les puces des éléments de liste */
    align-items: center;
    margin: 0;
    padding: 0;

}

.hamburger {
    display: none; /* Par défaut, il n'est visible que sur mobile */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}


.top_nav_buttons ul li {
    margin: 0 10px;
}

.top_nav_buttons ul a {
    text-decoration: none;
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;

}

img.logostdo {
    width: 85px;
    height: auto;
    margin: 0 28px;
    color: white;
}

img.logoff {
    width: 60px;
    height: auto;
    margin: 0 34px 0 35px;  
}

.top_nav_buttons a.active {
    color: #ffffff;
    text-decoration: none;
    color: rgb(240, 240, 240);
    position: relative;
    padding-bottom: 5px;
    border-bottom: white 1px solid;
}

.main {
    position: relative;
    color: white;
    top: 15px;
    z-index: 2;
    width: 85vw;
    height: 90%;
    padding: 15px 20px 50px 20px;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    width: 90vw;
    max-width: 100%;
    height: auto;
    margin-bottom: 100px;
    margin-top: 30px;
    text-align: center;

}

.homepageinfo {
    width: 80%;
    max-width: 600px;
    height: 0px; /* adapte selon le contenu */
    margin: auto; /* auto sur les 4 côtés */
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.h1_home {
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: 50px;
    font-weight: 900;
    text-align: center;
    text-shadow: 2px 2px 30px rgba(0, 0, 0, 0.6); /* Ombre noire avec un peu de flou */
}


.main h1 {

    padding-bottom: 0;
    margin-bottom: 40px;
    margin-top: 40px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    /* text-shadow: 2px 2px 45px rgba(0, 0, 0, 0.7); */
}
.main .h2_home {
    font-weight: 300;
    margin-top: 3px;
    text-shadow: 2px 2px 30px rgba(0, 0, 0, 0.8); /* Ombre noire avec un peu de flou */
    
}

.back-button, .tickets-button {
    display: inline-block;
    padding: 7px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Contour semi-transparent */
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
    color: white;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    backdrop-filter: blur(8px); /* Effet de flou pour le fond */
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3); /* Fond plus clair au survol */
    border-color: rgba(255, 255, 255, 0.8); /* Accentue le contour */
    transform: scale(1.05); /* Effet d'agrandissement */
}

.back-button{
    position:absolute;
    left : 130px;
    top:15px;
}
.ici {
    text-transform: none;
    font-weight: 500;
    color: white;
}
.text_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 400px;
    width: 65%;
    justify-content: center;
    text-align: center;
}

.text_content ul {
    list-style-type: disc; /* Définit le type de bullet point */
    list-style-position: inside; /* Place les bullet points à l'intérieur du conteneur */
    padding: 0; /* Supprime le padding par défaut */
    margin: 20px 0; /* Ajoute un espace vertical autour de la liste */
    color: rgba(255, 255, 255, 0.9); /* Couleur claire pour les bullet points et le texte */
    font-size: 1rem; /* Taille du texte */
    font-family: 'Poppins', sans-serif; /* Utilise une police cohérente */
    line-height: 1.5; /* Espace entre les lignes */
    text-align: left;
    width: 70%;
}

.groupes_confirmation {
    text-decoration: none;
    list-style-position: none;
    list-style-type: none;
}

.text_content ul li {
    margin-bottom: 10px; /* Ajoute un espace entre les éléments */
    list-style-position: none;
    list-style-type: disc;
}

.follow_button {
    display: flex;
    justify-content: center; /* Centre le bouton dans son conteneur */
    align-items: center;
    margin-top: 20px; /* Espacement au besoin */
    position: relative;
    margin-top: 30px;

}


.arrows {
    position: absolute; /* Place les flèches par rapport au conteneur */
    top: 0;
    left: 0;
    width: 100%; /* S'étend sur toute la largeur du conteneur */
    height: 100%; /* S'étend sur toute la hauteur du conteneur */
    display: flex;
    justify-content: space-between; /* Flèche gauche et droite aux extrémités */
    align-items: center; /* Centre les flèches verticalement */
    pointer-events: none; /* Empêche l'interaction avec le conteneur des flèches */
}

.frost_button {
    display: flex; /* Utilise flexbox pour empiler les enfants */
    flex-direction: column; /* Empile les éléments verticalement */
    align-items: center; /* Centre le texte et l'image horizontalement */
    justify-content: center;
    padding: 25px 35px; /* Ajoute de l'espace intérieur */
    border: 1px solid rgb(255, 255, 255); /* Contour semi-transparent */
    border-radius: 12px; /* Angles arrondis */
    background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
    color: white; /* Texte en blanc */
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 2px 45px rgba(0, 0, 0, 0.7);
    text-decoration: none; /* Supprime le soulignement du lien */
    backdrop-filter: blur(8px); /* Effet de flou de l'arrière-plan */
    -webkit-backdrop-filter: blur(10px); /* Compatibilité avec Safari */
    transition: all 0.3s ease-in-out; /* Animation fluide pour les interactions */
    cursor: pointer;
    text-align: center;
}

.frost_button:hover {
    background: rgba(255, 255, 255, 0.3); /* Fond légèrement plus clair au survol */
    border-color: rgba(255, 255, 255, 0.8); /* Accentue le contour au survol */
    transform: scale(1.05); /* Agrandit légèrement le bouton au survol */
}

.frost_button span {
    display: block; /* Force le texte à occuper une ligne séparée */
    color: white; /* Texte en blanc */
    margin-bottom: 10px; /* Ajoute un espace entre le texte et l'image */
}

.frost_button img {
    width: 24px; /* Taille de l'icône */
    height: 24px; /* Ajustez selon vos besoins */
    color: white;
    transform: rotate(90);
    transform-origin: center;
    display: block;
    filter: invert(100%);
}
/* Conteneur global pour le formulaire */
.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%; /* Ajustez si nécessaire */
    margin: 20px auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Contour semi-transparent */
    border-radius: 12px; /* Angles arrondis */
    background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
    backdrop-filter: blur(8px); /* Effet de flou de l'arrière-plan */
    -webkit-backdrop-filter: blur(10px); /* Compatibilité avec Safari */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); /* Ajoute une ombre légère */
    color: white;
    overflow: hidden;
}

.form_achat_tickets {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.horizontale {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 518px;
}
.tickets-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 50%; /* Ajustez si nécessaire */
    min-width: 540px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Contour semi-transparent */
    border-radius: 12px; /* Angles arrondis */
    background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
    backdrop-filter: blur(8px); /* Effet de flou de l'arrière-plan */
    -webkit-backdrop-filter: blur(10px); /* Compatibilité avec Safari */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); /* Ajoute une ombre légère */
    color: white;
    overflow: hidden;
    
}

.ouinon {
    width: 150px;
    height: 25px;
    display: flex;
    flex-direction: row;
}

.form-group .hint { display:block; font-size:.9em; opacity:.8; }

#file {
    width: 50%;
    text-align: center;
}




.dualscreen {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 750px;
    justify-content: space-evenly;
    gap: 20px;
    width: 65%;
    margin-bottom: 6%;
    margin-top: 2%;
}

#project-form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre les enfants horizontalement */
    justify-content: center; /* Centre les enfants verticalement */
    width: 100%; /* S'adapte au conteneur parent */
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    font-weight: bold;
    color: #007BFF; /* Couleur bleue pour l’icône */
    margin-left: 5px;
}

.tooltip-text {
    visibility: hidden;
    width: 300px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 8px;
    position: absolute;
    bottom: 125%; /* Place la boîte au-dessus */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-size: 14px;
    white-space: nowrap;
    text-wrap: auto;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.questionmark {
    width: 20px;
    height: auto;
    align-items: center;
    justify-items: center;
    position: relative;
    top: 5px;
    display: inline;

}

input #oui, input #non {
    display: inline;
}

input {
    padding: 10px;
}

/* Groupe de formulaire */
.form-group {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre horizontalement les labels et inputs */
    justify-content: center;
    margin: 20px auto; /* Centre les groupes de formulaire par rapport au conteneur global */
    width: 100%; /* Ajuste la largeur pour s'adapter */
    max-width: 500px; /* Limite la largeur maximale des éléments */
    text-align: center; /* Centre le texte des labels */
}


/* Style des labels */
.form-group label {
    font-size: 1rem;
    margin-bottom: 10px; /* Ajoute un espacement entre la question et le champ */
    font-family: 'Poppins', sans-serif;
    text-align: center;
    color: white; /* Couleur du texte */
}

form-group_ticket {
    display: flex;
    flex-direction: column; /* Dispose les questions et les champs en colonne */
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    width: 20%; /* Ajuste la largeur des groupes */
    text-align: center; /* Centre le texte */
}
/* Style des champs de saisie */
.form-group input,
.form-group textarea {
    width: 80%; /* Prend toute la largeur disponible */
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Contour semi-transparent */
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2); /* Fond semi-transparent */
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    text-align: left; /* Centre le texte à l'intérieur */
}

#quantity {
    width: 39px;
    height: 20px;
    padding: 15px;
    text-align: center;
}
/* Champs focus */
.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.3); /* Fond plus clair au focus */
    border-color: rgba(255, 255, 255, 0.8); /* Contour plus visible au focus */
}

/* Style du conteneur du formulaire */
#inscription-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5); 
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    color: white;
}

/* Style des labels */
#inscription-form label {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    /* text-align: center; */
    color: white;
}

/* Champs de saisie */
#inscription-form input {
    width: 20%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    text-align: left;
}

#inscription-form input:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

#inscription-form h3{
    margin-bottom: 30px;
    margin-top: 50px;
    font-size: var(--h3-font-size);
}

/* Tableau des groupes */
.grid-container {
    width: 90%;
    overflow-x: auto;
    margin-top: 20px;
}

.grid-container table {
    width: 100%;
    border-collapse: collapse;
}

.grid-container th, .grid-container td {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.grid-container th {
    background: rgba(255, 255, 255, 0.2);
}

/* Cases à cocher */
#inscription-form input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 5px;
}

/* Bouton de soumission */
#inscription-form button {
    display: inline-block;
    padding: 12px 30px;
    margin-top: 60px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#inscription-form button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Responsive */
@media only screen and (max-width: 768px) {
    #inscription-form {
        width: 95%;
    }

    .grid-container {
        overflow-x: scroll;
    }

    .grid-container table {
        font-size: 0.9rem;
    }
}

/* Bouton Soumettre */
.submit {
    display: flex;
    justify-content: center; /* Centre le bouton dans son conteneur */
    width: 100%; /* Prend toute la largeur disponible */
    margin-top: 40px;
}

.submit button {
    padding: 10px 30px;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Contour semi-transparent */
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2); /* Fond semi-transparent */
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit button:hover {
    background: rgba(255, 255, 255, 0.3); /* Fond plus clair au survol */
    transform: scale(1.05); /* Effet de zoom léger au survol */
}

/* Bouton de soumission */
.frost_button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    font-size: 1.2rem;
    cursor: pointer;
}

.submit .frost_button {
    margin-bottom: 50px;
}


.places_restantes {
    font-size: 14px;
    font-weight: 200;
    margin-top: 0;
}


.carousel {
    
    display: flex; /* Place les événements horizontalement */
    gap: 15px; /* Espacement entre les événements */
    transition: transform 0.5s ease-in-out; /* Animation fluide pour le déplacement */
    width: auto; /* La largeur du carrousel s'adapte au contenu */
    align-items: center; /* Centre les événements verticalement */
}


.event, .ticket_container{
    
    width: 50%;
    min-height: 200px;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Contour semi-transparent */
    border-radius: 12px; /* Angles arrondis */
    background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
    text-align: center; /* Centre le texte à l'intérieur */
    padding: 25px 40px 25px 40px; /* Espacement intérieur */
    color: white; /* Couleur du texte */
    font-size: 1rem; /* Taille du texte */
    backdrop-filter: blur(10px); /* Effet de flou en arrière-plan */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Transition fluide */
}

.tickets_container_jour, .tickets_container_places {
    /* width: 100px; */
    height: auto;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Contour semi-transparent */
    border-radius: 18px; /* Angles arrondis */
    background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
    text-align: center; /* Centre le texte à l'intérieur */
    padding: 5px 10px; /* Espacement intérieur */
    margin: 10px auto   ;
    color: white; /* Couleur du texte */
    font-size: 1rem; /* Taille du texte */
    backdrop-filter: blur(10px); /* Effet de flou en arrière-plan */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Transition fluide */
}

.frost_frame {
    width: 50%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Contour semi-transparent */
    border-radius: 12px; /* Angles arrondis */
    background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
    text-align: center; /* Centre le texte à l'intérieur */
    padding: 10px 20px; /* Espacement intérieur */
    color: white; /* Couleur du texte */
    font-size: 1rem; /* Taille du texte */
    backdrop-filter: blur(10px); /* Effet de flou en arrière-plan */

}

.frost_frame_wide {
    /* width: 60%; */
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Contour semi-transparent */
    border-radius: 12px; /* Angles arrondis */
    background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
    text-align: center; /* Centre le texte à l'intérieur */
    padding: 20px 40px; /* Espacement intérieur */
    color: white; /* Couleur du texte */
    font-size: 1rem; /* Taille du texte */
    backdrop-filter: blur(10px); /* Effet de flou en arrière-plan */

}

.display_event {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 100px;
    width: 80%;
}

.smalltext {
    font-size: 12px;
    font-weight: 200;
    margin: 10px auto;
    width: 85%;
}
.inscriptions {
    color-scheme : frost_button;
    margin: 15px auto;
    text-decoration: none;
    color: white;
    display: inline-block;
    padding: 7px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Contour semi-transparent */
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
    font-size: 1rem;
    opacity: 100%;
    text-align: center;
    backdrop-filter: blur(8px); /* Effet de flou pour le fond */
    transition: all 0.3s ease;
    /* cursor: pointer; */
}

.img_event {
    width: 40%;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: 20px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;

}

.textagauche {
    text-align: left;
    width: 50%;
}

.modal {
    display: none; /* Caché par défaut */
    position: fixed;
    z-index: 1000;
    padding: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.textcabaret {
    text-align: center;
}
.text_event {
    width: 60%;
    height: auto;
    margin : 0 auto;
    font-size: 1rem;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

.text_event h1 {

    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

.event p {
    padding: 10px 20px;
}
.text_event p {
    text-align: center; /* Centre les paragraphes */
    line-height: 1.5; /* Améliore la lisibilité */
    }

.carousel-btn {
    position: absolute;
    top: 50%; /* Centre verticalement */
    transform: translateY(-50%); /* Ajuste le centrage parfait */
    background-color: rgba(0, 0, 0, 0.6); /* Fond semi-transparent */
    color: white; /* Couleur du texte des flèches */
    border: none; /* Pas de bordure */
    border-radius: 50%; /* Forme circulaire */
    padding: 15px; /* Taille des boutons */
    cursor: pointer; /* Ajoute un curseur pointeur */
    z-index: 2; /* S'assure que les flèches sont au-dessus du carrousel */
    pointer-events: auto; /* Réactive l'interaction */
}


.events_container {
    display: flex;
    gap: 20px;
    flex-direction: column; /* Aligne les éléments verticalement */
    justify-content: center; /* Centre les événements horizontalement */
    margin: 50px auto; /* Centre le conteneur horizontalement avec un margin auto */
    text-align: center;
    align-items: center;
    width: 65%; 
    padding: 0 15px; /* Ajoute un espacement intérieur */
    box-sizing: border-box; /* Inclut le padding dans les dimensions totales */

}

.left-btn {
    left: 10px; /* Positionne à gauche */
}

.right-btn {
    right: 10px; /* Positionne à droite */
}

.confirmation_boutons{
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 20px;
}

.disclaimer{
    width: 60%;
    font-weight: bold;
    text-align: left;
    line-height: 1.6;
    
}

.disclaimer ul{
    width: 90%;
    padding-left: 0;
}

/* Lien d'informations */
.event_info, .home_button, .new_inscription{
    display: inline-block;
    margin: 20px 0;
    width: 30%;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.signup {
     display: inline-block;
    margin: 20px 0;
    width: 100px;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.event_info:hover, .home_button:hover, .new_inscription:hover {
    background: rgba(255, 255, 255, 0.4); /* Fond plus lumineux au survol */
    transform: scale(1.05);
}

.event_info_gris {

    opacity: 30%;
    display: inline-block;
    margin: 20px 0;
    width: 30%;
    cursor: default;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;

}
.event p {
    display: inline-block;
    margin-top: 0;
}

.event h2 {
    margin-bottom: 5px;
    text-transform: uppercase;
}
.event h3 {
    margin-bottom: 30px;
    margin-top: 0;
    font-size: var(--h3-font-size);
    font-weight: 200;

}
.event h4 {
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 400;
}


.accent_maj {
    text-transform: uppercase;
}

.form_button {

    /* color-scheme : frost_button; */
    margin: 50px auto;

}

.form_button_faded {

    /* color-scheme : frost_button; */
    margin: 50px auto;
    opacity: 50%;

}

.joinus {
    color-scheme: frost_button;
    margin: 50px auto;

}

.email-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    margin: auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.email-form label {
    font-family: 'Poppins', sans-serif;
    color: white;
    width: 70%;
}

#down_text{
    text-align: center;
    margin-top: 100px;
}

.email-form input,
.email-form textarea {
    width: 70%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-family: 'Poppins', sans-serif;
}

.email-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.email-form button:hover {
    background: rgba(255, 255, 255, 0.5);
}


footer {
    position: fixed; /* Fixe le footer en bas de la page */
    bottom: 0; /* Place le footer au bas de la fenêtre */
    width: 100%; /* Prend toute la largeur de la page */
    text-align: right; /* Centre le contenu horizontalement */
    padding: 10px 0; /* Ajoute de l'espace en haut et en bas */
    z-index: 5; /* Assure qu'il reste au-dessus des autres éléments */
}

.socials {
    display: inline-flex; /* Affiche les logos côte à côte */
    right: 30px;
    justify-content: right; /* Centre les éléments horizontalement */
    align-items: right; /* Centre les éléments verticalement */
    gap: 15px; /* Ajoute de l'espace entre les logos */
    margin-right: 30px;
}

.socials a img {
    width: 24px; /* Réduit la taille des logos */
    height: 24px; /* Assure une taille uniforme */
    filter: brightness(0) invert(1); /* Rends les logos blancs sur fond noir */
    transition: transform 0.3s ease; /* Ajoute une animation au survol */
}

.socials a img:hover {
    transform: scale(1.2); /* Agrandit légèrement le logo au survol */
}

.tickets-button{
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

/* 
.carousel-container {
 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
    margin: 80px auto;
    width: 90%;
    overflow: hidden;
    height: 200px;

    -webkit-mask: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
    mask: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
    
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
}  */



/* iPhone X, iPhone 11, iPhone 12, iPhone 13, 14 (écrans plus grands, largeur max 430px) */
@media only screen and (max-width: 430px) {
    body {
        font-size: 16px; /* Taille de texte légèrement plus grande */
        width: 100vw;
        margin: 0; /* Supprime les marges par défaut */
        padding: 0; /* Supprime les paddings par défaut */
        box-sizing: border-box; /* Inclut les bordures et le padding dans la largeur totale */
        overflow-x: hidden; /* Empêche tout débordement horizontal */
        }
    
    h1 {
        font-size: 27px;
    }
    h2 {
        font-size: calc(var(--h2-font-size)-0.3rem);
    }
    h3 {
        font-size: calc(var(--h3-font-size)-0.3rem);
    }

    .background_img {
        height: 100vh;
    }
    .background_wrapper {
        top:30px;
    }

    .gradient_overlay_top{
        top : 20px
    }


    .hamburger {
        display: flex; /* Affiche le hamburger */
    }
    .top_nav_mobile {
        display:inline-block;
    }
    .top_nav_buttons {
        display: none; /* Cache le menu par défaut */
        position: absolute;
        top: 70px;
        left: 0;
        background-color: black;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        transition: max-height 0.3s ease;
    }

    .top_nav_buttons ul {
        flex-direction: column; /* Empile les liens verticalement */
    }

    .top_nav_buttons ul li {
        margin: 10px 0;
    }

    /* Affiche le menu lorsque la classe active est ajoutée */
    .top_nav_buttons.active {
        display: flex;
    }



    /* Animation du hamburger */
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0; /* Cache la barre du milieu */
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .main h1 {

        margin-top: 70px;
        padding: 0 25px 0 25px ;
        width: auto;
    }

    .main .h1_home {
        font-size : 1.5rem;
        margin-top: 10px;
    }


    .top_nav {
        height: 70px; /* Ajuste la hauteur de la navbar */
    }

    .top_nav_buttons {
        display: none;
    }

    img.logostdo {
        width: 50px;
        margin: 0 10px;
    }

    img.logoff {
        width: 30px; /* Réduit les logos pour s'adapter */
        margin: 0 20px;
        color : white;
    }

    .main {
        
        padding: 15px; /* Réduit le padding global */
        width: 90%;
        margin : 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content:center;
    }
    .text_content {
        width: 100%;
        padding: 0 20px 100px 20px;
        box-sizing: border-box;
        min-width: auto; /* Supprime la contrainte de largeur minimale */
    }

    .text_content ul {
        width: 90%;
    }
    .event {
        width: 100%; /* Rends les conteneurs adaptatifs */
        padding: 20px 0px; /* Réduit les marges internes */
    }

    #jour.tickets_container_jour {
        width: 40%;
        max-width: 300px; /* pour éviter qu'il s'étale trop */
        padding: 8px;
        background-color: rgba(255, 255, 255, 0.1);
        color: #000000;
        height: 45px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
        text-align: center;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        cursor: pointer;
        background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'><polygon points='0,0 140,0 70,70' fill='%23333'/></svg>");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 12px;
    }

    #quantite.tickets_container_places {
        width: 20%;
        max-width: 300px; /* pour éviter qu'il s'étale trop */
        padding: 8px;
        background-color: rgba(255, 255, 255, 0.1);
        color: #000000;
        height: 45px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
        text-align: center;
        /* appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none; */
        cursor: pointer;
        background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'><polygon points='0,0 140,0 70,70' fill='%23333'/></svg>");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 12px;
    }


    .text_event p {
        margin : 0 auto
    }
    .event h2 {
        font-size: 18px;
    }
    .event h3 {
        font-size: 14px;
    }
    .event h4 {
        font-size: 12px;
    }

    .email-form {
        width: 90%; /* Rends les conteneurs adaptatifs */
        padding: 15px; /* Réduit les marges internes */
    }

    .disclaimer{
        width: 90%;
    
    }

    .tickets-container {
        width: 80%;
        display: flex;
        flex-direction: column;
        min-width: 90%;
    }

    .horizontale{
        display: initial;
    }

    .dualscreen{
        flex-direction: column;
        width:95%;
        min-width: 200px;
        line-height: 1.3rem;
        gap: 10px;
        margin-bottom: 3%;
    }

    .events_container {
        display: flex;
        flex-direction: column;
        width: 90%;
        padding: 0px 0px 140px 0px;
        margin-top: 10px;
    }

    .event_info {
        width: auto;
    }
    .form-group input,
    .form-group textarea {
        padding: 10px; /* Réduit le padding des champs */
        font-size: 0.9rem; /* Ajuste la taille du texte */
    }

    .form-group {
        width: 95%;
    }

    .horizontale .form-group {
        width: 55%;
    }
    .form-container {
        text-align: center;
    }

    #project-form {
        width: 90%;
    }
    .img_event{
        width: 95%;
        height: auto;
        margin: 0 auto;
        align-items: center;
        box-sizing: border-box;
        margin-bottom: 30px;
    }

    .text_event {
        padding-bottom: 10px;
        text-align: center;
        width: 90%;
    }

    .text_event h1 {
        text-align: center;
    }

    .frost_frame_wide {
        width: 85%;
    }


    .display_event {
        
        margin : 10px auto;
        padding-bottom: 10px;
        width: 100%;
        
    }

    .tickets-container .frost_button {
        display: flex; /* Utilise flexbox pour empiler les enfants */
        flex-direction: column; /* Empile les éléments verticalement */
        align-items: center; /* Centre le texte et l'image horizontalement */
        justify-content: center;
        padding: 25px 35px; /* Ajoute de l'espace intérieur */
        border: 1px solid rgb(255, 255, 255); /* Contour semi-transparent */
        border-radius: 12px; /* Angles arrondis */
        background: rgb(109, 109, 109); /* Fond semi-transparent */
        color: white; /* Texte en blanc */
        font-size: 1.2rem;
        font-family: 'Poppins', sans-serif;
        text-shadow: 2px 2px 45px rgba(0, 0, 0, 0.7);
        text-decoration: none; /* Supprime le soulignement du lien */
        backdrop-filter: blur(8px); /* Effet de flou de l'arrière-plan */
        -webkit-backdrop-filter: blur(10px); /* Compatibilité avec Safari */
        transition: all 0.3s ease-in-out; /* Animation fluide pour les interactions */
        cursor: pointer;
        text-align: center;
    }

    .inscriptions {
        margin: 40px auto;
        display: inline-block;
    }
    /* Adapter le formulaire pour les petits écrans */
    #inscription-form {
        width: 90%;
        padding: 15px;
    }

    .textagauche {
    text-align: center;
    width: 90%;
}

    #inscription-form button{
        width: 70%;
    }
    #inscription-form input {
        width: 70%;
    }

    /* Modifier l'affichage du tableau */
    .grid-container table {
        display: block;
        width: 100%;
        overflow-x: auto;
        border-collapse: collapse;
    }

    .grid-container thead {
        display: none; /* Cacher l'en-tête du tableau sur mobile */
    }

    .grid-container tbody {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .grid-container tr {
        display: flex;
        flex-direction: column;
        border: 1px solid rgba(255, 255, 255, 0.5);
        margin-bottom: 25px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.1);
    }

    .grid-container td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .grid-container td:last-child {
        border-bottom: none;
    }

    /* Adapter les cases de sélection */
    .grid-container label {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    /* Ajustement des descriptions */
    .description {
        font-size: 0.9rem;
        margin-bottom: 5px;
        color: rgba(255, 255, 255, 0.8);
    }

    /* Boutons de soumission */
    #inscription-form button {
        width: 100%;
        padding: 12px;
        font-size: 1.1rem;
    }

    
    .back-button {
        margin-bottom: 25px;
        position:absolute;
        left : 10px;
        top : 18px;
        padding: 3px 10px; /* Réduit le padding dans les boutons */
        font-size: 1rem;

    }
}}