.flickity-button {
  display: none;
}

.flickity-page-dots {
  padding: 0;
  text-align: center;
}

.flickity-page-dots .dot {
  box-sizing: border-box;
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.flickity-page-dots .dot.is-selected {
  background: #fff;
}

.flickity-page-dots .dot:not(:last-child) {
  margin-right: 20px;
}

.resp-page {
  text-align: center;
}

.resp-page * {
  font-family: 'Roboto', sans-serif;
}

.resp-page__section {
  position: relative;
  padding-right: 10px;
  padding-left: 10px;
  transition: transform 0.5s linear;
}

.resp-page__section--shifted {
  transform: translateX(100%);
}

.resp-page__section--intro {
  padding-bottom: 30px;
  margin-bottom: 40px;
  background-color: #d4e08c;
}

.resp-page__section--intro::after {
  position: absolute;
  bottom: -30px;
  left: 0;
  display: block;
  width: 0;
  height: 0;
  content: '';
  border-color: #d4e08c transparent transparent #d4e08c;
  border-style: solid;
  border-width: 30px 100vw 0 0;
}

.resp-page__section--facts {
  padding-top: 10px;
  padding-bottom: 30px;
  counter-reset: facts;
}

.resp-page__section--quiz {
  padding-top: 30px;
  padding-bottom: 80px;
}

.resp-page__section--profile {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #ffd300;
}

.resp-page__section--profile::before,
.resp-page__section--profile::after {
  position: absolute;
  left: 0;
  display: block;
  width: 0;
  height: 0;
  content: '';
  border-style: solid;
}

.resp-page__section--profile::before {
  top: -30px;
  border-color: #ffd300 transparent;
  border-width: 0 0 30px 100vw;
}

.resp-page__section--profile::after {
  bottom: -30px;
  border-color: transparent #ffd300;
  border-width: 0 100vw 30px 0;
}

.resp-page__section--hints {
  padding-top: 50px;
  padding-bottom: 10px;
}

.resp-slider {
  position: relative;
  padding-top: 250px;
  padding-bottom: 70px;
  outline: none;
}

.resp-slider__slide {
  position: relative;
  z-index: 1;
  width: 70%;
  max-width: 220px;
  padding: 40px 30px 10px;
  text-align: left;
  opacity: 0;
}

.resp-slider__slide.is-selected {
  z-index: 0;
  opacity: 1;
}

.resp-slider__slide::before {
  position: absolute;
  top: -224px;
  left: 50%;
  display: block;
  width: 240px;
  height: 330px;
  content: '';
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transform: translateX(-50%);
}

.resp-slider__slide:nth-child(1)::before {
  background-image: url('./professor.png');
}

.resp-slider__slide:nth-child(2)::before {
  background-image: url('./seller.png');
}

.resp-slider__slide:nth-child(3)::before {
  background-image: url('./old_woman.png');
}

.resp-slider__slide:nth-child(4)::before {
  background-image: url('./expat.png');
}

.resp-slider__chart span {
  position: absolute;
  z-index: -1;
  display: block;
  width: 40px;
  height: 40px;
  background-position: center center;
  background-size: cover;
}

.resp-slider__slide:nth-child(1) .resp-slider__chart span:nth-child(1) {
  top: -153px;
  left: -35px;
  width: 92px;
  height: 104px;
  background-image: url('./pen.svg');
}

.resp-slider__slide:nth-child(1) .resp-slider__chart span:nth-child(2) {
  top: -254px;
  left: 30px;
  width: 125px;
  height: 135px;
  background-image: url('./book.svg');
}

.resp-slider__slide:nth-child(1) .resp-slider__chart span:nth-child(3) {
  top: -180px;
  left: 128px;
  width: 190px;
  height: 100px;
  background-image: url('./primer.svg');
}

.resp-slider__slide:nth-child(2) .resp-slider__chart span:nth-child(1) {
  top: -95px;
  left: -32px;
  width: 100px;
  height: 85px;
  background-image: url('./cherry.svg');
}

.resp-slider__slide:nth-child(2) .resp-slider__chart span:nth-child(2) {
  top: -272px;
  left: -8px;
  width: 113px;
  height: 130px;
  background-image: url('./pear.svg');
}

.resp-slider__slide:nth-child(2) .resp-slider__chart span:nth-child(3) {
  top: -138px;
  left: 194px;
  width: 107px;
  height: 105px;
  background-image: url('./tomato.svg');
}

.resp-slider__slide:nth-child(3) .resp-slider__chart span:nth-child(1) {
  top: -103px;
  left: -12px;
  width: 96px;
  height: 91px;
  background-image: url('./purse.svg');
}

.resp-slider__slide:nth-child(3) .resp-slider__chart span:nth-child(2) {
  top: -232px;
  left: 6px;
  width: 124px;
  height: 75px;
  background-image: url('./clew.svg');
}

.resp-slider__slide:nth-child(3) .resp-slider__chart span:nth-child(3) {
  top: -129px;
  left: 174px;
  width: 140px;
  height: 100px;
  background-image: url('./news.svg');
}

.resp-slider__slide:nth-child(4) .resp-slider__chart span:nth-child(1) {
  top: -154px;
  left: -37px;
  width: 143px;
  height: 140px;
  background-image: url('./keys.svg');
}

.resp-slider__slide:nth-child(4) .resp-slider__chart span:nth-child(2) {
  top: -250px;
  left: 172px;
  width: 82px;
  height: 84px;
  background-image: url('./phone.svg');
}

.resp-slider__slide:nth-child(4) .resp-slider__chart span:nth-child(3) {
  top: -119px;
  left: 183px;
  width: 120px;
  height: 106px;
  background-image: url('./portfolio.svg');
}

.resp-slider__border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 10px auto;
  background-color: #fff;
  border-radius: 50px;
  transform: rotate(-5deg);
}

.resp-slider__prof {
  position: relative;
}

.resp-slider__text {
  margin: 10px 0;
  font-weight: 600;
}

.resp-page__header {
  color: #000;
  font-size: 31px;
  font-weight: 600;
}

.resp-page__subheader {
  color: #000;
  font-size: 26px;
  font-weight: 400;
}

.resp-page__title {
  margin-top: 0;
  color: #000;
  font-size: 18px;
  font-weight: 400;
}

.resp-page__text {
  max-width: 400px;
  margin: 16px auto;
  font-size: 14px;
}

.resp-page__text--main {
  width: 80%;
  font-size: 16px;
}

.resp-page__text--small {
  font-size: 12px;
}

.resp-page__text--main a {
  color: #000;
  font-weight: 400;
  text-decoration: none;
}

.resp-page__text--left {
  text-align: left;
}

.resp-page__btn {
  font-weight: 600;
}

.resp-page__btn--scroll {
  padding: 4px;
  color: #000;
  font-weight: 600;
  background: transparent;
  border: none;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.3);
  border-radius: 0;
}

.resp-page__btn--hidden {
  display: none;
}

.resp-page__btn--check {
  margin-top: 16px;
}

.resp-fact {
  max-width: 400px;
  margin: 32px auto;
  text-align: left;
}

.resp-fact:last-of-type {
  margin-bottom: 50px;
}

.resp-fact__title {
  position: relative;
  padding: 28px 0 28px 120px;
  margin-bottom: 20px;
  font-size: 21px;
}

.resp-fact__title::before {
  position: absolute;
  top: 50%;
  left: 25px;
  display: block;
  padding: 10px;
  content: counter(facts);
  counter-increment: facts;
  font-size: 55px;
  font-weight: 600;
  transform: translateY(-50%);
}

.resp-fact__title::after {
  position: absolute;
  top: 50%;
  left: 5px;
  z-index: -1;
  display: block;
  width: 93px;
  height: 93px;
  content: '';
  background-color: #feec47;
  border-radius: 22px;
  transform: rotate(-3deg) translateY(-50%);
}

.resp-fact__text {
  font-size: 14px;
}

.resp-fact__text--main {
  font-weight: 400;
}

.resp-quiz__logo {
  position: relative;
  padding: 70px 0;
}

.resp-quiz__logo img {
  width: 138px;
  height: 182px;
}

.animated-circles {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.animated-circles div {
  position: absolute;
  bottom: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 5px solid #ffe500;
  border-radius: 50%;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: scalecircles;
  animation-name: scalecircles;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  opacity: 0;
}

.animated-circles div:nth-child(2) {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.animated-circles div:nth-child(3) {
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

@-webkit-keyframes scalecircles {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }

  to {
    -webkit-transform: scale(1.7);
    transform: scale(1.7);
    opacity: 0;
  }
}

@keyframes scalecircles {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }

  5% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }

  to {
    -webkit-transform: scale(1.7);
    transform: scale(1.7);
    opacity: 0;
  }
}

.resp-question {
  position: relative;
  padding: 24px;
  overflow: hidden;
  text-align: left;
  border-radius: 35px;
  transition: opacity 0.3s ease;
  transition-delay: 0.3s;
  opacity: 0;
}

.resp-quiz__question:not(:last-of-type) {
  margin-bottom: 20px;
}

.resp-quiz__question:last-of-type {
  margin-bottom: 40px;
}

.resp-question--shown {
  opacity: 1;
}

.resp-question::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  content: '';
  background-color: #f8ffcd;
  border-radius: 35px;
  transition: background-color 0.5s ease;
}

.resp-question--active::before {
  background-color: #feec47;
}

.resp-question:nth-child(even)::before {
  transform: rotate(1deg);
}

.resp-question:nth-child(odd)::before {
  transform: rotate(-1deg);
}

.resp-question__label {
  position: relative;
  display: block;
  padding-left: 30px;
  margin-top: 20px;
  font-weight: 400;
}

.resp-question__title {
  font-size: 21px;
  font-weight: 400;
}

.resp-question__option {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  visibility: hidden;
}

.resp-question__label span {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 21px;
  height: 21px;
  transform: translateY(-50%);
}

.resp-question__label span::before,
.resp-question__label span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  content: '';
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.resp-question__label span::before {
  background-color: transparent;
  border: 5px solid #fff;
  visibility: visible;
}

.resp-question__label input:checked + span::after {
  background-color: #fff;
  visibility: visible;
}

.resp-profile__result h2 {
  font-size: 31px;
  font-weight: 500;
}

.resp-profile__img {
  width: 65vw;
  height: 35vw;
  max-width: 390px;
  max-height: 210px;
}

.resp-profile__header {
  max-width: 400px;
  margin: 16px auto;
  color: #000;
  font-size: 31px;
  font-weight: 600;
}

.resp-profile__text {
  max-width: 400px;
  margin: 16px auto;
  font-size: 16px;
  text-align: left;
}

.resp-hints {
  margin-bottom: 60px;
}

.resp-hints__header {
  width: 80%;
  max-width: 400px;
  margin: 16px auto;
  color: #000;
  font-size: 18px;
  font-weight: 400;
}

.resp-hints__text {
  max-width: 400px;
  margin: 16px auto 36px;
}

.resp-hints__list {
  max-width: 400px;
  padding: 0;
  margin: 32px auto 0;
  list-style: none;
}

.resp-hints__item {
  position: relative;
  box-sizing: border-box;
  width: calc(100% - 100px);
  max-width: 300px;
  padding: 16px;
  margin: auto;
  font-weight: 100;
  text-align: left;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.06);
  border-radius: 35px;
  transition: all 0.7s ease 0.5s;
}

.resp-hints__item--hidden {
  transform: translateY(20px);
  opacity: 0;
}

.resp-hints__item--danger {
  color: #fff;
  font-weight: 600;
  background-color: #f00;
}

.resp-hints__item:not(:last-child) {
  margin-bottom: 60px;
}

.resp-hints__item:nth-child(odd) {
  margin-left: 100px;
}

.resp-hints__item:nth-child(even) {
  margin-right: 100px;
}

.resp-hints__item::before {
  position: absolute;
  top: 50%;
  display: block;
  width: 100px;
  height: 100px;
  content: '';
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translateY(-50%);
}

.resp-hints__item:nth-child(odd)::before {
  left: -100px;
}

.resp-hints__item:nth-child(even)::before {
  right: -100px;
}

.resp-hints__item[data-hint='1']::before {
  background-image: url('./lanp.svg');
}

.resp-hints__item[data-hint='2']::before {
  background-image: url('./money_man.svg');
}

.resp-hints__item[data-hint='3']::before {
  background-image: url('./debt.svg');
}

.resp-hints__item[data-hint='4']::before {
  background-image: url('./kids.svg');
}

.resp-hints__item[data-hint='5']::before {
  background-image: url('./think.svg');
}

.resp-hints__item[data-hint='6']::before {
  background-image: url('./clover.svg');
}

.resp-hints__item[data-hint='7']::before {
  background-image: url('./rain.svg');
}

.resp-hints__item[data-hint='8']::before {
  background-image: url('./specialist.svg');
}

.resp-hints__item[data-hint='9']::before {
  background-image: url('./disco.svg');
}

.resp-hints__item[data-hint='10']::before {
  background-image: url('./lie.svg');
}

.resp-hints__item[data-hint='11']::before {
  background-image: url('./run.svg');
}

.resp-hints__item[data-hint='12']::before {
  background-image: url('./day_night.svg');
}

.resp-hints__item[data-hint='13']::before {
  background-image: url('./rage.svg');
}
