@font-face {
  font-family: "Ppfragment glare fat";
  src: url("https://uploads-ssl.webflow.com/651adda8bdcf7f22afcb68d8/651bd5522699bcc1af1dffa0_PPFragment-GlareRegular.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ppfragment sans";
  src: url("https://uploads-ssl.webflow.com/651adda8bdcf7f22afcb68d8/651bd55244e4edfe8ace2d82_PPFragment-SansRegular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ppfragment glare";
  src: url("https://uploads-ssl.webflow.com/651adda8bdcf7f22afcb68d8/651bd5522699bcc1af1dffa0_PPFragment-GlareRegular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.quiz-page {
  background-color: #f8e5eb;
  color: #ff4632;
  font-family: "Ppfragment sans", Arial, sans-serif;
}

.quiz-shell {
  position: relative;
  width: 100%;
  min-height: 720px;
  overflow: hidden;
  background-color: #f8e5eb;
}

.quiz-welcome,
.quiz-card,
.quiz-results {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 720px;
  background-color: #f8e5eb;
  transition: transform .5s ease-in-out;
}

.quiz-welcome {
  transform: translateY(0);
  z-index: 3;
}

.quiz-welcome.is-hidden {
  transform: translateY(-100%);
}

.welcome-content {
  display: flex;
  width: min(1180px, 90%);
  min-height: 720px;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f8e5eb;
}

.welcome-image-div {
  width: 50%;
  padding: 20px;
}

.welcome-image {
  width: min(460px, 90%);
  height: auto;
  margin-left: 50px;
}

.welcome-text {
  max-width: 360px;
  padding: 0 20px 40px;
}

.welcome-text h2 {
  margin: 0 0 14px;
  color: #000;
  font-family: "Ppfragment glare fat", Arial, sans-serif;
  font-size: 40px;
  line-height: 1.1;
  text-align: left;
}

.welcome-text p {
  max-width: 300px;
  margin: 0 0 20px;
  color: #000;
  font-family: "Ppfragment sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.quiz-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transform: translateY(100%);
  z-index: 2;
}

.quiz-card.is-visible {
  transform: translateY(0);
}

.quiz-card.is-hidden {
  transform: translateY(-100%);
}

.quiz-progress {
  margin-bottom: 24px;
  text-align: center;
}

.quiz-step {
  display: inline-block;
  padding: 0 8px 9px;
  border-bottom: 1px solid #ff4632;
  color: #ff4632;
  font-family: "Ppfragment glare", Arial, sans-serif;
  font-size: 20px;
}

.quiz-bar {
  display: none;
}

.quiz-question {
  max-width: 900px;
  margin: 0 0 30px;
  color: #ff0000;
  font-family: "Ppfragment glare fat", Arial, sans-serif;
  font-size: 42px;
  line-height: 1.25;
  text-align: center;
}

.quiz-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.quiz-option,
.quiz-button,
.big-start {
  margin: 10px;
  border: 2px solid #ff0000;
  border-radius: 50px;
  font-family: "Ppfragment glare", Arial, sans-serif;
  cursor: pointer;
}

.quiz-option {
  min-width: 170px;
  padding: 10px 30px;
  background-color: transparent;
  color: #ff0000;
  font-size: 24px;
}

.quiz-option:hover,
.quiz-option:focus,
.quiz-option.is-selected {
  background-color: #ff0000;
  color: #fff;
  outline: none;
}

.big-start {
  margin-top: 80px;
  padding: 10px 60px;
  background-color: #ff4632;
  color: #fff;
  font-size: 30px;
}

.big-start:hover,
.quiz-button:hover {
  background-color: #ff0000;
  color: #fff;
}

.quiz-actions {
  display: none;
}

.quiz-side {
  display: none;
}

.quiz-results {
  display: block;
  transform: translateY(100%);
  z-index: 1;
  overflow-y: auto;
  overflow-x: hidden;
  color: #000;
}

.quiz-results.is-visible {
  transform: translateY(0);
  z-index: 4;
}

.quiz-results-header {
  position: relative;
  display: flex;
  width: min(1180px, 90%);
  min-height: 540px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.quiz-results-header::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 40px;
  width: min(240px, 28vw);
  aspect-ratio: 1;
  background: var(--quiz-single-image) center / contain no-repeat;
}

.quiz-results-header h2 {
  margin: 0;
  color: #ff0000;
  font-family: "Ppfragment glare", Arial, sans-serif;
  font-size: 46px;
  line-height: 1.2;
}

.quiz-results-header p {
  max-width: 560px;
  margin: 16px auto 0;
  color: #000;
  font-family: "Ppfragment glare fat", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.25;
}

.quiz-score {
  position: absolute;
  left: 8%;
  bottom: 56px;
  color: #ff0000;
  font-family: "Ppfragment glare", Arial, sans-serif;
}

.quiz-score strong {
  display: block;
  font-size: 58px;
  line-height: 1;
}

.quiz-results h3 {
  width: min(1180px, 80%);
  margin: 20px auto;
  color: #ff0000;
  font-family: "Ppfragment glare fat", Arial, sans-serif;
  font-size: 26px;
}

.quiz-results-grid,
.quiz-product-grid {
  display: grid;
  width: min(1180px, 80%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 20px auto;
}

.quiz-result-item,
.quiz-product {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 30px;
  background-color: #efeefc;
  color: #000;
  text-align: left;
}

.quiz-result-item strong,
.quiz-product strong {
  color: #000;
  font-family: "Ppfragment glare fat", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.15;
}

.quiz-result-item span,
.quiz-product p {
  margin: 12px 0;
  font-size: 15px;
  line-height: 1.25;
}

.quiz-product img {
  width: 50%;
  max-width: 150px;
  margin-left: -22px;
}

.quiz-product a {
  align-self: flex-start;
  padding: 5px 14px;
  border: 1px solid #ff0000;
  border-radius: 20px;
  color: #ff0000;
  font-family: "Ppfragment glare", Arial, sans-serif;
  text-decoration: none;
}

.quiz-download-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: min(1180px, 80%);
  margin: 24px auto 64px;
}

.quiz-button {
  padding: 10px 30px;
  background-color: #ff4632;
  color: #fff;
  font-size: 20px;
}

.quiz-button.secondary {
  background-color: transparent;
  color: #ff0000;
}

@media screen and (max-width: 760px) {
  .quiz-shell,
  .quiz-welcome,
  .quiz-card,
  .quiz-results {
    min-height: 760px;
  }

  .welcome-content {
    min-height: 760px;
    flex-direction: column;
    gap: 0;
    padding-top: 24px;
  }

  .welcome-image-div {
    width: 60%;
    padding: 0;
  }

  .welcome-image {
    width: 100%;
    max-width: 260px;
    margin-left: 0;
  }

  .welcome-text {
    max-width: 320px;
    text-align: center;
  }

  .welcome-text h2 {
    font-size: 34px;
    text-align: center;
  }

  .welcome-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .big-start {
    margin-top: 50px;
  }

  .quiz-question {
    font-size: 34px;
  }

  .quiz-options {
    flex-direction: column;
  }

  .quiz-results-header {
    min-height: 420px;
    padding-top: 54px;
  }

  .quiz-results-header::after,
  .quiz-score {
    display: none;
  }

  .quiz-results-header h2 {
    font-size: 34px;
  }

  .quiz-results-header p {
    font-size: 20px;
  }

  .quiz-results-grid,
  .quiz-product-grid,
  .quiz-results h3,
  .quiz-download-row {
    width: 84%;
  }

  .quiz-results-grid,
  .quiz-product-grid {
    grid-template-columns: 1fr;
  }
}
