@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;1,400&display=swap');

/* style general
-----------------*/
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

body {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  font-family: "Source Sans Pro", "Arial", sans-serif;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

.quiz-wrap {
  width: 100%;
  height: 100vh;
  background-image: url("../img/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}
    .quiz-wrap {
      position: relative;
    }

.footer {
      padding: 10px;
      color: #777;
      font-size: 12px;
      text-align: center;
      /* Добавляем абсолютное позиционирование, чтобы блок располагался внизу страницы */
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
    }
    .footer a {
      /* Стили для ссылки внутри блока */
      color: #a0a0a0;
      /* Добавляем стили, чтобы ссылка выглядела как ссылка */
      text-decoration: underline;
      cursor: pointer;
    }

.quiz-preview {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.quiz-preview.hide {
  display: none;
}

.quiz-preview__title {
  font-size: 24px;
  line-height: 32px;
  color: #fff;
  text-align: center;
  margin: 40px 0;
}

.quiz-preview__button-start {
  box-shadow: rgb(0,0,0.1) 0 3px 12px 0;
  padding: 8px 18px;
  min-height: 48px;
  background-color: rgb(255, 255, 255);
  color: rgb(128, 128, 128);
  border-radius: 4px;
  cursor: pointer;
  font-size: 24px;
  line-height: 32px;
  position: relative;
  font-weight: bold;
}

.quiz-preview__button-start:after {
  content: "Нажмите Enter ↵";
  display: block;
  position: absolute;
  top: 50%;
  left: calc(100% + 15px);
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 12px;
  color: #fff;
}

.quiz-list {
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quiz-list__item {
  width: 100%;
}

.swiper-container {
  width: 750px;
  height: 500px;
}

.swiper-container.hide {
  display: none;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.quiz-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: center;
  padding-left: 32px;
}

.quiz-rating__radio {
  display: none;
}

.quiz-rating__label {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
}

.quiz-rating__label svg {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
}

.quiz-rating__number {
  font-size: 16px;
  line-height: 24px;
  color: rgb(255, 255, 255);
  text-align: center;
}

.slide-title__wrap h3 {
  font-size: 24px;
  line-height: 32px;
  color: #fff;
  margin-left: 12px;
}

.slide-title span {
  font-size: 16px;
}

.slide-title__wrap {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 32px;
}

.number-slide {
  margin-top: 3px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.number-slide span {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  margin-right: 5px;
}

.symbolFill {
  fill: none;
}

.quiz-rating__item {
  margin-right: 8px;
}

.quiz-rating__item:hover .symbolFill, .quiz-rating__item:hover ~ li .symbolFill  {
  fill: #fcef02;
}

.quiz-rating__label.active .symbolFill, .quiz-rating__item:hover > .quiz-rating__label.active .symbolFill,
.quiz-rating__item:hover ~ li > .quiz-rating__label.active .symbolFill, .symbolOutline,
.quiz-rating__item.active ~ li .symbolFill {
  fill: #fcef02;
}

.number-slide svg {
  fill: #fff;
}

.quiz__input-text {
  overflow: hidden;
  height: 46px;
  width: calc(100% - 32px);
  color: rgb(255, 255, 255);
  padding: 0 0 8px;
  border: none;
  outline: none;
  background-color: transparent;
  font-size: 30px;
  line-height: 38px;
  resize: none;
  transition: 0.1s ease-out 0s;
  box-shadow: rgba(255, 255, 255, 0.3) 0 1px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-left: 32px;
}

.quiz__input-text:focus {
  box-shadow: rgb(255, 255, 255) 0 1px;
}

.textarea-info-text {
  margin-top: 12px;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: rgb(255, 255, 255);
  padding-left: 32px;
}

.question-text__content {
  width: 100%;
}

/* progress
-----------------*/
.quiz-progress {
  position: fixed;
  right: 24px;
  bottom: 24px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  display: flex;
}

.quiz-progress.hide {
  display: none;
}

.quiz-progress__wrap {
  display: flex;
  height: 32px;
  flex-flow: column;
  -webkit-box-pack: center;
  justify-content: center;
  padding: 0 8px;
  margin-right: 8px;
  border-radius: 4px;
  mix-blend-mode: luminosity;
  background-color: rgba(85, 68, 58, 0.8);
}

.quiz-progress__text {
  color: rgb(255, 255, 255);
  font-family: sans-serif;
  margin-top: -2px;
  margin-bottom: 2px;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.7;
}

.progress {
  display: none;
}

.progress-bg {
  width: 184px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bg__color {
  width: 0;
  background-color: rgb(255, 255, 255);
  display: block;
  height: 4px;
  transition: all 0.4s ease 0s;
  opacity: 0.7;
}

.progress__button-prev {
  border-radius: 4px 0 0 4px;
}

.progress__button-next {
  border-radius: 0 4px 4px 0;
}

.progress__button-prev, .progress__button-next {
  width: 36px;
  height: 32px;
  background-color: #fff;
  cursor: pointer;
}

.swiper-button-disabled svg {
  opacity: .3;
}

.overall-rating__radio {
  display: none;
}

.overall-rating {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgb(255, 255, 255);
  border: 1px solid rgb(255, 255, 255);
  border-radius: 3px;
}

.overall-rating__item {
  width: 70px;
  height: 64px;
  border-right: 1px solid rgb(255, 255, 255);
  transition: all 0.1s ease-out 0s;
  box-shadow: rgb(255 255 255) -1px 0;
}

.overall-rating__item:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.overall-rating__item:last-child {
  border-right: none;
}

.overall-rating__item.active {
  background-color: #fff;
}

.overall-rating__item.active .overall-rating__value {
  color: rgb(128, 128, 128);
}

.overall-rating__label {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.overall-rating__value {
  font-size: 20px;
  line-height: 28px;
  color: #fff;
}

.overall-rating__title {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 16px;
}

.rating__title {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}

.form-submit, .overall-rating__wrap {
  margin-left: 32px;
}

.form-submit {
  transition-duration: 0.1s;
  transition-property: background-color, color, border-color, opacity, box-shadow;
  transition-timing-function: ease-out;
  outline: none;
  border: 1px solid transparent;
  box-shadow: rgba(0, 0, 0, 0.1) 0 3px 12px 0;
  padding: 6px 14px;
  min-height: 40px;
  background-color: rgb(255, 255, 255);
  color: rgb(128, 128, 128);
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  position: fixed;
  bottom: 150px;
  z-index: 100;
  opacity: 1;
  visibility: visible;
  transition: .2500s ease all;
}

.form-submit.hide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(150px);
}

.form-submit__text {
  font-size: 12px;
  line-height: 16px;
  color: rgb(255, 255, 255);
  margin-left: 12px;
}

.button-ok {
  margin: 10px 0 0 32px;
  transition-duration: 0.1s;
  transition-property: background-color, color, border-color, opacity, box-shadow;
  transition-timing-function: ease-out;
  outline: none;
  border: 1px solid transparent;
  box-shadow: rgba(0, 0, 0, 0.1) 0 3px 12px 0;
  padding: 6px 14px;
  min-height: 40px;
  background-color: rgb(255, 255, 255);
  color: rgb(128, 128, 128);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

.button-ok svg {
  margin-left: 5px;
  fill: rgb(128, 128, 128);
}

.thank-wrap {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition: .4s ease opacity;
}

.thank-wrap.hide {
  display: none;
  opacity: 0;
}

.thank-wrap > div {
  width: 350px;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-wrap__text {
  color: #000;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

.button-back {
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  border: 1px solid #000;
  border-radius: 10px;
  padding: 10px 20px;
  transition: .4s ease;
}

.button-back:hover {
  background-color: #000;
  color: #fff;
}

.bottom-text {
      background-color: #f8f8f8;
      padding: 10px;
      margin-top: 20px;
      color: #777;
      font-size: 12px;
      text-align: center;
    }

img.emoji {
  display: inline !important;
  border: none !important;
  box-shadow: none !important;
  height: 1em !important;
  width: 1em !important;
  margin: 0 .07em !important;
  vertical-align: -0.1em !important;
  background: none !important;
  padding: 0 !important;
}

@media screen and (max-width: 860px) {
  .quiz-wrap {
    width: calc(100% - 40px);
    padding: 0 20px;
  }

  .swiper-container, .overall-rating {
    width: 100%;
  }

  .overall-rating__wrap {
    width: calc(100% - 34px);
  }

  .overall-rating__item {
    width: 10%;
  }
}

@media screen and (max-width: 500px) {
  .quiz-rating__label svg {
    width: 40px;
    height: 40px;
  }

  .slide-title span {
    font-size: 14px;
  }

  .slide-title {
    font-size: 22px;
    line-height: 26px;
  }

  .quiz__input-text {
    font-size: 21px;
  }

  .rating__title {
    font-size: 13px;
  }

  .form-submit__text, .textarea-info-text {
    display: none;
  }

  .quiz-preview__button-start:after {
    content: none;
  }

  .quiz-preview__title {
    font-size: 17px;
    line-height: 1.3em;
  }

  .overall-rating__wrap {
    width: calc(100% - 5px);
  }

  .form-submit, .overall-rating__wrap {
    margin-left: 0;
  }
}

@media screen and (max-width: 500px) and (max-height: 600px) {
  .form-submit {
    bottom: 100px;
  }
}