/* Local behavior and quiz styling layered on top of the captured Funnelish layout. */

@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;500;600;700&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

/* The captured markup starts media as transparent lazy-load placeholders. */
img[data-src] {
  max-width: 100%;
}

.main_wrapper_main,
.main-wrapper {
  width: 100%;
}

.image-resize img {
  display: block;
  width: 100%;
  height: auto;
}

.quiz-app {
  width: min(100%, 1080px);
  height: 1280px;
  margin: 0 auto;
  overflow: hidden;
  background: #f5f4ee;
  color: #6e1786;
  font-family: Lato, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.riddle-local {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f5f4ee;
}

.riddle-local-main {
  position: relative;
  flex: 1 0 auto;
  overflow: hidden;
}

.riddle-progress {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 20px;
  display: flex;
  gap: 6px;
  padding: 8px;
}

.riddle-progress-tab {
  height: 4px;
  flex: 1;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  color: transparent;
  font-size: 0;
}

.riddle-progress-tab.active {
  background: #fb0898;
}

.riddle-pager {
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 3;
  height: 40px;
  border-radius: 0 100px 100px 0;
  padding: 10px 21px 10px 13px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.24);
}

.riddle-pager p {
  margin: 0;
  color: #6e1786;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.riddle-block {
  display: flex;
  flex-direction: column;
  padding: 50px 110px 20px;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 420ms ease, transform 700ms ease;
}

.riddle-block.is-entering {
  opacity: 0;
  transform: translateX(15%);
}

.riddle-block.is-leaving {
  opacity: 0;
  transform: translateX(-15%);
}

.riddle-title {
  order: 1;
}

.riddle-title h1 {
  margin: 0 0 10px;
  color: #000;
  font: 500 22px/1.5 Lato, Arial, sans-serif;
}

.riddle-description {
  order: 2;
}

.riddle-description p {
  margin: 0 0 10px;
  color: #000;
  font-size: 14px;
}

.riddle-form {
  order: 3;
  margin: 0;
}

.riddle-form-list {
  position: relative;
  min-height: 80px;
  padding: 0;
}

.riddle-form-item {
  width: 100%;
  padding: 8px 4px;
}

.riddle-form-item > label,
.riddle-date-input label {
  display: block;
  width: 100%;
  margin: 0;
  color: #6e1786;
  font-size: 14px;
}

.riddle-form-item > label {
  margin-bottom: 8px;
  color: #000;
}

.riddle-input {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 13px 16px;
  background: #fff;
  color: #000;
  font: 400 14px/1.54 Lato, Arial, sans-serif;
  outline: 0;
  transition: border-color 400ms ease;
}

.riddle-input::placeholder {
  color: rgba(66, 66, 66, 0.5);
}

.riddle-input:focus,
.riddle-input:hover {
  border-color: #ccd2de;
}

.riddle-date-input {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 10px;
}

.riddle-date-input label {
  margin-bottom: 8px;
}

.riddle-date-input .riddle-input {
  margin-top: 8px;
}

.riddle-error {
  margin: 0;
  padding: 10px 0;
  color: #f44b4b;
}

.riddle-form-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.riddle-send {
  width: auto;
  min-width: 92px;
  border: 0;
  border-radius: 20px;
  padding: 10px 30px;
  background: #fb0898;
  color: #fff;
  cursor: pointer;
  font: 600 16px/20px Lato, Arial, sans-serif;
  text-transform: uppercase;
  transition: transform 100ms ease;
}

.riddle-send:hover,
.riddle-send:focus-visible {
  transform: scale(1.15);
}

.riddle-choices {
  order: 3;
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}

.riddle-choice {
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid #5b146f;
  border-radius: 50px;
  padding: 10px 50px 10px 42px;
  background: #fff;
  color: #6e1786;
  cursor: pointer;
  font-family: Lato, Arial, sans-serif;
  text-align: left;
  transition: border-color 400ms ease;
}

.riddle-choice:hover,
.riddle-choice:focus-visible {
  border-color: #6e1786;
  outline: 0;
}

.riddle-choice-radio {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 24px;
  height: 24px;
  border: 2px solid #5b146f;
  border-radius: 50%;
  transform: translateY(-50%);
}

.riddle-choice-radio::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #5b146f;
  content: "";
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease;
}

.riddle-choice[aria-checked="true"] .riddle-choice-radio::after {
  opacity: 1;
}

.riddle-choice-title {
  color: #6e1786;
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  word-break: break-word;
}

.riddle-local-footer {
  flex-shrink: 0;
  background: transparent;
  color: #333;
  text-align: center;
}

.riddle-wave {
  display: block;
  width: 100%;
  height: 50px;
  margin-bottom: -1px;
  fill: #5b146f;
  background: #f5f4ee;
}

.faq-header {
  cursor: pointer;
}

.faq.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 180ms ease;
}

.video-native video {
  width: 100%;
  display: block;
}

.video-native .play-button {
  pointer-events: none;
}

.review-video-surface {
  position: absolute;
  z-index: 2;
  inset: 0 0 58px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.review-video-surface:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
  border-radius: 6px 6px 0 0;
}

.video-native.is-playing .play-button {
  display: none;
}

.sticky_show_after {
  display: none !important;
}

.sticky_show_after.is-visible {
  display: block !important;
}

@media (max-width: 520px) {
  [id="152821"] {
    flex-grow: 1;
  }

  [id="152821"] .section_row,
  [id="152821"] .row-column,
  [id="152821"] .element-wrapper,
  [id="152821"] .custom,
  [id="152821"] .custom-inner {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
  }

  .quiz-app {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    height: auto;
  }

  .riddle-local {
    flex: 1 0 auto;
    height: auto;
  }

  .riddle-block {
    padding-right: 20px;
    padding-left: 20px;
  }

  .riddle-pager {
    top: auto;
    bottom: 0;
    height: auto;
    border-radius: 0;
    padding: 10px;
    background: transparent;
    box-shadow: none;
  }

  .riddle-pager p {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
