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

/* COLOR VARIABLES */
:root {
  --primary-color: #011638;
  --secondary-color: #A599B5;
  --tertiary-color: #214E34;
}

body {
  width: 100%;
  background: var(--primary-color);
  color: var(--secondary-color);
}

a {
  font-size: 1rem;
  cursor: pointer;
}

a:visited {
  color: var(--secondary-color);
}

main {
  width: 100%;
}

header {
  position: sticky;
  width: 100%;
}

.view-quiz-time p {
  font-size: 1rem;
}
.header-links {
  padding: 2rem;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

h1 {
  font-size: 2.5rem;
}

/* QUIZ CONTAINER */
#quiz-intro-container {
  width: 80%;
  margin: 3rem auto;
  text-align: center;
}

#quiz-intro-container p {
  font-size: 1rem;
  line-height: 2rem;
  color: var(--tertiary-color);
  width: 50%;
  margin: 3rem auto;
}
/* QUIZ CONTAINER END */

/* BUTTON STYLE */
.btn {
  background: rgb(32, 31, 31);
  color: var(--secondary-color);
  padding: 1rem 2rem;
  border-radius: 5px;
  border: 2px solid var(--secondary-color);
  cursor: pointer;
  transition: 0.5s;
  font-size: 1rem;
}

.btn:hover {
  transition: 0.5s;
  background: var(--secondary-color);
  color: black;
}
/* BUTTON STYLE */


#submit-button,
#back-btn,
#clear-btn {
  padding: 0.4rem;
  font-size: 1rem;
}

/* QUIZ CONTAINER WITH QUESTIONS/ ANSWERS */

#question-container {
  width: 100%;
  /* Center the content */
}

.question-title-text {
  width: 40%;
  font-size: 1.5rem;
  margin: 0 auto;
  padding-bottom: 1rem;
  text-align: left;
}

.multiple-choice-options {
  font-size: 1rem;
  list-style: none;
  display: grid;
  place-items: center;
}
/* QUIZ CONTAINER WITH QUESTIONS/ ANSWERS END */

.quiz-button {
  padding: 1rem;
  margin: 1rem 0;
  width: 40%;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
}

.quiz-button:hover {
  background: var(--tertiary-color);
}

#answer-text-container {
  width: 100%;
}

.answer-text {
  display: flex;
  justify-content: center;
}

.answer-text h3 {
  width: 40%;
  border-top: 2px solid var(--secondary-color);
  font-size: 2rem;
  padding-top: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.correct-incorrect-text {
  border-top: 2px solid var(--secondary-color);
  font-size: 2.4rem;
  text-align: left;
  padding-top: 1.6rem;
}

#high-score-container,
#high-score-display-container {
  width: 80%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
}

.end-game-content,
.high-score-content {
  text-align: left;
}

.end-game-title,
.high-scores-title-text {
  width: 100%;
  font-size: 1.8rem;
  padding: 0.5rem 0;
}

.end-game-sub-title {
  width: 100%;
  font-size: 1.2rem;
}

.enter-initials-container label {
  font-size: 1.2rem;
}

#submit-form {
  justify-content: center;
}

form {
  justify-content: center;
}

#submit-form input {
  color: var(--tertiary-color);
  font-size: 1.3rem;
  font-family: monospace;
  margin: 10px 10px;
}


.high-scores-list {
  width: 200%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.high-scores-list li {
  font-size: 1.5rem;
  list-style: none;
  padding: 1rem 0;
  color: var(--secondary-color);
}

.high-score-nav-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hidden {
  display: none;
}