/* Quiz 1 (page 02) */
.quiz-1 {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .quiz-1 {
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
  }

  .quiz-1__img {
    flex: auto;
    max-height: 80%;
    max-width: 50%;
  }

  .quiz-1__buttons {
    flex: 0 0 400px;
  }

  .quiz-1__buttons > *:not(:first-child) {
    margin-top: 20px;
  }
}

.quiz-1__img img {
  max-height: 100%;
  max-width: 100%;
}

/* Quiz 2 (page 04) */
.quiz-2 {
  background-color: var(--cardinal);
  display: flex;
  flex-wrap: wrap;
}

.quiz-2__item {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 80% 60%;
  text-align: center;
}

.quiz-2__item {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 50%;
}

@media (min-width: 1024px) {
  .quiz-2 {
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
  }
}

/* Quiz 3 (page 06) */
.quiz-3 {
  display: grid;
  grid-template-areas: "char button1" "char button2";
  grid-template-columns: 1fr 1fr;
  grid-gap: 50px;
  max-height: 600px;
}

.quiz-3__char {
  grid-area: char;
  display: flex;
  padding-left: 150px;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.quiz-3__quote {
  position: absolute;
  left: 0;
  top: -80px;
}

.quiz-3__item:nth-child(2) {
  grid-area: button1;
}

.quiz-3__item:nth-child(3) {
  grid-area: button2;
}

.quiz-3__item {
  align-items: center;
  background-position: 100% 0;
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  justify-content: flex-start;
  min-width: 500px;
  min-height: 200px;
}

/* Quiz 4 */
.quiz-4 {
  display: grid;
  grid-template-areas: "char button1" "char button2" "char button3";
  grid-template-columns: 1fr 1fr;
  grid-gap: 50px;
  max-height: 600px;
  width: 100%;
  max-width: 1000px;
}

.quiz-4__char {
  grid-area: char;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 400px;
}

.quiz-4__char img { max-height: 500px; }

.quiz-4__item:nth-child(2) { grid-area: button1; }
.quiz-4__item:nth-child(3) { grid-area: button2; }
.quiz-4__item:nth-child(4) { grid-area: button3; }
