*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
    scroll-behavior: smooth;
}
body{
    margin: 0px;
    font-size: 20px;
    background: linear-gradient();
    background-attachment: fixed;
    height: 100vh;
    transition-duration: 5s;
    scroll-behavior: smooth;

}






/* Style de base de la barre de navigation */
.navbar {
  display: flex;
  justify-content: space-between; /* Espace entre l'image et le nav */
  align-items: center;
  padding: 10px 20px;
  background-color: #6b0a0a;;
  width: 100%;
}

.navbar img {
  height: 50px; /* Hauteur de l'image */
}

.nav-links {
  list-style: none;
  display: flex; /* Affichage en ligne pour les grands écrans */
}

.nav-links li {
  margin: 0 10px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.burger {
  display: none; /* Masquer le burger par défaut */
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none; /* Masquer les liens de nav par défaut */
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px; /* Position du menu */
    left: 0;
    background-color: #333;
  }

  .nav-links.nav-active {
    display: flex; /* Afficher les liens de nav lorsqu'activé */
  }

  .nav-links li {
    margin: 15px 0; /* Espacement vertical */
  }

  .nav-links a {
    font-size: 20px; /* Taille du texte en mobile */
  }

  .burger {
    display: block; /* Afficher le burger en mobile */
  }

  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .toggle .line2 {
    opacity: 0;
  }

  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}











/*FORMULAIRE*/
.formulaire{
    display: flex;
    justify-content: center;
    padding: 50px;
    background-image: url("image/cece.jpg");
}
form{
    width: 500px;
    padding: 30px;
    background-attachment: fixed;
    background-color: black;
    color: #ecf0f1;
}


label{
    display: block;
}
input{
    padding: 5px;
    width: 100%;
    margin-bottom: 10px;
}

textarea{
    width: 100%;
    height: 100px;
    padding: 20px;
}

button{
  margin-top: 10px;
    padding: 10px 20px;
    background-color: #880505;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}





/* FOOTER*/

footer{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 20px;
    padding-left: 30px;
    background-color: #000;
    color: white;
}

footer .left{
    margin-right: 30px;
    margin-left: 30px;
}
footer .left h1{
    margin-top: 30px;
    margin-bottom: 30px;
    border-bottom: solid white 3px;
}
footer .left #droit{
    margin-top: 35px;
}

footer .center{
    margin-right: 30px;
    margin-left: 30px;
}
footer .center h1{
    margin-top: 30px;
    margin-bottom: 30px;
    border-bottom: solid white 3px;

}

footer .center ul li{
  text-decoration: none;
  color: white;
}
footer .center ul li a{
  text-decoration: none;
  color: white;
}

footer .center ul li a:hover{
  text-decoration: none;
  color: #007bff;
}




footer .right{
    margin-right: 10px;
    margin-left: 30px;
}
footer .right h1{
    margin-top: 30px;
    margin-bottom: 30px;
    border-bottom: solid white 3px;

}
footer .right ul li{
    display: inline-block;
    margin-left: 20px;
}

footer .right ul li a{
    display: inline-block;
    text-decoration: none;
    color: white;
}

footer .right ul li i{
  color: white;

}



@media screen and (max-width: 768px) {
  /* Ajustement du pied de page */
  footer {
    flex-direction: column; /* Affichage en colonne pour les appareils mobiles */
    align-items: center; /* Centrer les éléments pour les appareils mobiles */
    padding: 20px;
    background-color: #000;
    color: white;
  }

  footer .left,
  footer .center,
  footer .right {
    margin: 10px 0; /* Espacement entre les sections du pied de page */
    text-align: center; /* Centrer le contenu des sections */
  }

  footer .left h1,
  footer .center h1,
  footer .right h1 {
    font-size: 24px; /* Réduire la taille des titres h1 pour les appareils mobiles */
  }

  footer .right ul li {
    display: block; /* Affichage en bloc pour les liens sociaux */
    margin: 10px 0; /* Espacement entre les liens sociaux */
  }
}
