// CSS for Quiz

.main-container {
  background-color: #fff;
  font-family: "Open Sans", sans-serif;
}

.centralize {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 4rem;
}

.quiz-container {
  display: flex;
  flex-direction: column;
  width: 90rem;
}

.quiz-section {
  padding-top: 0;
  padding-inline: 0;
  margin-top: 20px;
}

.quiz-title {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.quiz-title h2 {
  color: #213D4F;
  font-size: 26px;
  font-weight: 600;
  padding-bottom: 10px;
}

.quiz-title-variation {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.quiz-title-variation h2 {
  color: #d6a317;
  font-size: 26px;
  font-weight: 600;
  padding-bottom: 10px;
}

.quiz-title-variation p {
  color: black;
  font-size: 18px;
}

.quiz-title p {
  color: black;
  font-size: 18px;
}

.quiz-box {
  border: 1px solid #D7D7D7;
  background: #213D4F;
  padding: 30px;
  border-radius: 20px;
  margin-top: 25px;
}

.question-box {
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.question-box label{
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 4px;
}

.question-box input{
  border: 3px solid #D7D7D7;
  border-radius: 6px;
  padding: 6px;
  font-size: 18px;
  font-weight: 600;
  font-size: 16px;
  font-weight: normal;
}

.question-box select {
  border: 3px solid #D7D7D7;
  border-radius: 6px;
  padding: 10px;
  font-size: 18px;
  font-weight: 600;
  font-size: 16px;
  font-weight: normal;
}

.question-box button {
  width: 100%;
  background-color: #208425;
  border-radius: 6px;
  padding: 10px;
  color: #fff
}

.quiz-box-variant {
  border: 1px solid #D7D7D7;
  background: #213D4F;
  padding: 30px;
  border-radius: 20px;
  width: 60rem;
  margin-top: 25px;
}

.question-title h2{
  color: #fff;
  font-size: 18px;
}

.question-title .options {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.question-title input[type="radio"] {
  display: none;
}

.question-title label {
  background-color: gray;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  font-size: 16px;
}

.question-title label:hover {
  background-color: #333;
}

.question-title input[type="radio"]:checked + label {
  background-color: #337ab7;
  border-color: #337ab7;
}

.question-submit {
  text-align: right;
}

.question-submit button {
  background-color: #208425;
  border-radius: 6px;
  padding-inline: 50px;
  padding-block: 10px;
  color: #fff;
}

.copy {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: firebrick;
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  font-weight: 500;
}

.copy h2{
  font-size: 20px;
  font-weight: 600;
}

.copy p{
  font-size: 14px;
  font-weight: 600;
}

.schedule-session-button {
  align-self: center;
  background-color: #208425;
  border-radius: 6px;
  padding-inline: 50px;
  padding-block: 10px;
  color: #fff
}

.graphs-section {
  width: 100%;
  margin-left: calc(-50vw + 50%);
  display: flex;
  flex-direction: row;
  justify-self: center;
  padding: 3rem;
  background: #fff;
}

.graphs-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: #213D4F;
}

.graphs-section-variation {
  width: 100%;
  margin-left: calc(-50vw + 50%);
  display: flex;
  flex-direction: row;
  justify-self: center;
  padding: 3rem;
  background: #fff;
}

.graphs-section-variation h2 {
  font-size: 18px;
  font-weight: 600;
  color: #d6a317;
}

.try-again-button {
  background-color: #337ab7;
  border-radius: 6px;
  padding-inline: 50px;
  padding-block: 10px;
  color: #fff
}

@media (min-width: 1200px) {
  .quiz-container {
    width: 1170px;
  }
}

@media (min-width: 992px) {
  .quiz-container {
    width: 970px;
  }
}

@media (min-width: 768px) {
  .quiz-container {
    width: 750px;
  }
}

@media (max-width: 768px) {
  .centralize {
    padding-top: 2rem;
  }

  .quiz-container {
    width: 100%;
  }

  .quiz-title h2,
  .quiz-title-variation h2 {
    font-size: 18px !important;
    text-align: center;
  }

  .quiz-title p {
    font-size: 16px;
    text-align: center;
  }

  .quiz-box,
  .quiz-box-variant {
    width: 100%;
    padding: 20px;
    margin-top: 15px;
  }

  .question-box label {
    font-size: 16px;
  }

  .question-box input,
  .question-box select {
    font-size: 15px;
    padding: 8px;
  }

  .question-title h2 {
    font-size: 16px;
  }

  .question-title .options {
    flex-direction: column;
    gap: 10px;
  }

  .question-title label {
    font-size: 14px;
    padding: 8px 16px;
    text-align: center;
  }

  .question-submit {
    text-align: center;
  }

  .question-submit button {
    width: 100%;
    padding-block: 12px;
    padding-inline: 0;
  }

  .copy {
    padding: 12px;
    gap: 10px;
  }

  .copy h2 {
    font-size: 18px;
  }

  .copy p {
    font-size: 13px;
  }

  .schedule-session-button,
  .try-again-button {
    width: 80%;
    padding-block: 12px;
    padding-inline: 0;
    text-align: center;
  }

  .graphs-section,
  .graphs-section-variation {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    margin-left: 0;
  }

  .graphs-section h2,
  .graphs-section-variation h2 {
    font-size: 16px !important;
    text-align: center;
    margin-bottom: 1rem;
  }
}
