/* Style général */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  text-align: center;
  color: #000;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

header h1 {
  font-size: 35px;
  font-weight: bold;
  overflow: hidden; /* Cache le texte pendant l'animation */
  border-right: 2px solid #556B2F; /* Curseur de la machine */
  white-space: nowrap;
  width: 0;
  animation: typing 3s steps(30, end) forwards, blink 0.7s step-end infinite;
}

/* Animation de l'écriture */
@keyframes typing {
  from { width: 0; }
  to { width: 28ch; } /* Ajusté pour correspondre au texte */
}

/* Animation du curseur qui clignote */
@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: #556B2F; }
}


header .btn {
  background-color: #556B2F;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  padding: 12px 28px;
  gap: 70px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease; 
}

header .btn:hover {
  background-color: #6B8E23; /* Vert un peu plus clair */
  transform: scale(1.05); /* Légère mise en avant */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Ombre douce */
}

header .btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

main img {
  max-width: 400px;
  height: auto;
  margin: 30px 0;
}

main h2 {
  font-size: 30px;
  margin-bottom: 20px;
  padding-bottom: 30px;

}

.boutons{
  gap: 100px;
}

.boutons .btn  {
  background-color: #556B2F;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  padding: 12px 28px;
  gap: 70px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease; /* Ajout de la transition */
}

.boutons .btn:hover {
  background-color: #6B8E23; /* Vert un peu plus clair */
  transform: scale(1.05); /* Légère mise en avant */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Ombre douce */
}

.boutons .btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}


.dropdown {
  display: none;
  background: #fff;
  border: 2px solid #556B2F;
  border-radius: 15px;
  padding: 20px;
  max-width: 400px;
  margin: 20px auto;
  text-align: left;
}

.dropdown h3 {
  font-size: 22px;
  color: #556B2F;
  margin-bottom: 10px;
  text-align: center;
}

.dropdown ul li a {
  text-decoration: none;
  color: #556B2F;
  font-weight: bold;
  transition: color 0.3s;
}

.dropdown ul li a:hover {
  color: #333;
  text-decoration: underline;
}


footer {
  margin-top: 50px;
  padding: 20px;
  font-size: 14px;
}
