#app {
  min-height: 100vh;
  background: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hello {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 5vw, 50px);
  text-align: center;
  width: clamp(350px, 90vw, 850px);
  max-width: 90vw;
}

.hello__text {
  font-family: var(--font-family);
  font-size: clamp(1.1rem, 4vw, var(--hello-font-size));
  font-weight: var(--hello-font-weight);
  text-align: center;
  color: var(--font-color);
}

.card {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 40px);
  background: var(--card-color);
  border-radius: var(--radius-card);
  padding: clamp(20px, 4vw, 35px) clamp(25px, 5vw, 45px);
  width: clamp(350px, 95vw, 910px);
  max-width: 95vw;
}

.question__title {
  font-family: var(--font-family);
  font-size: clamp(1.3rem, 5vw, var(--question-font-size));
  font-weight: var(--question-font-weight);
  color: var(--font-color);
}

.options__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(15px, 3vw, 25px);
}

.option {
  width: 100%;
  height: clamp(100px, 18vw, 140px);
  background: var(--option-color);
  border: none;
  border-radius: var(--radius-option);
  padding: clamp(15px, 3vw, 20px) clamp(20px, 4vw, 25px);
  font-family: var(--font-family);
  font-size: clamp(0.9rem, 3vw, var(--option-font-size));
  font-weight: var(--option-font-weight);
  color: var(--font-color);
  cursor: pointer;
}

.option:hover {
  background: var(--option-hover-color);
}

.option__selected {
  background: var(--option-selected-color);
}

.question__nav-progress-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--border);
}

.button__nav {
  display: flex;
  gap: clamp(10px, 2vw, 20px);
}

.progress {
  font-family: var(--font-family);
  font-size: clamp(0.8rem, 2.5vw, var(--button-font-size));
  font-weight: var(--button-font-weight);
  color: var(--font-color);
}

.results__title {
  font-family: var(--font-family);
  font-size: clamp(1.3rem, 5vw, var(--result-title-size));
  font-weight: var(--result-title-font-weight);
  color: var(--font-color);
}

.results__list {
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 3vw, 25px);
}

.result__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--option-color);
  border-radius: var(--radius-result);
  padding: clamp(15px, 3vw, 20px) clamp(20px, 4vw, 25px);
}

.result__subtitle {
  font-family: var(--font-family);
  font-size: clamp(1.1rem, 4vw, var(--result-subtitle-font-size));
  font-weight: var(--result-subtitle-font-weight);
  color: var(--font-color);
}

.result__description {
  font-family: var(--font-family);
  font-size: clamp(0.9rem, 3vw, var(--result-description-font-size));
  font-weight: var(--result-description-font-weight);
  color: var(--font-color);
  line-height: 1.5;
}

.button {
  align-self: center;
  border: none;
  border-radius: var(--radius-button);
  padding: clamp(12px, 3vw, 20px) clamp(20px, 4vw, 25px);
  font-family: var(--font-family);
  font-size: clamp(0.85rem, 2.5vw, var(--button-font-size));
  font-weight: var(--button-font-weight);
  color: var(--font-color);
  cursor: pointer;
}

.button:hover:not(:disabled) {
  background: var(--button-hover-color);
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button__start {
  background: var(--button-start-color);
}

.button__next {
  background: var(--button-next-color);
}

.button__previous {
  background: var(--button-previous-color);
}

.buttton__reset {
  background: var(--button-reset-color);
}

@media screen and (max-width: 767px) {
  .options__container {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 20px 25px;
  }

  .results__list {
    flex-direction: row;
    padding: 16px 0;
    gap: 10px;
    overflow-x: auto; 
    scrollbar-width: thin;
  }
  
  .result__card {
    min-width: 280px;
  }
}

@media screen and (max-width: 376px) {
  .option {
    height: clamp(90px, 25vw, 120px);
  }
}



