.question-container {
  display: none;
  text-align: center;
  margin: 20px 0;
}
.question-container.active {
  display: block;
}
.answer {
  display: block;
  margin: 10px auto;
  padding: 15px 20px;
  width: 90%;
  max-width: 400px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  background-color: #333;
  color: #fff;
  font-size: 1rem;
}
.answer:hover {
  background-color: #555;
}
img {
  max-width: 100%;
  height: auto;
}

#loading-screen {
  display: none;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 20%;
}

.typing {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid;
  animation: typing 2s steps(15) forwards, blink 0.5s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 14ch; /* 글자 수에 맞게 수정 */
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
