/* quiz.css */
body {
  background: linear-gradient(135deg, #0f3a4e, #21639a);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: 'Roboto', sans-serif;
  color: #fff;
}

.quiz-wrapper {
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.quiz-container {
  background-color: #ffffff;
  color: #111;
  padding: 2rem;
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.6s ease-in-out;
}

h1 {
  text-align: center;
  color: #026d91;
  margin-bottom: 1rem;
}

.question-box {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  min-height: 60px;
}

.progress {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #555;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1rem;
}

button {
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.answer-btn {
  background-color: #2e2e30;
  color: white;
}

.answer-btn.correct {
  background-color: #38bdf8;
  color: white;
}

.answer-btn.wrong {
  background-color: #ef4444;
  color: white;
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-btn {
  background-color: #1607ef;
  color: white;
}

.nav-btn:hover,
.answer-btn:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.timer {
  font-size: 1.1rem;
  font-weight: bold;
  color: #111;
}

.review {
  margin-top: 1rem;
  border-top: 1px solid #ccc;
  padding-top: 1rem;
  display: none;
  color: #000;
  font-size: 0.95rem;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
