.quiz {
  padding: 0 0 70px;
  color: #000;
  overflow: hidden;
}

.quiz img {
  max-width: 100%;
  height: auto;
}

.quiz__title {
  margin: 0 0 1em;
  font: bold 40px/1.2 "Gilroy";
  text-align: center;
}

.quiz__top-text {
  margin: 0 0 1em;
  font: 700 30px/1.2 "Gilroy";
  text-align: center;
  color: #f43737;
}

.quiz__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 30px;
}

.quiz__status > *:nth-child(1) {
  width: 130px;
}

.quiz__status > *:nth-child(2) {
  width: calc(100% - 130px);
}

.quiz__num {
  display: flex;
  align-items: center;
}

.quiz__num-curent {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  font: bold 40px/1 "Gilroy";
}

.quiz__num-all {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font: 300 20px/1 "Gilroy";
  color: #999999;
  box-shadow: inset 0px 2px 15px 5px #999999;
}

.quiz__progress {
  position: relative;
}

.quiz__progress-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4px);
  height: 10px;
  background: repeating-linear-gradient(-45deg, #e5e5e5 0px, #e5e5e5 1px, #f2f6f9 2px, #f2f6f9 5px);
}

.quiz__progress-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background: #f43737;
  transition: width 0.5s;
}

.quiz__progress-dots {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz__progress-dot {
  position: relative;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fafafa;
  box-shadow: inset 0 2px 5px #56758b;
}

.quiz__progress-dot div {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f43737;
  transform: scale(0);
  transition: all 0.2s;
}

.quiz__progress-dot_active div {
  transform: scale(1);
}

.quiz__step {
  display: none;
}

.quiz__step:nth-child(1) {
  display: block;
}

.quiz__step-title {
  margin: 0 0 1em;
  font: bold 30px/1.2 "Gilroy";
}

.quiz__radios {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.quiz__radios > * {
  margin: 0 0 10px;
  padding: 0 5px;
  width: 25%;
}

.quiz-radio {
  display: flex;
  flex-direction: column;
  padding: 5px;
  border: 1px solid lightgray;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.1s;
}

.quiz-radio_active .quiz-radio__circkle > * {
  transform: scale(1);
}

.quiz-radio__img {
  flex-shrink: 0;
  position: relative;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
}

.quiz-radio__img:before {
  content: "";
  display: block;
  padding: 0 0 0;
}

.quiz-radio__img img {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}

.quiz-radio__main {
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 20px 0 10px;
}

.quiz-radio__main > *:nth-child(1) {
  width: 40px;
}

.quiz-radio__main > *:nth-child(2) {
  width: calc(100% - 40px);
}

.quiz-radio__main:only-child {
  padding: 10px 0;
}

.quiz-radio__circkle {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 23px;
  height: 23px;
  border: 1px solid gray;
  border-radius: 50%;
}

.quiz-radio__circkle > * {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #f43737;
  transform: scale(0);
  transition: all 0.1s;
}

.quiz-radio__text {
  font: 20px/1.2 "Gilroy";
}

.quiz__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 15px 0 0;
}

.quiz__btn {
  position: relative;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  width: 150px;
  height: 60px;
  border: 1px solid;
  border-radius: 5px;
  font: 24px/1.2 "Gilroy";
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}

.quiz__btn_prev {
  border-color: #000;
}

.quiz__btn_next {
  border-color: #f43737;
  color: #f43737;
  pointer-events: none;
}

.quiz__btn_next-active {
  color: #fff;
  background: #f43737;
  pointer-events: auto;
  transition: all 0.1s;
}

.quiz__btn_next-active:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 10%, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.6));
  width: 20px;
  transform: skewX(-45deg);
  left: -20%;
  transition: all .6s ease;
  -webkit-animation-name: blick;
          animation-name: blick;
  -webkit-animation-duration: 6s;
          animation-duration: 6s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
}

.quiz__btn_next-active:hover {
  background: #f76767;
}

@-webkit-keyframes blick {
  15%, to {
    left: 120%;
  }
}

@keyframes blick {
  15%, to {
    left: 120%;
  }
}

.quiz__step-text {
  margin: 0 0 1em;
  font: 20px/1.4 "Gilroy";
}

.quiz-range__num {
  display: block;
  margin: 0 auto 30px;
  padding: 0;
  width: 80px;
  height: 40px;
  font: 24px/1 "Gilroy";
  text-align: center;
}

.quiz-range__slider {
  padding: 0;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  outline: none;
  background: #d3d3d3;
  transition: opacity .2s;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.quiz-range__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
          appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #f43737;
  cursor: pointer;
}

.quiz-range__slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #f43737;
  cursor: pointer;
}

.quiz-range__minmax {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 18px/1 "Gilroy";
}

.quiz__step-quantity {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  margin: 0 0 1em;
  border: 1px solid #3dc8f5;
  font: 20px/1.4 "Gilroy";
  background: rgba(61, 200, 245, 0.2);
}

.quiz__step-quantity svg {
  flex-shrink: 0;
  margin: 0 10px 0 0;
  width: 20px;
  fill: #3dc8f5;
}

.quiz-form {
  margin: 0 auto;
  max-width: 600px;
}

.quiz-form__row {
  margin: 0 0 30px;
}

.quiz-form__row:last-child {
  margin: 0;
}

.quiz-form__label {
  display: block;
}

.quiz-form__label-text {
  display: block;
  margin: 0 0 10px;
  font: 16px/1.2 "Gilroy";
  text-transform: uppercase;
  color: #363636;
}

.quiz-form__input {
  display: block;
  padding: 0 20px;
  width: 100%;
  height: 60px;
  border: 3px solid lightgray;
  border-radius: 15px;
  font: bold 20px/1.2 "Gilroy";
}

.quiz-form__input::-moz-placeholder {
  font-size: 1em;
  color: gray;
  line-height: 1.2;
}

.quiz-form__input:-ms-input-placeholder {
  font-size: 1em;
  color: gray;
  line-height: 1.2;
}

.quiz-form__input::placeholder {
  font-size: 1em;
  color: gray;
  line-height: 1.2;
}

.quiz-form__submit {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0 0;
  width: 100%;
  height: 60px;
  border: 0;
  border-radius: 15px;
  font: bold 20px/1.2 "Gilroy";
  color: #fff;
  background: #e80303;
  transition: all 0.1s;
}

.quiz-form__submit:hover {
  background: #cf0303;
}

.quiz-form__submit svg {
  flex-shrink: 0;
  margin: 0 10px 0 0;
  width: 30px;
  fill: #fff;
}

.quiz__finish {
  display: none;
}

.quiz__finish-title {
  margin: 0 0 40px;
  font: 30px/1.2 "Gilroy";
  text-align: center;
  color: #f43737;
}

.thankyou-popup {
  margin: 0 auto;
  padding: 30px 30px;
  width: 400px;
  max-width: 100%;
}

.thankyou-popup__text {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-align: center;
}

.quiz-form__submit_disabled {
  pointer-events: none;
  background: coral !important;
}

@media (max-width: 991px) {
  .quiz__radios > * {
    width: 33.33%;
  }
}

@media (max-width: 768px) {
  .quiz__radios {
    margin: 0 -10px;
  }
  .quiz__radios > * {
    margin: 0 0 20px;
    padding: 0 10px;
  }
  .quiz__title {
    font-size: 30px;
  }
  .quiz__title {
    font-size: 24px;
  }
  .quiz__top-text {
    font-size: 20px;
  }
  .quiz__step-title {
    font-size: 20px;
  }
  .quiz__step-quantity {
    font-size: 16px;
  }
  .quiz__step-text {
    font-size: 16px;
  }
  .quiz-radio__text {
    font-size: 15px;
  }
  .quiz-radio {
    padding: 1px;
  }
  .quiz-radio__main {
    padding: 10px 0 5px;
  }
  .quiz-radio__main:only-child {
    padding: 5px 0;
  }
  .quiz__btn {
    width: 120px;
    height: 45px;
    font-size: 22px;
  }
  .quiz__btns {
    margin: 20px 0 0;
  }
  .quiz__progress-dot {
    width: 20px;
    height: 20px;
    box-shadow: inset 0 1px 3px #56758b;
  }
  .quiz__finish-title {
    font-size: 22px;
  }
  .quiz__status > *:nth-child(1) {
    width: 100%;
  }
  .quiz__status > *:nth-child(2) {
    width: 100%;
  }
  .quiz__num {
    margin: 0 0 20px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .quiz__radios > * {
    width: 50%;
  }
  .quiz-radio__main > *:nth-child(1) {
    width: 30px;
  }
  .quiz-radio__main > *:nth-child(2) {
    width: calc(100% - 30px);
  }
  .quiz-radio__circkle {
    width: 18px;
    height: 18px;
  }
  .quiz-radio__circkle > * {
    width: 12px;
    height: 12px;
  }
  .quiz__radios {
    margin: 0 -5px;
  }
  .quiz__radios > * {
    margin: 0 0 10px;
    padding: 0 5px;
  }
}

@media (max-width: 400px) {
  .quiz-radio__text {
    font-size: 14px;
  }
}