@font-face {
  font-family: Interstate;
  font-style: normal;
  font-weight: normal;
  src: url('fonts/Interstate-Light.ttf') format("truetype")
}

@font-face {
  font-family: Interstate;
  font-style: normal;
  font-weight: bold;
  src: url('fonts/Interstate-Bold.ttf') format("truetype")
}

body {
  font-family: Interstate, Arial, sans-serif;
  background: #fff;
  color: #333;
  margin: 0;
  padding: 0;
  text-align: center;
  line-height: 1.4;
}

#quiz-root {
  margin: 48px auto;
  max-width: 1000px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  gap: 50px;
  align-items: stretch;
}

#quiz-root > * {
  max-width: 600px;
}

.leftcol,
.rightcol {
  width: 45%;
}

.rightcol {
  display: flex;
  justify-content: center;
  flex-flow: column;
}

.quiz-header {
  margin-bottom: 32px;
}

.quiz-header img {
  width: 100%;
  margin: 0 auto 1.3rem auto;
  display: block;
}

.quiz-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.3em;
}

.quiz-description {
  font-size: 1.15rem;
}

.question-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5em auto 1em auto;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  margin: 1.5em auto 2em auto;
}

.quiz-btn {
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  background: #ccbb94;
  color: #fff;
  padding: 0.9em 2em;
  cursor: pointer;
  margin: 0.7em 0;
  box-shadow: 0 1px 8px #665aaf25;
  transition: background 0.18s, box-shadow 0.18s;
}

.quiz-btn:hover:not([disabled]) {
  background: #000;
}

.option-btn {
  background: #eaece6;
  font-size: 1.1rem;
  color: #2d2656;
  border: 2px solid #eaece6;
  border-radius: 13px;
  padding: 1em;
  cursor: pointer;
  transition: background 0.14s, border 0.14s, color 0.14s;
}

.option-btn.correct {
  border-color: #45c68e;
  background: #e1fbe9;
  color: #228650;
}

.option-btn.incorrect {
  border-color: #ea384c;
  background: #ffd5d8;
  color: #c8002d;
}

.option-btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.result-img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 1px 14px #bbb5;
  margin: 1em auto 2em auto;
  display: block;
}

.score-summary {
  font-size: 1.32rem;
  font-weight: 600;
  text-align: center;
  margin: 1.5em 0 1em 0;
}