/* Container styling for the quiz */
#quiz {
  max-width: 500px;
  margin: 2em auto;
  padding: 2em;
  background: #e3f2fd; /* Light blue background */
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #0d47a1; /* Dark blue text */
}

/* Heading style */
#quiz h2 {
  text-align: center;
  margin-bottom: 1em;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #1565c0;
}

/* Question text */
#quizQuestion {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 1.5em;
  text-align: center;
}

/* Result text */
#quizResult {
  font-weight: 700;
  font-size: 1.1em;
  margin-top: 1em;
  min-height: 2em;
  text-align: center;
}

/* Container for Myth/Fact buttons */
.quiz-buttons {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-bottom: 1em;
}

/* Myth and Fact buttons */
.quiz-buttons button {
  flex: 1;
  padding: 0.7em 0;
  border: none;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
  user-select: none;
}

.quiz-buttons button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Myth button */
.quiz-buttons button:nth-child(1) {
  background-color: #e53935; /* bright red */
  color: white;
}

/* Fact button */
.quiz-buttons button:nth-child(2) {
  background-color: #43a047; /* fresh green */
  color: white;
}

/* Next button styling */
#quiz > button {
  display: block;
  width: 120px;
  margin: 0 auto;
  padding: 0.6em 0;
  font-weight: 700;
  font-size: 1em;
  border-radius: 25px;
  border: none;
  background-color: #1e88e5; /* bright blue */
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(30,136,229,0.5);
  transition: background-color 0.3s ease;
  user-select: none;
}

#quiz > button:hover {
  background-color: #1565c0;
}

/* Disable text selection on buttons for nicer UX */
button {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
