/* Apply the font */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: url('/static/resources/backgrounds/leaves.jpeg') no-repeat center center fixed;
  background-size: cover;
}

body.results-mode {
  align-items: flex-start;
  height: auto;
  min-height: 100vh;
  padding-top: 20px;
  padding-bottom: 20px;
}


input {
  accent-color: purple;
  border: 2px solid purple;
  border-radius: 8px;
  padding: 8px;
  font-size: 16px;
  color: purple;
  background: #ffffff;
}

/* Glassmorphic container */
.quiz-container {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 30px 40px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* optional: let it grow */
  max-height: none;
}


/* Hover effect on container */
.quiz-container:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(80, 0, 150, 0.25);
}

/* Question */
#question {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

/* Options */
.option {
  margin: 15px 0;
}

.option input {
  margin-right: 10px;
}

.option label {
  font-size: 16px;
  color: #fff;
  cursor: pointer;
}

/* Button styling */
button {
  margin-top: 20px;
  padding: 12px 25px;
  font-size: 12px;
  font-weight: 600;
  color: purple;
  background: #ffffff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover effect on button */
button:hover {
  background: #f3e8ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(128, 0, 128, 0.2);
}

/* Result text */
#result {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

/* Hidden class */
.hidden {
  display: none;
}
