main {
  height: 100dvh;
}

#quiz-container {
  display: flex;
  gap: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#quiz-title {
  top: 40px;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  font-weight: 400;
}

#quiz-title > span {
  color: #f7931e;
}

#question-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 450px;
  padding: 0 20px;
  border-radius: 20px;
}

#question-number {
  font-size: 1.5rem;
  font-weight: 600;
}

#question-number > span {
  color: #f7931e;
}

#question-text {
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  font-weight: 400;
  padding: 0 1rem;
}

#options-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 90%;
}

button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 450px;
  padding: 1rem;
  border: 1px solid #fff;
  border-radius: 15px;
  cursor: pointer;
  font-size: 1.2rem;
}

button:hover {
  background-color: rgba(122, 117, 111, 0.7);
  color: #fff;
}

#question-container > div {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#prev-btn,
#next-btn {
  width: fit-content;
  padding: 1rem 60px;
}

#prev-btn:hover,
#next-btn:hover {
  background-color: #f7931e;
  color: #fff;
}

.selected {
  background-color: #f7931e;
  color: #fff;
}

.selected:hover {
  background-color: #f7931e;
  color: #fff;
}

.score {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.score > h2 {
  font-size: 2rem;
  font-weight: 400;
}

.score > h2 > span,
.score > p > span {
  color: #f7931e;
}

.score > p {
  font-size: 1.3rem;
  font-weight: 400;
}

.score > button {
  width: fit-content;
}

/*-------------For ipads and tablets section--------------*/

@media screen and (min-width: 1025px) {
  #quiz-container {
    gap: 50px;
    flex-direction: row;
    padding: 0 20px;
    max-width: 1200px;
    margin: auto;
  }

  #quiz-title {
    width: 100%;
    transform: none;
    position: static;
    font-size: 3rem;
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  #quiz-title > span {
    font-size: 6rem;
  }

  #question-container {
    align-items: flex-start;
    max-width: 650px;
  }

  #question-text {
    text-align: left;
    font-size: 2.5rem;
  }

  #options-container {
    width: 100%;
    max-width: 800px;
    padding: 0;
  }

  h2 {
    font-size: 3rem;
    padding: 0;
  }

  button {
    width: 100%;
    max-width: 100%;
  }

  .score {
    flex-direction: column;
  }

  .score > h2 {
    font-size: 4rem;
  }

  .score > p {
    font-size: 1.5rem;
  }
}
