body {
  font-family: "Aldrich", sans-serif;
  background-color: #2e2e2e;
  background-image: repeating-linear-gradient(
    45deg,
    #3b3b3b 0%,
    #3b3b3b 25%,
    #2e2e2e 25%,
    #2e2e2e 50%,
    #3b3b3b 50%,
    #3b3b3b 75%,
    #2e2e2e 75%,
    #2e2e2e 100%
  );
  background-size: 50px 50px;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

#quiz-container {
  background-color: rgba(28, 28, 28, 0.9);
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  border: 2px solid #4caf50;
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

h1 {
  text-align: center;
  color: #4caf50;
}

h2 {
  font-size: 16px;
}

#quiz-questions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.question-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

button {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  margin-bottom: 20px;
}

button:disabled {
  background-color: grey;
  cursor: not-allowed;
}

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

.radio-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #4caf50;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  transition: background 0.3s;
  margin: 0;
  vertical-align: middle;
}

input[type="radio"]:checked {
  background-color: #4caf50;
}

label {
  margin: 0;
  line-height: 20px;
  vertical-align: middle;
}

.wrong-answer {
  color: red;
}

.correct-answer {
  color: green;
}

.result-text {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 20px;
  text-align: center;
}

footer {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #bbbbbb;
}

#threejs-canvas {
  height: 200px;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  #quiz-container {
    padding: 15px;
  }
}
