body {
  background-image: url(media/gc.jpg);
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  min-height: 100vh;
  color: white;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
  margin: 0;
  padding: 20px;
}

#logo {
  height: 150px;
  margin-bottom: 20px;
}

h1 {
  margin-bottom: 20px;
}

#quiz-container {
  max-width: 700px;
  width: 100%;
  margin-bottom: 20px;
  text-align: left;
}

h2 {
  background-color: #02874d;
  padding: 10px 15px;
  border-radius: 10px;
  border: 2px solid #02874d;
  color: black;
  margin: 20px 0 10px 0;
  font-size: 1.3em;
}

form {
  margin-bottom: 30px;
  font-size: 1.1em;
}

input[type="radio"] {
  margin-right: 8px;
  cursor: pointer;
  accent-color: #02874d;
}

label {
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 6px;
  user-select: none;
}

#submit-button {
  width: 180px;
  height: 45px;
  font-size: 20px;
  background-color: #02874d;
  color: black;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  margin-bottom: 40px;
}

#submit-button:hover {
  background-color: #026632;
  color: white;
}

/* Popup modal */

#popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
}

#popup.hidden {
  display: none;
}

#popup-content {
  background-color: #02874d;
  padding: 30px 40px;
  border-radius: 15px;
  color: black;
  font-size: 28px;
  text-align: center;
  max-width: 80vw;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

#popup-content button {
  margin: 10px 15px 0 15px;
  padding: 12px 30px;
  border: none;
  border-radius: 10px;
  font-size: 22px;
  cursor: pointer;
}

#play-again-button {
  background-color: #000;
  color: #fff;
  transition: background-color 0.3s ease;
}

#play-again-button:hover {
  background-color: #333;
}

#show-answers-button {
  background-color: #444;
  color: white;
  transition: background-color 0.3s ease;
}

#show-answers-button:hover {
  background-color: #666;
}
