* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #e86a33;
  --secondary-color: #f5efe6;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  background-color: var(--secondary-color);
}

/* Common */

.container {
  width: calc(100% - 48px);
  max-width: 600px;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.screen {
  padding: 2rem;
  text-align: center;
  display: none;
}

.screen.active {
  display: block;
}

.title {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.desc {
  color: #666;
  font-size: 1.1rem;
}

.btn {
  padding: 15px 30px;
  color: #fff;
  background-color: var(--primary-color);
  font-size: 1.1rem;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  transition: background-color 300ms ease;
}

.btn:hover {
  background-color: #d45b28;
}

/* Start screen */
#start-screen .title {
  margin-bottom: 20px;
}

#start-screen .desc {
  margin-bottom: 20px;
}
/* Quiz screen */
.quiz-header {
  margin-bottom: 2rem;
}

#question-text {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.quiz-info {
  display: flex;
  justify-content: space-between;
}

.answers-container {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.answer-btn {
  padding: 1rem;
  color: #666;
  font-size: 1rem;
  background: var(--secondary-color);
  border: 2px solid #eadbc8;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: all 300ms ease;
}

.answer-btn:hover {
  background-color: #eadbc8;
  border-color: #dac0ae;
}

.answer-btn.correct {
  background-color: #e6fff0;
  border-color: #a3f0c4;
  color: #28a745;
}

.answer-btn.incorrect {
  background-color: #fff0f0;
  border-color: #ffbdbd;
  color: #dc3545;
}

.progress-bar {
  margin-top: 2rem;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background-color: #f8f0e5;
  overflow: hidden;
}

.progress {
  width: 0%;
  height: 100%;
  background-color: var(--primary-color);
  transition: width 300ms ease;
}

/* Result screen */
.result-info {
  margin: 2rem 0;
  padding: 2rem;
  background: #f8f0e5;
  border-radius: 20px;
}

#result-message {
  margin-top: 20px;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 500px) {
  .screen {
    padding: 1rem;
  }
  .title {
    font-size: 2rem;
  }
  #question-text {
    font-size: 1.3rem;
  }
  .answer-btn {
    padding: 12px;
  }
  .btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
}
