body {
  font-family: "Noto Sans", sans-serif;
  background: #001f3f; /* azul oscuro */
  color: white;
  margin: 0;
  padding: 0;
  text-align: center;
}

.view { padding: 25px; }
.hidden { display: none; }

h1, h2 { font-weight: bold; }

.btn {
  display: block;
  width: 90%;
  padding: 14px;
  margin: 10px auto;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  border: none;
}

.primary { background: #FFD700; color: #001f3f; }
.secondary {
  background: #003366;
  color: white;
  border: 1px solid #FFD700;
}
input {
  width: 90%;
  padding: 10px;
  margin: 15px auto;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 18px;
}

.bottom-nav {
  position: fixed;
  bottom: 10px;
  width: 100%;
}

.audio-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  padding: 8px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

#progressBar {
  background: #003366;
}
#progressFill {
  background: #FFD700;
}

/* Table */
table {
  width: 100%;
  margin-top: 15px;
  border-collapse: collapse;
}
th, td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}
tbody tr:nth-child(even) {
  background: #002a5c;
}
/* Feedback effects */
#quizFeedback {
  font-size: 26px;
  margin: 15px;
  min-height: 30px;
  font-weight: bold;
}
.correct { color: green; animation: fade .7s; }
.incorrect { color: red; font-size: 80px; animation: fade .7s; }

@keyframes fade {
  0% {opacity:1;}
  100% {opacity:0;}
}
#scoreText {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}

#results h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

#resultImage img {
  max-width: 200px;
  margin-top: 15px;
}
