@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #333;
}

.container {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.container-header {
  background-color: #4CAF50;
  padding: 20px;
  margin-bottom: 20px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  color: white;
}

.container-content {
  padding: 20px;
}

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

button:hover {
  background-color: #45a049;
}

#selection-page button {
  display: inline-block;
  width: 150px;
  margin: 10px;
}

#quiz-page, #result-page {
  display: none;
}

#quiz-page .container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#question-number {
  font-size: 18px;
  font-weight: bold;
}

#question-container {
  margin-bottom: 20px;
  text-align: left;
}

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

.options {
  list-style: none;
  padding: 0;
}

.option {
  margin: 10px 0;
}

.option input[type="radio"] {
  margin-right: 10px;
}

#timer {
  font-size: 16px;
  font-weight: 500;
  color: #f4f4f4;
}

#result {
  font-size: 20px;
  margin-bottom: 20px;
}

#retry-button {
  background-color: #2196F3;
}

#retry-button:hover {
  background-color: #0b7dda;
}

#retake-button {
  background-color: #4CAF50;
}

#retake-button:hover {
  background-color: #45a049;
}
