body {
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 20px;
  background: #f4f4f4;
  position: relative;
}

input, button {
  padding: 10px;
  margin: 10px;
  font-size: 16px;
}

button {
  cursor: pointer;
  border-radius: 6px;
  background: #0077ff;
  color: white;
  border: none;
}

button:hover {
  background: #005ec2;
}

/* Style du bouton Hamburger */
.hamburger-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  background: white;
  color: #333;
  font-size: 24px;
  border: 1px solid #ccc;
  padding: 5px 10px;
  margin: 0;
  z-index: 100;
  border-radius: 4px;
}

.hamburger-btn:hover {
  background: #eee;
  color: #000;
}

/* Barre de Niveau */
.level-container {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.progress-bar {
  background-color: #e0e0e0;
  border-radius: 10px;
  height: 20px;
  width: 100%;
  overflow: hidden;
  margin: 10px 0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.progress-fill {
  background-color: #f1c40f; /* Jaune doré pour l'XP */
  height: 100%;
  width: 0%; /* Sera changé par le JS */
  transition: width 0.5s ease-in-out;
}

/* Feedback visuel */
.correct {
  color: #2ecc71;
  font-weight: bold;
  font-size: 1.2em;
}

.wrong {
  color: #e74c3c;
  font-weight: bold;
  font-size: 1.2em;
}

hr {
  margin: 20px auto;
  width: 80%;
  border: 1px solid #ddd;
}