*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
div,
span,
img,
form {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

img {
  display: block;
  width: 100%;
}

button {
  cursor: pointer;
}

.quiz_wrap {
  max-width: 368px;
  margin: 0px auto;
  background: linear-gradient(180deg, rgba(225, 217, 255, 0.1) 14.77%, #e1d9ff 85%);
  border-radius: 7px;
}

.quiz-header {
  background: #6c1cd1;
  border-radius: 7px 7px 70px 70px;
}

.quiz-header .quiz-title,
.quiz-header .order-title {
  font-weight: 700;
  text-align: center;
  color: #fff;
  padding: 14px 14px 20px;
  font-size: 20px;
  line-height: 1.5;
}

.quiz-header .order-title {
  display: none;
}

.quiz-body {
  padding: 0 30px;
  margin: 20px 0 0;
}
.quiz-body img {
  width: 100%;
  max-width: 230px !important;
}
.quiz-step {
  display: none;
  transition: 0.5s all;
}

.quiz-step.active {
  display: block;
}

.quiz-question {
  font-weight: 700;
  text-align: left;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.5;
}

.quiz-title {
  margin-bottom: 15px;
}
.quiz_options {
  margin: 0;
}
.label {
  display: block;
  margin-bottom: 20px;
}
.input-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.quiz_options .option {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  -moz-column-gap: 20px;
  column-gap: 20px;
  color: #6c1cd1;
  font-weight: 700;
  text-align: left;
  position: relative;
  cursor: pointer;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.5;
}

.quiz_options .option:last-child {
  margin-bottom: 0;
}

.quiz_options .option .option-radio {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1lh;
}

.quiz_options .option .option-radio .circle {
  display: block;
  background: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #6c1cd1;
  position: relative;
}

.quiz_options .option .option-radio .circle::after {
  content: " ";
  transition: 0.2s all;
  display: block;
  background: #6c1cd1;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

@media (any-hover: hover) {
  .quiz_options .option:hover .option-radio .circle::after {
    opacity: 1;
  }
}
.input-checkbox:checked + .option-radio .circle::after {
  opacity: 1;
}
.quiz-nums {
  width: 100%;
  max-width: 230px;
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 30px auto 0;
}

.quiz-nums::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #6c1cd1;
}

.quiz-nums .num {
  transition: 1s all;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  background: #fff;
  border: 1px solid #6c1cd1;
}

.quiz-nums .num.active span {
  background: #6c1cd1;
}

.quiz-nums .num span {
  width: 27px;
  height: 27px;
  background: #e1d9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

.quiz-footer {
  padding: 20px;
  font-weight: 400;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
}

.quiz-footer .pcs {
  display: block;
  font-weight: 700;
  color: #6c1cd1;
}

.quiz-timer {
  font-weight: 400;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
}

.quiz-timer .timer {
  color: #000;
}

.quiz-timer .timer span {
  font-weight: 700;
  color: #6c1cd1;
}

@media screen and (max-width: 600px) {
  .quiz-header .quiz-title,
  .quiz-header .order-title {
    letter-spacing: 0.005em;
    font-size: 20px;
    line-height: 1.5;
  }

  .quiz-body {
    padding: 0 14px;
  }

  .quiz-question {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.5;
  }

  .quiz_options .option {
    -moz-column-gap: 10px;
    column-gap: 10px;
    font-size: 18px;
    line-height: 1.5;
  }

  .quiz_options .option .option-radio {
    height: auto;
  }

  .quiz_options .option .option-radio .circle {
    width: 20px;
    height: 20px;
    margin-top: 0.15em;
  }

  .quiz_options .option .option-radio .circle::after {
    height: 10px;
    width: 10px;
  }

  .quiz-nums .num {
    width: 31px;
    height: 31px;
  }

  .quiz-nums .num span {
    width: 23px;
    height: 23px;
    font-size: 16px;
    line-height: 1.5;
  }

  .quiz-footer {
    padding: 25px 14px 14px;
    font-size: 16px;
    line-height: 1.5;
  }

  .quiz-footer .pcs {
    display: inline-block;
  }

  .quiz-timer {
    font-size: 16px;
    line-height: 1.5;
  }
}

body {
  background: #fff;
  font-family: "Roboto", sans-serif;
  color: #000;
  min-width: 320px;
  letter-spacing: 0.05em;
}

.container {
  padding: 0 15px;
  margin: 0 auto;
  max-width: 830px;
}

.button {
  display: block;
  width: 100%;
  max-width: 340px;
  min-height: 50px;
  margin: 20px auto 5px;
  background: linear-gradient(180deg, #b9a6ff 0%, #6c1cd1 100%);
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  box-shadow: 0px 4px 7.9px 0px rgba(0, 0, 0, 0.3019607843);
  padding: 10px 35px;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  line-height: 1.5;
  transition: all 0.3s;
}
.button:hover {
  background: linear-gradient(180deg, #6c1cd1 0%, #b9a6ff 100%);
}

@media screen and (max-width: 600px) {
  .button {
    margin: 30px auto;
    padding: 10px 30px;
  }
}

form {
  width: 100%;
  margin-top: 15px;
}

form .prices {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  -moz-column-gap: 20px;
  column-gap: 20px;
}

form .prices .old {
  color: #959595;
  font-weight: 400;
  text-decoration: line-through;
  font-size: 24px;
  line-height: 1.5;
}

form .prices .new {
  color: #6c1cd1;
  font-weight: 700;
  font-size: 37px;
  line-height: 1.25;
}

form input {
  display: block;
  width: 100%;
  font-weight: 400;
  color: #000;
  background: #fff;
  border: 1px solid #6c1cd1;
  margin-bottom: 16px;
  padding: 10px 16px;
  outline: none;
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.05em;
  font-size: 16px;
  line-height: 1.5;
}

form input::-moz-placeholder {
  color: #959595;
}

form button {
  border: 0;
  outline: none;
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.05em;
}
.quiz-popup {
  padding: 0 20px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background-color: #000000cc;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.quiz-popup.active {
  opacity: 1;
  pointer-events: visible;
}
.popup__text {
  padding: 12px 0;
  width: 100%;
  max-width: 500px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  background-color: #6c1cd1;
  border-radius: 8px;
}
@media screen and (max-width: 600px) {
  form input {
    font-size: 18px;
    line-height: 1.5;
  }
}
@keyframes changeOfSize {
  from {
    transform: scale(0.001);
  }
  to {
    transform: scale(1);
  }
}
@keyframes movement {
  to {
    transform: translateX(15px);
  }
}
.preloader {
  position: relative;
  display: none;
  width: 40px;
  height: 10px;
  margin: auto;
  font-size: 20px;
}
.submit-text {
  text-transform: uppercase;
}
.dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  animation: 1s ease infinite;
}
.dot1,
.dot2 {
  left: 0;
}

.dot3 {
  left: 15px;
}
.dot4 {
  left: 30px;
}
.dot1 {
  animation-name: changeOfSize;
}
.dot2,
.dot3 {
  animation-name: movement;
}
.dot4 {
  animation-name: changeOfSize;
  animation-direction: reverse;
}
.preloader.preloader-active {
  display: flex;
}
