body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  justify-content: center;
  padding: 20px;
  background-color: #f2f2f2;
  font-family: 'Times New Roman', Times, serif;
  margin: 0;
}


button{
  padding: 10px 20px;
  margin: 10px;
  font-size: 16px;
  border:none;
  border-radius: 5px;
  cursor: pointer;
  background-color: black;
  color: white;
  transition: background-color 0.3s ease;
}

button:hover{
  background-color: grey;
}


.greeting {
  max-width: 600px;
  margin: 10px auto;
  color: black;
  line-height: 1.5;
}

.gameMode{
  color:white;
}

#modeOptions{
  width: 100%;
  max-width: 680px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

#action-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 480px) {
  button {
    font-size: 14px;
    padding: 8px 16px;
  }
}

#status-bar {
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontally center children */
  margin: 10px 0 20px;   /* spacing above/below */
  text-align: center;    /* ensure text inside is centered */
}

#score-display,
#tracker,
#high-score-display {
  margin: 4px 0;
  font-weight: 500;
}


#quiz-section, #high-score-display {
  padding: 15px;
}

/* Quiz Section Styles */
#quiz-section {
  width: 100%;
  max-width: 600px;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0, 0.1);
  box-sizing: border-box;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#question {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

/* Answer Buttons */
#answers {
  display: flex;
  flex-direction: column;
  align-items: center;  /* <-- centers children horizontally */
  gap: 12px;            /* spacing between buttons */
  width: 100%;
}

.answer-btn {
  display: block;
  width: 100%;
  max-width: 520px;     /* keeps them from stretching too wide on desktop */
  margin: 0 auto;       /* centers the block if needed */
  text-align: center;
  min-height: 44px;
}

@media (max-width: 600px) {
  .answer-btn { max-width: 100%; }  /* full-width on phones */
}


.answer-btn.correct { background-color: #2e7d32; color: white; }
.answer-btn.wrong   { background-color: #c62828; color: white; }

.answer-btn.focused { outline: 2px solid #8cf5ee; /* visible ring */ }

