/* Grundstyling für Body und Farben */
body {
  font-family: Arial, sans-serif;
  background: #181818;
  color: #fafafa;
  padding: 1rem;
}
/* Container zentriert und abgerundet */
.container {
  background: #222;
  max-width: 500px;
  margin: 2rem auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  border-radius: 12px;
  padding: 2rem 2rem;
}
/* Überschrift-Design */
h1 {
  font-size: 2rem;
  text-align: center;
  color: #fff;
}
/* Styling für Label und Dropdown */
label, select {
  display: block;
  margin: 0.5rem 0;
  width: 100%;
  color: #fff;
  font-size: 1.15rem;
}
select {
  background: #222;
  color: #fafafa;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 0.4em;
}
/* Frage-Text */
.question {
  font-weight: 600;
  margin: 1.5rem 0 1rem 0;
  color: #fafafa;
  font-size: 1.13rem;
}
/* Antwort-Button-Design */
.answers button {
  width: 100%;
  margin-bottom: 1rem;
  padding: 1rem 0;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  background-color: #000;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
  box-shadow: 0 0 6px #000;
  text-align: center;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
}
/* Farben für richtige/falsche Antworten */
.answers button.correct {
  background-color: #21a700 !important;
  color: #fff !important;
}
.answers button.incorrect {
  background-color: #c92f2f !important;
  color: #fff !important;
}
/* Hover-Effekt für Antwort-Buttons */
.answers button:hover:not([disabled]) {
  background-color: #0088ff;
  color: #fff;
  box-shadow: 0 0 20px #0088ff;
}
/* Ausgrauen deaktivierter Buttons */
.answers button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}
/* Rückmeldungstext */
.result {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 1rem 0;
  min-height: 1.4em;
  color: #ffc515;
}
/* "Nächste Frage"-Button */
#next {
  background: #05a6ff;
  color: #fff;
  font-weight: bold;
  border-radius: 7px;
  padding: 0.9rem 1.3rem;
  border: none;
  cursor: pointer;
  font-size: 1.09rem;
  transition: background 0.18s;
  margin-top: 1rem;
}
#next:hover {
  background: #1077ab;
}
/* Formular für Highscore */
#highscoreForm {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.6rem;
}
#highscoreForm input {
  flex: 1;
  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid #333;
  font-size: 1.1rem;
}
/* Highscore-Listen-Styles */
.highscores {
  margin-top: 2rem;
}
.highscores ol {
  padding-left: 1.3em;
}
.highscores li {
  margin-bottom: 0.3em;
}
/* Mobile-Optimierung per Media Query */
@media (max-width: 600px) {
  .container {
    width: 100%;
    min-width: unset;
    box-shadow: none;
    padding: 1rem 0.5rem;
    margin: 0;
  }
}
/* Speichern-Button im Highscore-Formular */
#highscoreForm button[type="submit"] {
  background-color: #05a6ff;
  color: white;
  font-weight: bold;
  font-size: 1.15rem;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: 0 2px 10px rgba(5,166,255,0.6);
}
#highscoreForm button[type="submit"]:hover {
  background-color: #1077ab;
  box-shadow: 0 4px 15px rgba(16,119,171,0.8);
}
#highscoreForm button[type="submit"]:focus {
  outline: 2px solid #1077ab;
  outline-offset: 2px;
}
