header {
  background-color: #663399;
  margin: 25px;
  border-radius: 100px;
}

#branding {
  margin: 0;
  padding: 10px 10px 15px 30px;
  text-align: left;
  color: white;
}

.quiz-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#question-number {
  font-weight: bold;
  font-size: 1.2rem;
  text-align: left;
}

#live-score {
  font-weight: bold;
  font-size: 1.2rem;
  text-align: right;
}

body {
  background: #f0f8ff;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  margin: 0 0;
  padding: 0;
  word-wrap: break-word;
  overflow-x: hidden;
}

.quiz-container {
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 90%;
  box-sizing: border-box;
}

h1 {
  font-size: 2.2rem;
  color: #663399;
  margin-bottom: 25px;
}

#question {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.option {
  padding: 14px 22px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #e0d4f7;
  color: #333;
  cursor: pointer;
  transition: 0.3s ease;
  flex: 1 1 calc(50% - 24px);
  min-width: 120px;
}

.option:hover:not(:disabled):not(.correct):not(.wrong) {
  background-color: #663399;
  color: white;
  font-weight: bold;
}

.option.correct {
  background-color: #0bb60b;
  color: white;
  font-weight: bold;
}

.option.wrong {
  background-color: #FF0000;
  color: white;
  font-weight: bold;
}

footer {
  text-align: end, center;
  margin: 70px 0 0 0;
  line-height: 10px;
}

/* 🔻 Mobile / Small screen adjustments */
@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
  }

  #question {
    font-size: 1.2rem;
  }

  .option {
    font-size: 0.95rem;
    padding: 12px 16px;
    flex: 1 1 100%;
  }

  .quiz-container {
    margin: 20px auto;
    padding: 16px;
  }
}