
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #e6f0ff;
  color: #1a3a6e;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.section {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(173, 216, 230, 0.3);
  padding: 25px;
  margin: 20px 0;
  width: 100%;
  max-width: 700px;
}


.section h3 {
  text-align: center;
  color: #1a3a6e;
  margin-bottom: 20px;
  font-size: 24px;
  border-bottom: 2px solid #cce0ff;
  padding-bottom: 10px;
}


.quiz-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.quiz-btns button {
  background-color: #cce0ff;
  color: #1a3a6e;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quiz-btns button:hover {
  background-color: #b3d1ff;
}


.interactive {
  display: none;
  background-color: #f0f8ff;
  border-radius: 12px;
  padding: 20px;
}

#progress {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.question {
  margin-bottom: 20px;
  font-size: 18px;
}

.options div {
  margin-bottom: 10px;
}

.options label {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #b3d1ff;
  cursor: pointer;
}

.options input {
  accent-color: #1a3a6e;
}

button#submitBtn, button#nextBtn, #jokeSection button {
  margin-top: 15px;
  background-color: #b3d1ff;
  color: #1a3a6e;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

button:hover {
  background-color: #a0c4ff;
}


#jokeSection p {
  text-align: center;
  font-size: 18px;
  margin-top: 10px;
}

@media (max-width: 600px) {
  .quiz-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .quiz-btns button {
    width: 100%;
    font-size: 16px;
    padding: 12px;
    text-align: center;
  }

  .section {
    margin: 15px 10px;
    padding: 20px;
  }

  .interactive,
  .options label,
  #jokeSection button {
    width: 100%;
  }

  .options label {
    font-size: 16px;
    padding: 12px;
  }

  button {
    font-size: 16px;
    width: 100%;
  }

  h1, h3, p {
    text-align: center;
  }
}
