
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("../image/gantBoxe.jpg") no-repeat center center / cover;
  filter: blur(5px) brightness(0.5);
  z-index: -1;
}


.formulaire-inscription {
  background-color: rgba(255, 255, 255, 0.95);
  width: 70%;
  margin: 8% auto;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}
@media (max-width: 600px) {
    .formulaire-inscription{
        margin:30% auto;
        width:90%;
    }
    
    
}
@media (min-width:600px) {
    @media (max-width:800px) {
        .formulaire-inscription{
            margin:30% auto;
        }
    }
}

.formulaire-inscription h2 {
  text-align: center;
  text-transform: uppercase;
  color: #c62828;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.formulaire-inscription fieldset {
  border: none;
  margin-bottom: 1.5rem;
  padding: 0;
}

.formulaire-inscription legend {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.formulaire-inscription label {
  display: block;
  margin: 1rem 0 0.3rem;
  font-weight: 600;
  color: #333;
}

.formulaire-inscription input[type="text"],
.formulaire-inscription input[type="email"],
.formulaire-inscription input[type="tel"],
.formulaire-inscription input[type="date"],
.formulaire-inscription input[type="file"],
.formulaire-inscription select {
  width: 100%;
  padding: 0.7rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.4rem;
  box-sizing: border-box;
}

.formulaire-inscription input[type="file"] {
  background-color: #f9f9f9;
}

.formulaire-inscription input[type="checkbox"] {
  margin-right: 0.5rem;
}

.formulaire-inscription button[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 2rem;
  padding: 1rem;
  background-color: #c62828;
  color: white;
  font-size: 1.1rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.formulaire-inscription button[type="submit"]:hover {
  background-color: #07253d;
  transform: scale(1.01);
}



.intro-formulaire {
  text-align: center;
  margin-top:20%;
  color: white;
  font-family: 'Anton', sans-serif;
}
@media (max-width: 1000px) {
  .intro-formulaire{
      margin-top:30vh;
  } 
    
}

.intro-formulaire h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #fff;
}

.intro-formulaire p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

#btn-afficher-formulaire {
  background: #c62828;
  color: white;
  padding: 15px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

#btn-afficher-formulaire:hover {
  background: #a31515;
}

#bloc-formulaire {
  display: none;
}
#footer {
  display: none;
}
/* Style du conteneur du spinner pour le positionnement */
#loader {
    display: flex; /* Utilise Flexbox pour centrer le contenu */
    flex-direction: column; /* Aligne le contenu verticalement */
    justify-content: center; /* Centre le contenu horizontalement */
    align-items: center; /* Centre le contenu verticalement */
    position: fixed; /* Reste visible même en faisant défiler la page */
    top: 0;
    left: 0;
    width: 100%; /* Couvre toute la largeur de l'écran */
    height: 100%; /* Couvre toute la hauteur de l'écran */
    background-color: rgba(255, 255, 255, 0.8); /* Fond blanc transparent */
    z-index: 1000; /* Assure que le loader est au-dessus des autres éléments */
}

/* Style du cercle qui tourne (le spinner) */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3; /* Fond gris clair du cercle */
    border-top: 5px solid #3498db; /* La partie qui tourne, ici en bleu */
    border-radius: 50%; /* Crée un cercle */
    animation: spin 1s linear infinite; /* Applique l'animation 'spin' */
    margin-bottom: 15px; /* Ajoute un espace sous le spinner pour le texte */
}

/* Définition de l'animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Le style du texte de chargement */
#loader p {
  font-family: 'Oswald', sans-serif; 
  font-size: 16px;
  color: #555;
}
/* Footer */
.baspage {
    background-color: #363734;
    width: 100%;
    padding: 40px 20px;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}