.wrapper {
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: var(--extra-1-color);
}

.wrapper .container {
  width: 100%;
  height: 100%;
  max-width: 1400px;
  background-color: var(--light-color);
  background-image: url('../assets/general/images/background/background.png');
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wrapper .container .headline {
  width: 70%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.wrapper .container .headline h1 {
  text-align: center;
  font-size: 4rem;
}

.wrapper .container .headline p {
  text-align: center;
  font-size: 1.25rem;
}

.quiz {
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: column;

  align-items: center;
}

.quiz__question {
  margin-top: 2rem;
  width: 80%;
}

.quiz__question #question {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.quiz__question #answers-btns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.quiz__controls {
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#quiz-result {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Utilities */
.btn {
  text-decoration: none;
  text-align: center;
  color: var(--dark-color);
  padding: 0.75rem 2rem;
  border: 2px solid var(--dark-color);
  font-size: 1.25rem;
  line-height: 1.25rem;
  font-weight: 600;
  background-color: var(--light-color);
  transition: all 100ms ease-in-out;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--extra-1-color);
  color: var(--dark-color);
}

.btn-start {
  font-weight: 600;
  margin-top: 3rem;
}

.btn-next {
  margin-top: 1rem;
  background-color: var(--light-color);
  color: var(--dark-color);
  border: 2px solid var(--dark-color);
  font-weight: 600;
}

.btn-correct,
.btn-correct:hover {
  background-color: var(--correct-color);
  color: var(--light-color);
}

.btn-wrong,
.btn-wrong:hover {
  background-color: var(--wrong-color);
  color: var(--light-color);
}

.hide {
  display: none;
}

/* Desktop styles */
@media screen and (min-width: 1400px) {
  .wrapper .container {
    border: 15px solid var(--dark-color);
  }

  .quiz__question #answers-btns {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .btn {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
}

.pulse-text {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
