body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 20px;
  color: #333;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 20px;
}

.timer {
  text-align: right;
  font-weight: bold;
  color: #e74c3c;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.quiz {
  margin-bottom: 30px;
}

.question {
  font-size: 1.3em;
  margin-bottom: 20px;
  color: #2c3e50;
  font-weight: 600;
}

.options {
  margin-left: 20px;
}

.option {
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid #ddd;
}

.option:hover {
  background-color: #f0f0f0;
}

.option input {
  margin-right: 10px;
}

.option label {
  cursor: pointer;
}

.correct {
  background-color: #d4edda !important;
  border-left: 4px solid #28a745;
}

.incorrect {
  background-color: #f8d7da !important;
  border-left: 4px solid #dc3545;
}

.explication {
  margin-top: 20px;
  padding: 15px;
  background-color: #e9ecef;
  border-radius: 5px;
  border-left: 4px solid #6c757d;
}

.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.btn {
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s;
}

.verifier-btn {
  background-color: #28a745;
  color: white;
}

.verifier-btn:hover {
  background-color: #218838;
}

.suivant-btn {
  background-color: #007bff;
  color: white;
}

.suivant-btn:hover {
  background-color: #0069d9;
}

.resultats {
  display: none;
  text-align: center;
  font-size: 1.2em;
  margin-top: 20px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.resultats h2 {
  color: #2c3e50;
}

.resultats p {
  margin: 10px 0;
}

.resultats .btn {
  margin-top: 20px;
  background-color: #6c757d;
}

.resultats .btn:hover {
  background-color: #5a6268;
}
.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 10px; /* Espace entre les boutons */
}

.btn {
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s;
}

.precedent-btn {
  background-color: #6c757d; /* Gris */
  color: white;
}

.precedent-btn:hover {
  background-color: #5a6268;
}

.verifier-btn {
  background-color: #28a745; /* Vert */
  color: white;
}

.verifier-btn:hover {
  background-color: #218838;
}

.suivant-btn {
  background-color: #007bff; /* Bleu */
  color: white;
}

.suivant-btn:hover {
  background-color: #0069d9;
}