[x-cloak] { display: none !important; }

#quiz {
  padding: 12rem 2rem;
  position: relative;
  background: linear-gradient(90deg, rgba(247, 247, 247, 0.00) 0%, rgba(218, 177, 91, 0.04) 100%);
}

#quiz > svg {
  position: absolute;
  top: 0;
  right: 0;
}

.quiz__bg {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  width: calc(20rem + ((100% - 1180px) / 2));
  background: var(--tangerine);
  transition: background .16s ease;
}

.quiz__bg-results {
  background: none;
  width: 100%;
}

.quiz__bg .burst.bottom.left {
  left: 0;
  bottom: 0;
}

.bg--tangerine {
  background: var(--tangerine);
}

.bg--sky-blue {
  background: var(--cyan-blue);
}

.bg--midnight-green {
  background: var(--midnight-green);
}

#quiz .content-wrapper {
  position: relative;
}

.quiz__wrapper {
  display: flex;
  gap: 5rem 14.7rem;
}

.quiz__left {
  flex: 0 1 40rem;
}

.quiz__question {
  flex: 0 1 48rem;
}

@media (max-width: 767px) {
  .quiz__wrapper {
    flex-direction: column;
  }

  .quiz__left {
    flex: 1;
  }

  .quiz__question {
    flex: 1;
  }

  .quiz__icon {
    max-width: 50vw;
    text-align: center;
    margin: 0 auto;
  }
}

.quiz__content h3:not(:first-child) {
  margin-top: 4rem;
}

.options {
  /*display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;*/
  transition: all .160s ease-out;
  background: rgba(231, 193, 115, 0.16);
  padding: 2.3rem;
  border-radius: 2.4rem;
  margin: 2.4rem 0 0;
  position: relative;
}

.options:hover {
  background: rgba(231, 193, 115, 1);
}

.option--selected {
  border-radius: 0.6rem;
  border: 1px solid #fff;
  background: #FFF;
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  padding: 1rem;
  color: #333;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.125;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.option--selected.active {
  border-color: var(--tangerine);
}

.option--selected svg {
  transition: all .16s ease-out;
}

.option--selected.active svg {
  transform: rotate(180deg);
}

.option--selected.closed {
  border-color: green;
}

.options--dropdown {
  border-radius: 0.6rem;
  overflow: hidden;
  background: #FFF;
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.06);
  position: absolute;
  top: calc(100% + 2rem);
  width: calc(100% - 4.6rem);
  z-index: 2;
}

.option {
  background: #fff;
  transition: all .16s ease;
  cursor: pointer;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.option:hover,
.option.selected {
  background: rgba(251, 133, 0, 0.10);
}

.option--checkbox {
  border-radius: 0.4rem;
  border: 1px solid #D8D8D8;
  background: #fff;
  transition: all .16s ease-out;
  width: 1.8rem;
  height: 1.8rem;
}

.option.selected .option--checkbox {
  background-color: var(--tangerine);
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' fill='none'%3E%3Cpath fill='%23fff' stroke='%23fff' stroke-width='.5' d='M4.024 7.309 1.451 4.82l-.88.841L4.024 9l7.405-7.159-.87-.841-6.535 6.309Z'/%3E%3C/svg%3E");
  border-color: var(--tangerine);
}

.quiz__nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 4rem 0 1rem;
}

.quiz__back {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quiz__nav button {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.quiz__next button svg {
  transform: scaleX(-1);
}

.quiz__counter {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;


  font-size: 1.4rem;
  font-weight: 500;
  line-height: 2.4rem;
  letter-spacing: 0.01rem;
}

.counter__cur {
  width: 2.4rem;
}

.counter__total {
  width: 2.4rem;
}

.counter__bar {
  flex: 1;
  height: 0.8rem;
  border-radius: 0.4rem;
  background: #EEE;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.10) inset;
}

.counter__bar-highlight {
  display: block;
  height: 0.8rem;
  border-radius: 0.4rem;
  background: #8ECAE6;
  box-shadow: 0px 1px 2px 0px rgba(255, 255, 255, 0.60) inset, 0px -1px 2px 0px rgba(0, 0, 0, 0.20) inset;
}

.step-2.counter__bar-highlight {
  background: #8EE6DB;
}

.step-3.counter__bar-highlight {
  background: #8EE6BC;
}

.step-4.counter__bar-highlight {
  background: #8EE692;
}


.resources {
  width: calc(100% + 2rem);
  margin: 4.8rem -1rem 7rem;
}

.resources .resource {
  padding: 1rem;
  width: 25%;
  display: flex;
}

@media (max-width: 768px) {
  .resources .resource {
    width: 33.3333%;
  }
}

@media (max-width: 600px) {
  .resources .resource {
    width: 50%;
  }
}

@media (max-width: 419px) {
  .resources .resource {
    width: 100%;
  }
}

.resources .resource-inner {
  height: 100%;
  background: #FBF6EB;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.6rem;
  padding: 2.4rem;
}

.resource-image  {
  border-bottom-right-radius: 2.4rem;
}

.resource-content {
  min-height: 14rem;
}
