/* Fond général */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: url('WALLPAPER2.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* Barre de navigation */
nav {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 24px;
  color: white;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Titre de la page */
h2 {
  text-align: center;
  color: white;
  margin-top: 50px;
}

/* Formulaire */
form {
  max-width: 400px;
  margin: 20px auto;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Libellés */
form label {
  display: block;
  margin-top: 10px;
  color: #333;
}

/* Champs de saisie */
form input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Bouton */
form button {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background-color: black;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

form button:hover {
  background-color: darkgrey;
}

/* Texte du bas */
p {
  text-align: center;
  color: white;
  margin-top: 15px;
}

/* Message d'erreur */
p[style*="color: red"] {
  text-align: center;
  font-weight: bold;
}
