html,
body {
  margin: 0; /* Supprime les marges par défaut */
  padding: 0; /* Supprime les espacements par défaut */
  height: 100%; /* Définit la hauteur à 100% de la fenêtre */
}

body {
  background: linear-gradient(
    0deg,
    rgba(168, 225, 12, 1) 0%,
    rgba(255, 63, 63, 1) 75%
  );
  background-size: cover; /* Étire le fond pour couvrir toute la zone */
  background-repeat: no-repeat; /* Évite les répétitions */
  background-attachment: fixed; /* Fixe le fond pour qu'il reste visible même lors du défilement */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 0.5em 1em;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1em;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00bcd4;
}

.CPT {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.CPT span {
  width: 25px;
  height: 3px;
  background-color: white;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh; /* Déjà défini, prend toute la hauteur de la fenêtre */
  width: 100%; /* Ajouté, prend toute la largeur */
  background-image: url("votre-image-de-fond.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 0 20px;
  margin: 0; /* S'assurer qu'aucun espace autour de la section n'est ajouté */
}

.hero-content {
  max-width: 1000px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #0056b3;
}
