* {
    box-sizing: border-box;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
 html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: #2d2d64;
    overflow-x: hidden;
    letter-spacing: 2px;
    
}
img, video{
    width: 100%;
    border: 2px solid #0ff;
    border-radius: 5px;
    box-shadow: 0 0 10px #0ff;
    
     
}
 
iframe {
    align-items: center;
    width: 80%;
    display: flex;
    justify-self: center;
    border-radius: 15px;
    box-shadow: 0 0 15px #0ff, 0 0 30px #0ff, 0 0 45px #0ff; /* Effet néon */
    
}
h1 {
    text-transform: uppercase;
    font-size: 2.5rem;
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
    font-family: 'Bangers', sans-serif;
}
h2 {
 
    font-size: 2em;
    text-align: center;
}
h3 {
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
    color: white;
    text-align: center;
    font-family: 'Bangers', sans-serif;
    font-size: 3rem;
    
}
main {
    padding: 30px;
}

strong{
    text-decoration: underline;
    text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4;
}
p{
    color: white;
    font-family: "Lora", serif;
    font-size: clamp(12px, 2vw, 24px); /* Ajuste la taille de police */
    
}
ul {
    text-align: justify;
    font-family: 'Bangers', sans-serif;
}
label{
    text-align: center;
    display: block;
    font-size: 1.2rem;
    margin-top: 10px;
    text-shadow: 0 0 5px #0ff;
}
input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background: black;
    border: 1px solid #0ff;
    color: #0ff;
    font-size: 1rem;
    border-radius: 5px;
    outline: none;
    box-shadow: 0 0 10px #0ff inset;
}
ul {
    color: white;
    font-size: 20px;   
    text-align: center; 
}
/* HEADER */
header {
    background: linear-gradient(90deg, #1b1b2f, #6f00ff, #ff007f);
 
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    
}

/* General Navigation */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    width: 100%;
}

.navbar ul li {
    margin: 0 20px;
    position: relative; /* Important pour le dropdown */
}

/* Styling links inside the navbar */
.navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    letter-spacing: 2px;
    position: relative;
    padding: 5px 10px;
    transition: color 0.3s ease;
    text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4;
}

.navbar ul li a:hover {
    color: #00f5d4;
    background-color: #007bff;
    border-radius: 5px;
}

/* Underline animation on hover */
.navbar ul li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.navbar ul li a:hover::before {
    width: 100%;
}

/* Menu toggle for mobile view */
.menu-toggle {
    display: none; /* Hide by default, will show in mobile */
}

.navbar-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #007bff;
}

/* Adjusting nav-link size on different screen sizes */
.navbar-nav .nav-link {
    font-size: clamp(12px, 2vw, 18px);
    white-space: nowrap; /* Prevent text cutting */
    margin-bottom: 10px;
    display: block;
}

.nav-link:hover {
    color: #fff;
}
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4;
    color: white;
}

/* Dropdown - Menu déroulant */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1b1b2f; /* Couleur de fond de la liste déroulante */
    min-width: 160px;
    z-index: 1;
    border-radius: 5px; /* Coins arrondis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Ombre douce pour donner un effet flottant */
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    color: white;
    font-size: 1rem;
    text-decoration: none;
     
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #ff007f; /* Survol des éléments avec une couleur rose */
    color: #00f5d4;
}

/* Affichage au survol */
.dropdown:hover .dropdown-content {
    display: block;
} 
/* Effet du bouton Admin */
.dropdown:hover .dropbtn {
    color: #00f5d4; /* Changer la couleur du texte de Admin lors du survol */
    text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4; /* Ajouter un effet lumineux */
}
/* Option de style pour le bouton Admin */
.dropbtn {
    cursor: pointer;
}

/* HOME */
 
#hero {
    text-align: center;
    padding: 50px;
    background: #2d2d64;
}
.hero-video video {
    width: 50%;
    max-height: 500px;
    border-radius: 30px;
    display: block; /* Supprime les marges internes */
    width: 100%; /* Assure que la vidéo prend bien toute la place */
    height: auto; /* Garde les proportions */
    border: 3px solid #0ff;
    box-shadow: 0 0 15px #0ff, 0 0 30px #0ff, 0 0 45px #0ff; /* Effet néon */
    object-fit: cover;
}
.event-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin: 40px 0;
    position: relative;
    text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4;
}

.left-text, .right-text {
    font-size: clamp(1rem, 3vw, 2rem);
    text-align: center;
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

/* Entrée de la droite + rotation -20° */
.left-text {
    animation-name: slideInFromRight;
    animation-delay: 0.6s;
}

/* Entrée de la gauche + rotation +20° */
.right-text {
    animation-name: slideInFromLeft;
    animation-delay: 0.6s;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%) rotate(-20deg);
        opacity: 0;
    }
    100% {
        transform: translateX(0) rotate(-20deg);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%) rotate(20deg);
        opacity: 0;
    }
    100% {
        transform: translateX(0) rotate(20deg);
        opacity: 1;
    }
}

.manga {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2%;
    display: block;
}
.bycosmo {
    position: relative;
    padding-left: 85%;
    bottom: 120px;
    text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4;
    font-weight: bolder;
}
.tombola{
    width:40%;
    border: none;
    box-shadow: none;
    display: flex;
    justify-self: center;
    margin-bottom: 2%;
}
 
.cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    background: rgb(35, 35, 82);
    border-radius: 15px;
    width: 100%;
    margin: 0 auto;
    
    /* Initialement caché et à droite */
    opacity: 0;
    transform: translateX(-100%); /* Départ à droite */
    transition: transform 2s ease, opacity 2s ease;
}

/* Quand visible dans la fenêtre */
.cards-container.visible {
    opacity: 1;
    transform: translateX(0); /* Arrive à sa position normale */
}
.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 220px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.6s ease;
}
.card h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    transform: rotate(-10deg);
}
.card:hover {
    background-color: rgb(103, 57, 230);
    transform: scale(1.1); /* Agrandit l'élément lors du survol */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

}

.card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 10px;
}

.card li {
    margin-bottom: 10px;
    color: #333;
    font-size: 0.95rem;
}
.price {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: black;
    text-align: center;
}
.h3-compte {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}
.countdown-container {
    display: flex;
    flex-wrap: wrap; /* Ajouté pour forcer le retour à la ligne sur petits écrans */
    justify-content: center;
    gap: 20px;
    font-size: 1.5em;
    margin-top: 20px;
    background: linear-gradient(90deg, #1b1b2f, #6f00ff, #ff007f);
    padding: 20px;
    border-radius: 8px;
    max-width: 700px; /* Ajouté pour limiter la largeur */
    width: 90%; /* 90% du parent sur mobile */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    /* Initialement caché et à droite */
    opacity: 1;
    transform: none; /* Départ à droite */
    transition: transform 2s ease, opacity 2s ease;
}

/* Quand visible dans la fenêtre */
.countdown-container.visible {
    opacity: 1;
    transform: translateX(0); /* Arrive à sa position normale */
}
.compte-element {
    flex: 1 1 100px; /* Permet de s'adapter dynamiquement */
    padding: 20px;
    text-align: center;
    color: white;
    min-width: 80px; /* pour éviter d'être trop petit */
}
.compte-element span {
    display: block;
    font-size: 2em;
    font-weight: bold;
}
.compte-element label {
    font-size: 0.9em; 
}
/* IMAGE ANNEE PRECEDENTE */
main .imgannee img {
    width: 100%; /* Les images prendront 100% de la largeur de leur conteneur */
    margin-bottom: 20px; /* Espace entre les lignes d'images */ 
    width: 300px;
    height: 300px;
    border-radius: 10px;
}
.imgannee {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Espacer uniformément les images */
    margin: 0 auto;
    width: 90%; /* Largeur totale du conteneur */
    gap: 20px; /* Espace entre les images */
}
.imgannee > div {
    flex-basis: calc(25% - 20px); /* 25% pour 4 images par ligne, moins l'espace (gap) */
    box-sizing: border-box; /* Pour s'assurer que les marges et les bordures sont incluses dans la largeur */ 
}
.imgannee img {
    width: 150px; /* Taille des images */
    height: auto; /* Maintient le ratio d'aspect */
    cursor: pointer; /* Indique que l'image est cliquable */
}

/* MODAL*/
.modal {
    display: none; /* Cacher la modale par défaut */
    position: fixed; /* Rester en position fixe */
    z-index: 1000; /* Au-dessus de tout autre contenu */
    left: 0;
    top: 0;
    width: 100%; /* Prendre toute la largeur */
    height: 100%; /* Prendre toute la hauteur */
    background-color: rgba(0, 0, 0, 0.8); /* Fond noir transparent */
    justify-content: center; /* Centrer le contenu horizontalement */
    align-items: center; /* Centrer le contenu verticalement */
}

.modal:target {
    display: flex; /* Afficher la modale lorsque ciblée */
}

.modal-content {
    max-width: 90%; /* L'image ne dépassera pas 90% de la largeur de l'écran */
    max-height: 90vh; /* L'image ne dépassera pas 90% de la hauteur de l'écran */
    width: auto; /* Ajuste automatiquement la largeur en fonction de la hauteur */
    height: auto; /* Ajuste automatiquement la hauteur en fonction de la largeur */
    display: block;
    margin: auto;
    border-radius: 10px; /* Ajoute des bords arrondis */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Ajoute une ombre pour un effet stylé */
}
.close {
    position: absolute; /* Positionne le bouton de fermeture */
    top: 20px;
    right: 40px;
    color: white; /* Couleur du texte du bouton de fermeture */
    font-size: 30px; /* Taille du bouton de fermeture */
    font-weight: bold; /* Gras pour le bouton de fermeture */
    cursor: pointer; /* Curseur indiquant cliquable */
}
/* ACTUALITES */
.video-grid {
    display: flex;
    flex-wrap: wrap; /* Permet d'enrouler les éléments si nécessaire */
    justify-content: center; /* Centre les éléments horizontalement */
    gap: 16px; /* Optionnel, pour l'espacement entre les cartes vidéo */
    padding: 0 16px; /* Optionnel, pour un peu de marge à gauche et à droite */
}
/* Style pour chaque carte de vidéo */
.video-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center; /* Centrer la vidéo */
    text-align: center;
    width: 320px; /* Largeur fixe pour la carte */
    height: 250px; /* Hauteur fixe pour la carte */
    margin: 0 auto;
    position: relative;
}
/* Effet au survol de la carte vidéo */
.video-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Ombre plus marquée */
    transform: scale(1.05);
}

/* Style pour la vidéo MP4 et iframe YouTube */
.video-card video,
.video-card iframe {
    width: 100%;
    height: 100%; /* Remplit entièrement la carte */
    object-fit: cover; /* Garde le ratio sans déformation */
    border-radius: 8px; /* Coins arrondis pour la vidéo */
}

/* Optionnel : ajouter un fond d'écran ou une image par défaut pour les vidéos */
.video-card::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* Rapport 16:9 */
    background: grey; /* Couleur de fond par défaut */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

/*AVIS*/
.laisser{
    font-size: 2rem;
    text-decoration: underline;
    text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4;
}
.label-avis{
    text-align: center;
    display: block;
    font-size: 1.2rem;
    margin-top: 10px;
    text-shadow: 0 0 5px #0ff;
}
.stars-container {
    font-size: 30px;
    color: #ccc;
    cursor: pointer;
}

.stars-container .star.selected {
    color: #FFD700; /* Jaune pour les étoiles sélectionnées */
}

.stars-container .star:hover,
.stars-container .star.hovered {
    color: #FFD700; /* Jaune pour l'effet de survol */
}
.avis-users {
    display: flex;
    flex-direction: column;
    align-items: center;
   
 
}
.avis-user, strong{
    text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4;
    font-size: 2rem;
}
.avis-users p{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1rem;
    margin: 5px;
}
.separateur {
    width: 40%;
    margin: 20px auto;
    border: 1px solid #ccc;
}
.table-avis {
    width: 40%;
    border-collapse: separate; /* ← Important pour le border-radius */
    border-spacing: 0;         /* ← Supprime les espaces entre les cellules */
    color: white;
    font-family: 'Lora', sans-serif;
    box-shadow: 0 0 15px #00ffcc;
    border: 3px solid #00ffcc;
    border-radius: 15px;       /* ← Coins arrondis */
    overflow: hidden;          /* ← Coupe les débordements des cellules */
}

.table-avis th,
.table-avis td {
    padding: 12px 15px;
    border: 1px solid #00ffcc;
    text-align: left;
}

.table-avis th {
   background-color: #2d2d64;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: Bangers;
    font-size: 1.5rem;

}
.table-avis td{
    font-family: Lora;
}
.table-avis tr:nth-child(even) {
    background-color: #141414;
}
/* CONTACT */
.contact h3{
    font-family: 'Lora', sans-serif;
    font-size: 2rem;
}

/* COSPLAY */
.container-cosplay {
    display: flex;
    align-items: center; /* Centre verticalement les éléments */
    justify-content: space-between; /* Place les images aux extrémités */
    margin-bottom: 20px;
}

.container-cosplay img.cosplay {
    width: 20%; /* Ajuste la largeur des images selon le besoin */
    height: auto;
}
.text-content {
    text-align: center;
    width: 60%; /* Fait en sorte que le texte occupe 60% de l'espace entre les images */
    margin: 0 20px; /* Un petit espacement entre le texte et les images */
}

.text-content-qui{

    text-align: center;
    margin: 70px;
    font-size: 1rem;
    color: rgb(247, 247, 247);
     
}
.text-content li{
    padding: 3px;
    
    letter-spacing: 1px;
}
.bulletin {
    display: flex;
    text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4;
    color: white;
    text-decoration: none;
    font-size: 2rem;
    justify-content: center;
    margin-bottom: 5rem;
}

/* EXPOSANTS */
.h2-programme{

    text-align: center;
    text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4; /* Ajouter un effet lumineux */
    color: white;
    margin: 36px;
    font-family: Bangers;
}
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.card-exposants {
    width: 220px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
    background: linear-gradient(90deg, #1b1b2f, #6f00ff, #ff007f);
    position: relative;
    text-decoration: none;
 
    
}

.card-exposants:hover {
    transform: scale(1.15);
}

.card-exposants img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #f0f0f0;
    box-shadow: none;
}
.card-info {
    padding: 15px;
    color: white;
}
.card-exposants a {
    text-decoration: none;
    color: inherit; /* Conserve les couleurs du texte définies ailleurs */
}
.animation-texte{
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrage vertical */
    align-items: center;     /* Centrage horizontal */
    text-align: center;      /* Centre le texte lui-même */
    height: 100%;            /* Centre le texte lui-même */
            
}
.card-info h4{
    margin: 5px 0;
    color: white;
    font-family: "Lora", serif;
    font-size: 1.2rem;
}
.card-info p {
    margin: 5px 0;
    color: white;
    font-family: "Lora", serif;
    font-size: 0.8rem;
    
}
.btn-formulaire p{
    display: flex;
    justify-content: center;
    margin-top: 5%;
    font-family: "Bangers", serif;
    text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4;
     
}
.btn-formulaire a{
    display: flex;
    justify-self: center;
  
}
.add-btn {
    background-color:rgb(103, 57, 230);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    margin: 10px 10px;
    display: inline-block;
    box-shadow: 0 0 15px #0ff, 0 0 30px #0ff, 0 0 45px #0ff;
}
.add-btn:hover {
    background-color:rgba(70, 53, 219, 0.95);
}
 /* INVITES */
 .guests-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Colonnes flexibles */
    grid-auto-rows: auto; /* Hauteur automatique */
    gap: 40px; /* Espacement entre les cartes */
    justify-content: center; /* Centre les éléments */
    align-items: center; /* Centre verticalement */
    max-width: 100%; /* Limite la largeur */
    margin: auto;
    padding: 20px;
}
.guest-card {
    background-color: #4834a1; /* Fond clair */
    border-radius: 10px; /* Coins arrondis */
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Ombre douce */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition pour les animations */
    width: 100%; /* Prend toute la largeur disponible */
    max-width: 500px; /* Limite la largeur de chaque carte */
    font-family: 'Bangers', sans-serif;
    height: 700px;
}

/* Effet au survol d'une carte */
.guest-card:hover {
    transform: translateY(-5px); /* Légère remontée au survol */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Ombre plus forte au survol */
}

/* Style pour l'image de l'invité */
.guest-card img {
    width: 100%; /* L'image prend toute la largeur de la carte */
    height: 200px; /* Hauteur fixe pour les images */
    object-fit: cover; /* L'image couvre la zone sans se déformer */
    border-radius: 8px; /* Coins arrondis pour les images */
    margin-bottom: 15px; /* Espacement sous l'image */
}

/* Style pour le titre de l'invité (nom) */
.guest-card h4 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Style pour le lien du nom (sous forme de bouton) */
.guest-card h4 a {
    text-decoration: none;
    text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4;
    transition: color 0.3s ease;
}

.guest-card h4 a:hover {
    color:  #00d9ff; /* Couleur bleue foncée au survol */
}

/* Style pour la description de l'invité */
.guest-card p {
    font-size: 18px;
 
    line-height: 1.5;
    text-align: center;
}

.guest-card a{

    text-decoration: none;
    color: white;
}

.guest-description{
    font-size: 12px;
    text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4;
    font-family: Bangers;
}
.guest-firstname{
    color: white;
    text-shadow: none;
    font-size: 1.5rem;
}
/* PROGRAMME */

/* Conteneur de l'image */
.product-image-container {
    display: flex; /* Utiliser Flexbox pour le conteneur */
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Centrer verticalement */
    padding: 20px; /* Espacement intérieur */
    margin: 20px; /* Espacement extérieur pour le conteneur */
}

/* Style pour l'image */
.product-image-container img {
    max-width: 50%; /* Limiter la largeur de l'image à 80% de son conteneur */
    height: 50%; /* Conserve le ratio de l'image */
    display: block; /* Enlève les espaces indésirables autour de l'image */
}

/* Effet au survol de l'image */
.product-image-container:hover {
    transform: scale(1.05); /* Légère augmentation de la taille au survol */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Ombre plus marquée au survol */
}
/* QUI SOMMES NOUS */

.imgqui{

    width: 100%;
    max-width: 800px;
    display: block;
    margin: 20px auto;
    max-height: 500px;
 
}

/* FOOTER */

.event-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 50px;
    background-color: #1f1f4b;
    text-decoration: none;
}
.event-card {
    background-color: #1a1a3d;
    margin: 20px;
    padding: 20px;
    width: 200px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.event-card img {
    width: 100%;
    border-radius: 10px;
}

.event-card h3 {
    margin-top: 15px;
    text-decoration: none;
     
}
footer {
    background-color: #162447;
    text-align: center;
    padding: 20px;
    color: #eaeaea;
}
.pfooter{
    color: white;
    font-size: 16px;
    text-align: center;
}

/* ADMIN */

/* ADD GUEST */

.form-input {
    width: 15%; /* Ajuste la taille ici */
    display: flex;
    justify-self: center;
}


button{
    display: flex;
    justify-self: center;
    margin-top: 24px;
    margin-bottom: 24px;
}

h1{
    text-align: center;
}

textarea{
    height: 200px;
}
.imgmodif{
    width: 70%;
    width: 400px;
    height: 400px;
    display: block;
    margin: 0 auto;
}
/* DELETE BUTTON */

.envoyer{
    font-family: bangers;
    font-size: 1.5rem;
    margin-top: 10px;
}

.delete-button {
    background-color: red;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 50%;
    z-index: 10;
}

.delete-button:hover {
    background-color: darkred;
}


/* ERROR */ 

/* Message d'erreur */
.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

/* ADMIN EXPOSANTS */
.add-links {
    text-align: center;
    margin-bottom: 40px;
}

.delete-form {
    position: absolute;
    top: 5px;
    right: 5px;
}

.delete-form button {

    background: #00f5d4 ;
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;

}
.guest-card {
    position: relative; /* <-- ceci est essentiel */
    /* vos autres styles */
}
/* EDIT ANIM */
 
.adminmodif {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #0ff;
    border-radius: 10px;
    padding: 20px;
    width: 50%;
    margin: auto;
    box-shadow: 0 0 15px #0ff;
}

/* A RANGER */
a:hover{
    color: #00f5d4;
}
.event-card h3 span {
   font-size: 25px;
}
 
.imagesection    {
       display: flex;
       flex-wrap: wrap;
       justify-content: space-between;
       max-width: 500px; 
       margin: 0 auto;
       width: 48%; 
       margin-bottom: 20px; 
       gap: 20px;
} 
li{
  list-style-type: none;
} 
.video-title {
   display: none;  
} 
.delete-btn {
   position: absolute;
   top: 10px;
   right: 10px;
   background: red;
   color: white;
   border: none;
   border-radius: 50%;
   width: 25px;
   height: 25px;
   font-size: 18px;
   cursor: pointer;
   line-height: 22px;
   text-align: center;
}
.delete-btn:hover {
   background: darkred;
} 
.date{
padding-bottom: 2rem;
    margin-bottom: 2rem;
}
.date p{
text-align: center;
padding-bottom: 2rem;
font-size: 2rem;
text-shadow: 0 0 10px #00f5d4, 0 0 20px #00f5d4, 0 0 30px #00f5d4;  
font-family: "Lora", serif;

}

.event-card h3 span {
    font-size: 25px;
}
button {
    background: linear-gradient(45deg, #00f, #0ff);
    border: none;
    padding: 10px 20px;
    font-size:0.8rem;
    color: #fff;
    text-transform: uppercase;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 15px #0ff;
    transition: 0.3s;
}
button:hover {
    box-shadow: 0 0 30px #0ff;
    transform: scale(1.05);
}
/* CONNEXION ADMIN */
.form-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 350px;
    margin: 50px auto; /* Centre horizontalement */
}
.form-container h2 {
    margin-bottom: 20px;
    color: #1e3c72;
    font-size: 24px;
    font-family: Bangers;
}
.form-container label{
    font-family: Bangers;

}
.form-container input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

/* Effet focus sur les champs */
.form-container input:focus {
    border-color: #1e3c72;
    box-shadow: 0 0 5px rgba(30, 60, 114, 0.5);
    outline: none;
}

/* Bouton de connexion */
.form-container button {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
}

/* Effet hover sur le bouton */
.form-container button:hover {
    background: #2a5298;
}
.btn-superman img{
    width: 50%;
}
/* =======================
   MEDIA QUERIES POUR MOBILE & TABLETTE
   ======================= */

/* Mobile (max-width: 575px) */
@media (max-width: 575px) {
    .manga {
        width: 100%;
    }

    .bycosmo {
        position: relative;
        right: 24px;
        bottom: 80px;
    }

    .text-content ul {
        list-style-type: none; /* Supprime les puces si nécessaire */
        padding: 0;
    }

    .text-content li {
        margin-bottom: 10px; /* Ajoute un espace entre les éléments */
        display: block; /* Assure qu'ils restent en bloc */
        text-align: center;
    }

    .bulletin {
        font-size: 18px;
        text-align: center;
    }

    .exposants a {
        font-size: 18px;
    }

    .product-image-container img {
        width: 100%;
        max-width: 600px;
    }

    .adminmodif {
        text-align: center;
    }

    .adminmodif h1 {
        font-size: 24px;
    }

    .adminmodif button {
        font-size: 70%;
        text-align: center;
    }

    .exposants-admin {
        display: flex;
        flex-direction: column; /* Affichage en colonne pour mobile */
        align-items: center; /* Centre les cartes horizontalement */
        width: 100%;
    }

    .exposant-card {
        display: flex;
        flex-direction: column; /* Aligner contenu en colonne */
        align-items: center; /* Centrage horizontal */
        text-align: center; /* Centrage du texte */
        padding: 15px;
        border-radius: 10px;
        width: 90%; /* Largeur adaptée aux mobiles */
        max-width: 500px; /* Largeur max pour éviter l'étalement */
        margin: 10px auto; /* Centrage avec marge */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    /* Centrer les liens */
    .exposant-card a {
        display: inline-block;
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
        padding: 10px 20px;
        border-radius: 5px;
        transition: 0.3s;
    }

    .exposant-card a:hover {
        background: #e0e0e0;
    }

    /* Centrer le bouton de suppression */
    .exposant-card form {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .exposant-card button {
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 5px;
        cursor: pointer;
    }

    .imgannee {
        display: flex;
        flex-direction: column; /* Aligner contenu en colonne */
        align-items: center; /* Centrage horizontal */
        text-align: center; /* Centrage du texte */
    }

    .product-image-container {
        display: flex;
        flex-direction: column; /* Aligne les éléments (image et bouton) en colonne */
    }

    .product-image-container form {
        order: 1; /* Déplace le formulaire (le bouton de suppression) après l'image */
    }

    .product-image-container img {
        order: 0; /* L'image reste en première position */
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background: linear-gradient(90deg, #1b1b2f, #6f00ff, #ff007f);
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .navbar ul.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Tablet (min-width: 576px and max-width: 768px) */
@media (min-width: 576px) and (max-width: 768px) {
    .text-content li {
        margin-bottom: 10px; /* Ajoute un espace entre les éléments */
        display: block; /* Assure qu'ils restent en bloc */
        text-align: center;
    }
    .rating input{
        width: 80%;
        padding: none;
    }
    .product-image-container img {
        width: 100%;
        max-width: 500px;
    }

    .product-image-container {
        display: flex;
        flex-direction: column; /* Aligne les éléments (image et bouton) en colonne */
    }

    .product-image-container form {
        order: 1; /* Déplace le formulaire (le bouton de suppression) après l'image */
    }

    .product-image-container img {
        order: 0; /* L'image reste en première position */
    }

    .manga {
        width: 70%;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background: linear-gradient(90deg, #1b1b2f, #6f00ff, #ff007f);
    }

    .navbar ul.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .bycosmo {
        bottom: 80px;
    }
}

/* Desktop (min-width: 769px and max-width: 991px) */
@media (min-width: 769px) and (max-width: 991px) {
    .menu-toggle li {
        font-size: 5px;
    }
}

/* Responsive (Tablet & Mobile) */
@media screen and (max-width: 1175px) {
    .event-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .left-text, .right-text {
        transform: none;
        font-size: 1.2rem;
    }
    @keyframes slideInFromRight {
        0% {
          transform: translateX(100%) rotate(0deg);
          opacity: 0;
        }
        100% {
          transform: translateX(0) rotate(0deg);
          opacity: 1;
        }
      }
    
      @keyframes slideInFromLeft {
        0% {
          transform: translateX(-100%) rotate(0deg);
          opacity: 0;
        }
        100% {
          transform: translateX(0) rotate(0deg);
          opacity: 1;
        }
      }
    .superman {
        display: none; /* Superman caché sur mobile et tablette */
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
        width: 50%;
    }

    .card {
        width: 80%;
    }

    .tombola {
        width: 70%;
    }
}

/* Responsive (Tablet & Mobile) */
@media screen and (max-width: 768px) {
    .event-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .left-text, .right-text {
        transform: none;
        font-size: 1rem;
    }
    @keyframes slideInFromRight {
        0% {
          transform: translateX(100%) rotate(0deg);
          opacity: 0;
        }
        100% {
          transform: translateX(0) rotate(0deg);
          opacity: 1;
        }
      }
    
      @keyframes slideInFromLeft {
        0% {
          transform: translateX(-100%) rotate(0deg);
          opacity: 0;
        }
        100% {
          transform: translateX(0) rotate(0deg);
          opacity: 1;
        }
      }

    .superman {
        display: none; /* Superman caché sur mobile et tablette */
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
        width: 80%;
    }

    .card {
        width: 80%;
    }

    .countdown-container {
        font-size: 1.2em;
        gap: 10px;
        padding: 15px;
    }

    .compte-element {
        padding: 10px;
        flex: 1 1 80px;
    }

    .h3-compte {
        font-size: 1.5rem;
    }

    .tombola {
        width: 110%;
    }
}
.delete-btn:hover {
    background: darkred;
}
