* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Schoolbell", cursive;
  background: #fddc9b;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.quiz-card {
  max-width: 400px;
  width: 100%;
  background: #fffbe3;
  border: 5px solid #f39c12;
  border-radius: 50px 50px 35px 35px;
  box-shadow: 0 12px 20px rgba(230,120,20,0.25);
  padding: 20px 16px 18px;
  position: relative;
  margin: 4px 0;
  display: flex;
  flex-direction: column;
}
.quiz-card::before {
  content: "🦔🦔🦔";
  font-size: 24px;
  letter-spacing: 6px;
  color: #e67e22;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #fdf5cf;
  padding: 0 16px;
  border-radius: 40px;
  text-shadow: 1px 1px 0 #f1c40f;
}
.top-right-buttons {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10;
  display: flex;
  gap: 8px;
}
.top-right-buttons button {
  background: #ffb8b8;
  border: 2px solid #e67e22;
  border-radius: 40px;
  padding: 6px 12px;
  font-size: 1rem;
  font-weight: bold;
  color: #b33939;
  box-shadow: 0 3px 0 #ba6b2b;
  cursor: pointer;
  font-family: inherit;
  transition: 0.06s;
  min-width: 45px;
}
.top-right-buttons button:active {
  transform: translateY(3px);
  box-shadow: none;
}
#geluidToggleBtn.aan {
  background: #a9dfbf;
  color: #1d4e1d;
}
h1 {
  font-size: 2rem;
  color: #c0392b;
  -webkit-text-stroke: 1px #f39c12;
  text-shadow: 2px 2px 0 #ffb347;
  margin: 30px 0 10px 0;
  text-align: center;
  line-height: 1.2;
}
h2 {
  font-size: 1.5rem;
  color: #d35400;
  text-align: center;
  margin: 5px 0 10px;
}
.start-container {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  justify-content: space-between;
  margin-top: 25px;
}
.niveau-box {
  background: #ffe28c;
  border-radius: 60px;
  padding: 14px 12px;
  margin: 10px 0;
}
.niveau-box p {
  font-size: 1.6rem;
  font-weight: bold;
  color: #b84c1c;
}
.niveau-knoppen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 15px 0 10px;
}
.niveau-btn {
  background: #f1c40f;
  border: 3px solid #e67e22;
  border-radius: 50px;
  padding: 14px 12px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #b8430e;
  box-shadow: 0 5px 0 #b84c1c;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}
.niveau-btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #b84c1c;
}
.egel-svg {
  width: 100px;
  height: 100px;
  margin: 10px auto 5px;
}
.egel-svg img {
  width: 100%;
  height: 100%;
}
.vraag-teller {
  background: #ff9999;
  display: inline-block;
  padding: 6px 20px;
  border-radius: 40px;
  font-size: 1.2rem;
  border: 2px solid #b33939;
  margin-bottom: 12px;
}
.vraag-tekst {
  background: #fae5d3;
  padding: 16px;
  border-radius: 30px;
  border: 3px solid #f79f1f;
  font-size: 1.4rem;
  color: #8e44ad;
  margin-bottom: 16px;
  word-break: break-word;
}
.antwoorden-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.antwoord-btn {
  background: #f5b7b1;
  border: 3px solid #e67e22;
  border-radius: 40px;
  padding: 14px 8px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #78281f;
  box-shadow: 0 4px 0 #ba6b2b;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  padding-left: 20px;
}
.antwoord-btn:active {
  transform: translateY(4px);
  box-shadow: none;
}
.antwoord-btn.geselecteerd {
  background: #82e0aa;
  border-color: #28b463;
  color: #1d4e1d;
}
.feedback {
  background: #f7dc6f;
  border-radius: 30px;
  padding: 12px;
  margin: 15px 0 8px;
  font-size: 1.3rem;
  border: 3px solid #d68910;
  font-weight: bold;
}
.onderwerp-extra {
  background: #a9dfbf;
  border-radius: 30px;
  padding: 14px;
  border: 4px solid #2ecc71;
  font-size: 1.1rem;
  margin: 10px 0 5px;
}
.actie-knop {
  background: #ffb142;
  border: none;
  border-radius: 50px;
  padding: 14px 20px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #b33939;
  border: 3px solid #cc8e34;
  box-shadow: 0 5px 0 #aa6322;
  cursor: pointer;
  margin: 12px auto 6px;
  display: inline-block;
  font-family: inherit;
  width: auto;
  min-width: 200px;
}
.actie-knop:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #aa6322;
}
.cert-form {
  background: #fad390;
  border-radius: 40px;
  padding: 20px;
  border: 4px solid #f8c471;
  margin: 10px 0;
}
.cert-form input {
  font-family: inherit;
  padding: 14px;
  font-size: 1.3rem;
  border-radius: 40px;
  border: 3px solid #e67e22;
  width: 100%;
  background: #fff3cd;
  text-align: center;
}
.teller, .naam-waarschuwing, .cert-status {
  font-size: 1rem;
  margin: 6px 0;
}
.opbeurend {
  background: #f1948a;
  border-radius: 40px;
  padding: 22px;
  font-size: 1.6rem;
  border: 5px solid #943126;
  margin: 15px 0;
}
.site-footer {
  margin-top: 16px;
  text-align: center;
  color: #ba6b2b;
  font-size: 1.1rem;
}
.onzichtbaar {
  display: none !important;
}
.centrum {
  text-align: center;
}
@media (max-width: 360px) {
  .quiz-card { padding: 16px 10px; }
  h1 { font-size: 1.8rem; }
  .niveau-box p { font-size: 1.4rem; }
}
