:root {
  --bg: #0e0c0a;
  --panel: #1b1712;
  --panel-soft: #241f18;
  --text: #eae0cc;
  --muted: #a2937a;
  --line: #4a3b24;
  --accent: #d9b45f;
  --accent-dark: #a8842f;
  --gold: #d9b45f;
  --gold-light: #f6e3ac;
  --gold-dark: #8a6a2c;
  --correct: #74cf94;
  --wrong: #e2685a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui,
    sans-serif;
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* 화면 전체 배경 레이어. 교실(.scene-room)과 아웃트로 도시(.scene-city)가 번갈아 보인다.
   위치는 %·vmin·clamp() 기준이라 화면 비율이 달라도 잘리지 않고 자연스럽게 늘어난다. */
.scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

/* 잠긴 밤 학원 교실(형광등·칠판·창문·책상 실루엣) */
.scene-room {
  background: linear-gradient(
    180deg,
    #0f1319 0%,
    #171d23 24%,
    #1e262b 46%,
    #212a2d 64%,
    #161b1d 82%,
    #0a0c0d 100%
  );
}

/* 천장 형광등: 차가운 빛이 벽과 바닥으로 번진다. */
.scene-lights {
  position: absolute;
  inset: 0 0 auto 0;
  height: 42%;
  background:
    radial-gradient(46% 30% at 26% 12%, rgba(230, 240, 232, 0.3), transparent 72%),
    radial-gradient(46% 30% at 74% 20%, rgba(230, 240, 232, 0.22), transparent 72%),
    radial-gradient(70% 42% at 50% 0%, rgba(214, 226, 220, 0.16), transparent 76%),
    linear-gradient(180deg, rgba(206, 220, 214, 0.1), transparent 82%);
  animation: roomGlow 8s ease-in-out infinite alternate;
}

.scene-lights::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 6%;
  height: 2.6%;
  border-radius: 3px;
  background: linear-gradient(180deg, #fdfaec, #d8d3b4 58%, #8f8a6a);
  box-shadow:
    0 0 22px rgba(255, 248, 214, 0.55),
    0 0 64px rgba(255, 240, 190, 0.26);
}

.scene-lights::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  top: 15%;
  height: 2%;
  border-radius: 3px;
  background: linear-gradient(180deg, #f6f2da, #cfc9a8 58%, #7f7a5c);
  box-shadow:
    0 0 18px rgba(255, 248, 214, 0.42),
    0 0 48px rgba(255, 240, 190, 0.2);
  opacity: 0.9;
}

@keyframes roomGlow {
  from {
    opacity: 0.78;
  }
  to {
    opacity: 1;
  }
}

/* 칠판: 나무 테두리와 분필 자국 */
.scene-board {
  position: absolute;
  left: 6%;
  top: 30%;
  width: 42%;
  height: 32%;
  border-radius: 6px;
  background:
    radial-gradient(60% 40% at 28% 26%, rgba(255, 255, 255, 0.05), transparent 60%),
    radial-gradient(50% 30% at 72% 70%, rgba(180, 210, 190, 0.05), transparent 60%),
    linear-gradient(158deg, #1e3329, #16241d 62%, #0f1813);
  border: 7px solid #3a2c1c;
  box-shadow:
    inset 0 0 44px rgba(0, 0, 0, 0.55),
    0 12px 26px rgba(0, 0, 0, 0.55);
}

.scene-board::after {
  content: "";
  position: absolute;
  inset: 12% 14%;
  background:
    linear-gradient(90deg, rgba(240, 240, 225, 0.14) 0 38%, transparent 38%) 0 28% / 100%
      3px no-repeat,
    linear-gradient(90deg, rgba(240, 240, 225, 0.11) 0 26%, transparent 26%) 0 46% / 100%
      3px no-repeat,
    linear-gradient(90deg, rgba(240, 240, 225, 0.09) 0 44%, transparent 44%) 0 64% / 100%
      3px no-repeat;
  opacity: 0.85;
}

/* 창문: 잠긴 밤 교실, 창밖엔 달빛만 비친다. */
.scene-windows {
  position: absolute;
  right: 6%;
  top: 26%;
  width: 40%;
  height: 36%;
  border: 8px solid #2a2118;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 48%, #2a2118 48% 52%, transparent 52%),
    linear-gradient(180deg, transparent 48%, #2a2118 48% 52%, transparent 52%),
    radial-gradient(58% 52% at 68% 30%, rgba(246, 227, 172, 0.5), transparent 68%),
    linear-gradient(180deg, #131c2c 0%, #0f1725 58%, #0b111b 100%);
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.6),
    0 12px 26px rgba(0, 0, 0, 0.5);
  animation: windowGlow 9s ease-in-out infinite alternate;
}

@keyframes windowGlow {
  from {
    filter: brightness(0.9);
  }
  to {
    filter: brightness(1.08);
  }
}

/* 책상 실루엣: 아래쪽에 줄지어 놓인 책·걸상 윤곽 */
.scene-desks {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(8, 10, 11, 0), #0a0c0d 58%, #060708 100%);
}

.scene-desks::before {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0;
  height: 62%;
  background: #0b0d0e;
  clip-path: polygon(
    0 62%,
    3% 62%,
    3% 30%,
    12% 30%,
    12% 62%,
    17% 62%,
    17% 34%,
    26% 34%,
    26% 62%,
    31% 62%,
    31% 28%,
    40% 28%,
    40% 62%,
    45% 62%,
    45% 34%,
    54% 34%,
    54% 62%,
    59% 62%,
    59% 30%,
    68% 30%,
    68% 62%,
    73% 62%,
    73% 36%,
    82% 36%,
    82% 62%,
    87% 62%,
    87% 30%,
    96% 30%,
    96% 62%,
    100% 62%,
    100% 100%,
    0 100%
  );
  opacity: 0.9;
}

/* 아웃트로(결과 화면) 배경: 학원을 나와 바라본 밤 도시 스카이라인.
   별·달·건물·안개 모두 CSS 도형이라 화면 비율이 달라도 %로 자연스럽게 늘어난다. */
.scene-city {
  background: linear-gradient(
    180deg,
    #070b1c 0%,
    #101731 30%,
    #262147 52%,
    #3b2f56 72%,
    #181430 100%
  );
}

/* 별: 작은 점을 여러 겹 겹쳐 뿌리고 천천히 반짝인다. */
.scene-stars {
  position: absolute;
  inset: 0 0 40% 0;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 16%, #fff8dc, transparent),
    radial-gradient(1.4px 1.4px at 26% 34%, #fdf3cf, transparent),
    radial-gradient(1.8px 1.8px at 38% 12%, #ffffff, transparent),
    radial-gradient(1.3px 1.3px at 52% 28%, #ffeec2, transparent),
    radial-gradient(1.7px 1.7px at 66% 20%, #fff8dc, transparent),
    radial-gradient(1.3px 1.3px at 78% 38%, #fdf3cf, transparent),
    radial-gradient(1.5px 1.5px at 88% 14%, #ffffff, transparent),
    radial-gradient(1.2px 1.2px at 8% 46%, #ffeec2, transparent),
    radial-gradient(1.4px 1.4px at 44% 52%, #fff8dc, transparent),
    radial-gradient(1.2px 1.2px at 72% 56%, #fdf3cf, transparent),
    radial-gradient(1.5px 1.5px at 18% 62%, #ffffff, transparent),
    radial-gradient(1.2px 1.2px at 92% 58%, #ffeec2, transparent);
  animation: starTwinkle 6.5s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}

/* 달: 도시 위로 번지는 노란 달빛 */
.scene-moon {
  position: absolute;
  right: 14%;
  top: 12%;
  width: 13vmin;
  height: 13vmin;
  max-width: 96px;
  max-height: 96px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 38% 34%,
    #fffdf3,
    #f2e6bd 62%,
    #cbb984 100%
  );
  box-shadow:
    0 0 38px rgba(246, 227, 172, 0.5),
    0 0 110px rgba(246, 227, 172, 0.22);
  animation: moonGlow 8s ease-in-out infinite alternate;
}

@keyframes moonGlow {
  from {
    filter: brightness(0.92);
  }
  to {
    filter: brightness(1.06);
  }
}

/* 멀리 보이는 빌딩 숲. clip-path 윤곽 안에만 불빛 창문 점이 찍힌다. */
.scene-skyline {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 16%;
  height: 42%;
  background: linear-gradient(180deg, #131a34, #080c1a);
  clip-path: polygon(
    0 58%,
    5% 58%,
    5% 30%,
    11% 30%,
    11% 58%,
    16% 58%,
    16% 42%,
    22% 42%,
    22% 58%,
    27% 58%,
    27% 22%,
    33% 22%,
    33% 58%,
    39% 58%,
    39% 38%,
    45% 38%,
    45% 58%,
    50% 58%,
    50% 26%,
    57% 26%,
    57% 58%,
    63% 58%,
    63% 44%,
    69% 44%,
    69% 58%,
    74% 58%,
    74% 18%,
    81% 18%,
    81% 58%,
    87% 58%,
    87% 36%,
    93% 36%,
    93% 58%,
    100% 58%,
    100% 100%,
    0 100%
  );
}

.scene-skyline::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(246, 227, 172, 0.6) 1.3px,
    transparent 1.5px
  );
  background-size: 13px 15px;
  opacity: 0.42;
}

/* 앞쪽에 겹치는 낮은 건물. 조금 더 어두워 원근이 생긴다. */
.scene-skyline-near {
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: 0;
  height: 30%;
  background: linear-gradient(180deg, #0c1024, #05070f);
  clip-path: polygon(
    0 46%,
    7% 46%,
    7% 22%,
    15% 22%,
    15% 46%,
    21% 46%,
    21% 34%,
    30% 34%,
    30% 46%,
    36% 46%,
    36% 16%,
    44% 16%,
    44% 46%,
    51% 46%,
    51% 30%,
    60% 30%,
    60% 46%,
    66% 46%,
    66% 20%,
    75% 20%,
    75% 46%,
    82% 46%,
    82% 32%,
    90% 32%,
    90% 46%,
    100% 46%,
    100% 100%,
    0 100%
  );
}

/* 도시 위로 낮게 깔린 안개 */
.scene-mist {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 0;
  height: 36%;
  background: linear-gradient(
    180deg,
    rgba(196, 186, 232, 0) 0%,
    rgba(196, 186, 232, 0.18) 48%,
    rgba(16, 14, 34, 0) 100%
  );
  filter: blur(7px);
  animation: mistDrift 15s ease-in-out infinite alternate;
}

@keyframes mistDrift {
  from {
    transform: translateX(-2%);
  }
  to {
    transform: translateX(2%);
  }
}

/* 글자 가독성용 어두운 막 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(85% 55% at 50% 0%, rgba(6, 8, 14, 0.34), transparent 62%),
    linear-gradient(180deg, rgba(6, 8, 14, 0.16), rgba(6, 8, 14, 0.26));
}

.app {
  width: 100%;
  max-width: 620px;
}

.panel {
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(217, 180, 95, 0.16),
    0 12px 30px rgba(0, 0, 0, 0.55);
}

.status-panel p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.status-panel p:last-child {
  margin-bottom: 0;
}

.quiz-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.progress-track {
  height: 8px;
  margin-bottom: 16px;
  background: #0d0b08;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--gold-light),
    var(--accent) 55%,
    var(--gold-dark)
  );
  box-shadow: 0 0 8px rgba(217, 180, 95, 0.5);
  transition: width 0.3s ease;
  overflow: hidden;
}

.progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: translateX(-100%);
  animation: barSweep 2.6s ease-in-out infinite;
}

@keyframes barSweep {
  0% {
    transform: translateX(-100%);
  }
  65%,
  100% {
    transform: translateX(100%);
  }
}

.combo {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #241c0c;
  background: linear-gradient(180deg, var(--gold-light), var(--accent));
  border: 1px solid var(--gold-light);
  border-radius: 3px;
}

.question {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.65;
  white-space: pre-line;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.answer-form {
  display: flex;
  gap: 8px;
}

.answer-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #110e0a;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.7);
}

.answer-input::placeholder {
  color: #7d715d;
}

.answer-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.answer-input:disabled {
  background: #17130f;
  color: var(--muted);
}

.btn {
  flex: 0 0 auto;
  padding: 11px 18px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 700;
  color: #241c0c;
  background: linear-gradient(
    180deg,
    var(--gold-light),
    var(--accent) 52%,
    var(--gold-dark)
  );
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #fff0c6, #e6c476 52%, #a07d2f);
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

.feedback {
  min-height: 1.5em;
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.feedback.correct {
  color: var(--correct);
}

.feedback.wrong {
  color: var(--wrong);
}

.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.result-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.result-score {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 700;
}

.result-detail {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.intro-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

/* 인트로의 제목·부제·시작 버튼이 각각 따로 떠 있는 카드 */
.intro-card {
  padding: 16px 18px;
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
  border: 1px solid #6b552c;
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(217, 180, 95, 0.26),
    0 0 22px rgba(217, 180, 95, 0.12),
    0 14px 30px rgba(0, 0, 0, 0.58);
}

.intro-title-card {
  text-align: center;
}

/* 인트로 장면은 띠 형태를 없애고 화면 전체 배경(.scene)으로 옮겼습니다. */

.intro-title {
  margin: 0 0 6px;
  font-size: 1.75rem;
  letter-spacing: 0.18em;
  text-align: center;
  color: var(--gold-light);
  text-shadow:
    0 0 14px rgba(217, 180, 95, 0.45),
    0 2px 0 rgba(0, 0, 0, 0.9);
  animation: titleGlow 4.2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from {
    text-shadow:
      0 0 9px rgba(217, 180, 95, 0.3),
      0 2px 0 rgba(0, 0, 0, 0.9);
  }
  to {
    text-shadow:
      0 0 22px rgba(246, 227, 172, 0.72),
      0 2px 0 rgba(0, 0, 0, 0.9);
  }
}

.intro-sub {
  margin: 0;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
  word-break: keep-all;
}

.intro-rules {
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-rules li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.intro-rules li + li {
  border-top: 1px dashed rgba(217, 180, 95, 0.18);
}

.intro-rules strong {
  color: var(--gold-light);
  font-weight: 700;
}

.btn-start {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 14px 18px;
  font-size: 1.02rem;
  letter-spacing: 0.12em;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 10px 24px rgba(0, 0, 0, 0.55),
    0 0 22px rgba(217, 180, 95, 0.22);
}

.btn-start::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 42%;
  height: 140%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: skewX(-18deg);
  animation: btnShine 3.6s ease-in-out 1s infinite;
  pointer-events: none;
}

@keyframes btnShine {
  0% {
    left: -60%;
  }
  55%,
  100% {
    left: 125%;
  }
}

.result-answer {
  margin: 0 0 14px;
  padding: 10px 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--gold-light);
  background: rgba(217, 180, 95, 0.08);
  border: 1px solid var(--line);
  border-radius: 4px;
  word-break: keep-all;
}

.result-title {
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

/* 화면 연출 */
#quiz {
  position: relative;
  overflow: hidden;
}

.panel.enter {
  animation: panelIn 0.34s ease-out;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel.shake {
  animation: panelShake 0.5s ease-in-out;
}

@keyframes panelShake {
  0%,
  100% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-7px);
  }
  32% {
    transform: translateX(6px);
  }
  50% {
    transform: translateX(-5px);
  }
  68% {
    transform: translateX(4px);
  }
  84% {
    transform: translateX(-2px);
  }
}

.gain-pop {
  position: absolute;
  right: 0;
  top: -16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--correct);
  text-shadow: 0 0 10px rgba(116, 207, 148, 0.5);
  pointer-events: none;
  animation: gainRise 0.95s ease-out forwards;
}

@keyframes gainRise {
  0% {
    opacity: 0;
    transform: translateY(9px);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-16px);
  }
}

.chances {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f0e3bd;
  background: rgba(20, 17, 13, 0.72);
  border: 1px solid rgba(217, 180, 95, 0.5);
  border-radius: 3px;
}

.chances.danger {
  color: #ffd9d0;
  background: rgba(72, 24, 16, 0.78);
  border-color: rgba(226, 104, 90, 0.75);
}

.combo.pop {
  animation: comboPop 0.45s ease-out;
}

@keyframes comboPop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.28) rotate(-3deg);
  }
  100% {
    transform: scale(1);
  }
}

.burst-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
}

.burst-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6d8, var(--accent) 70%);
  box-shadow: 0 0 9px rgba(217, 180, 95, 0.85);
  animation: burstOut 0.75s ease-out forwards;
}

@keyframes burstOut {
  from {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.3);
  }
}

.feedback.correct {
  animation: feedbackPop 0.35s ease-out;
}

.feedback.wrong {
  animation: feedbackPop 0.35s ease-out;
}

@keyframes feedbackPop {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-lights,
  .scene-windows,
  .scene-stars,
  .scene-moon,
  .scene-mist,
  .intro-title,
  .btn-start::after,
  .progress-bar::after,
  .panel.enter,
  .panel.shake,
  .gain-pop,
  .combo.pop,
  .burst-dot,
  .feedback.correct,
  .feedback.wrong {
    animation: none !important;
  }
}

.hidden {
  display: none !important;
}

/* 좁은 화면: 카드가 화면을 거의 채우므로 배경 요소를 가장자리로 밀고 크기를 줄인다. */
@media (max-width: 700px) {
  .scene-board {
    left: 4%;
    width: 44%;
  }

  .scene-windows {
    right: 4%;
    width: 42%;
  }
}

/* 낮은 화면(가로 모드 소형 기기): 배경 요소가 차지하는 비율을 줄인다 */
@media (max-height: 520px) {
  .scene-lights {
    height: 32%;
  }

  .scene-board {
    top: 26%;
    height: 30%;
  }

  .scene-windows {
    top: 22%;
    height: 34%;
  }

  .scene-desks {
    height: 24%;
  }
}

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

  .panel {
    padding: 14px;
  }

  .intro-panel {
    gap: 10px;
    padding: 0;
  }

  .intro-card {
    padding: 14px;
  }

  .intro-title {
    font-size: 1.5rem;
  }

  .answer-form {
    flex-wrap: wrap;
  }

  .answer-form .btn {
    flex: 1 1 100%;
  }
}
