.quiz {
  position: relative;
  display: block;
  margin-top: 120px;
  margin-bottom: 70px;
  padding: 120px 0;
  background-image: url(../img/quiz-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.quiz__container {
  position: relative;
  display: flex;
  width: 100%;
  background-color: #fff;
  border-radius: 25px;
  padding: 100px 130px 50px 130px;
  height: 500px;
  background-image: url(../img/form-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
/* ÐšÐ’Ð˜Ð— - ÐšÐ’Ð˜Ð— - ÐšÐ’Ð˜Ð— -ÐšÐ’Ð˜Ð— */
form {
  width: 100%;
}
.step {
  display: none;
}
.step.active-step {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.step h5 {
  font-family: "Cormorant Regular", sans-serif;
  font-size: 37px;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.step-1 p {
  font-family: "Wix Madefor Display", sans-serif;
  font-size: 20px;
  line-height: 24px;
  color: #000;
  max-width: 380px;
  margin-bottom: 40px;
}
.step-1 span {
  position: relative;
  display: block;
  font-family: "Wix Madefor Display", sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: #585858;
  max-width: 312px;
  margin-top: 30px;
}
.contact-form__input-wrapper {
  position: relative;
  display: flex;
  column-gap: 30px;
  justify-content: space-between;
  margin-bottom: 40px;
}
.contact-form__chackbox-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 40px;
}
.contact-form__input-item {
  width: 50%;
}
.contact-form__input-item p {
  position: relative;
  display: block;
  height: 48px;
  font-family: "Wix Madefor Display", sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: #000;
  margin-bottom: 15px;
}
.contact-form__input {
  height: 60px;
  border: 1px solid #cac9df;
  border-radius: 15px;
  width: 100%;
  background: transparent;
  padding: 0 15px 0 25px;
  font-family: "Wix Madefor Display", sans-serif;
  font-size: 15px;
  color: #000;
  transition: 0.3s;
}
.contact-form__input:focus {
  transition: 0.3s;
}
.contact-form__progress-bar {
  position: relative;
  display: flex;
  margin-top: auto;
}
.edit-form__textarea {
  overflow: auto;
  resize: none;
  width: 100%;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 15px;
  margin-bottom: 20px;
  padding: 9px 15px 9px 15px;
  font-family: "Wix Madefor Display", sans-serif;
  font-size: 15px;
  color: #000;
}
.progress-bar {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin-top: auto;
}
.progress-bar__info {
  position: relative;
  display: flex;
  align-items: baseline;
  margin-bottom: 10px;
}
.progress-bar__info span {
  font-family: "Wix Madefor Display", sans-serif;
  font-size: 14px;
  color: #000;
  margin-right: 8px;
}
.progress-bar__info h6 {
  font-family: "Wix Madefor Display", sans-serif;
  font-size: 20px;
  color: #63bf73;
}
.progress-bar__line {
  background: rgb(0 0 0 / 10%);
  justify-content: flex-start;
  border-radius: 100px;
  align-items: center;
  position: relative;
  display: flex;
  height: 10px;
  width: 425px;
}
.progress-bar__value {
  box-shadow: 0 10px 40px -10px #fff;
  border-radius: 100px;
  background: #63bf73;
  height: 10px;
  width: 0;
}
.progress-bar__value .value0 {
  animation: load1 1s normal forwards;
}
.progress-bar__value.value25 {
  animation: load2 1s normal forwards;
}
.progress-bar__value.value50 {
  animation: load3 1s normal forwards;
}
.progress-bar__value.value75 {
  animation: load4 1s normal forwards;
}
.progress-bar__value.value100 {
  animation: load5 1s normal forwards;
}
@keyframes load1 {
  0% {
    width: 0;
  }
  100% {
    width: 0;
  }
}
@keyframes load2 {
  0% {
    width: 0;
  }
  100% {
    width: 25%;
  }
}
@keyframes load3 {
  0% {
    width: 25%;
  }
  100% {
    width: 50%;
  }
}
@keyframes load4 {
  0% {
    width: 50%;
  }
  100% {
    width: 75%;
  }
}
@keyframes load5 {
  0% {
    width: 75%;
  }
  100% {
    width: 100%;
  }
}
.btn-quiz {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  border-radius: 50px;
  padding: 22px 35px;
  transition: 0.2s;
  background-color: var(--pink);
  font-family: "Wix Madefor Display", sans-serif;
  font-size: 18px;
  color: var(--white);
  font-weight: 500;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.btn-quiz:disabled,
.btn[disabled] {
  opacity: 0.4;
}
.btn-quiz:hover {
  background-color: #e35458;
  color: var(--white);
}
.btn-quiz svg {
  transition: 0.2s;
}
.btn-quiz:hover > svg {
  transform: translateX(3px);
}
.contact-form__input_file {
  display: none;
}
.contact-form__file-button {
  display: flex;
  align-items: center;
  height: 60px;
  border: 1px solid #c9c9c9;
  border-radius: 15px;
  width: 100%;
  background: url(../img/file.svg) center left 15px no-repeat, #ffffff;
  background-size: 30px;
  margin-bottom: 20px;
  padding: 0 15px 0 59px;
  font-family: "Wix Madefor Display", sans-serif;
  color: #757575;
  cursor: pointer;
}
.progress-bar__btn {
  position: relative;
  display: flex;
  column-gap: 30px;
  align-items: center;
  margin-left: auto;
}
button.previous-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: transparent;
  border: 1px solid #d7d7d7;
  border-radius: 50%;
  padding: 20px;
  transition: 0.2s;
  z-index: 2;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
button.previous-btn:hover {
  transform: scale(1.1);
}
.form-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
input[type="checkbox"] {
  opacity: 0;
  visibility: hidden;
  display: none;
}
input:checked + label {
  background-color: #8885bc;
  color: #fff;
}
label {
  color: black;
  background-color: #e9e9e9;
  padding: 8px 16px;
  border-radius: 27px;
  cursor: pointer;
}
label:hover {
  background-color: #e4e3f9;
}
.select-css {
  display: block;
  height: 60px;
  font-size: 15px;
  font-family: "Wix Madefor Display", sans-serif;
  color: #000;
  line-height: 1.3;
  padding: 0 15px 0 25px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #cac9df;
  border-radius: 15px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E),
    linear-gradient(to bottom, #ffffff00 0%, #ffffff00 100%);
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
}
.select-css::-ms-expand {
  display: none;
}
*[dir="rtl"] .select-css,
:root:lang(ar) .select-css,
:root:lang(iw) .select-css {
  background-position: left 0.7em top 50%, 0 0;
  padding: 0.6em 0.8em 0.5em 1.4em;
}
.quiz-success-send {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 25px;
  background-color: #fff;
  border-radius: 50px;
  text-align: center;
  z-index: 999;
}
.success-send-active {
  display: flex;
}
.quiz-success-send h4 {
  font-family: "Wix Madefor Display", sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #e14b4f;
  margin-bottom: 19px;
}
.quiz-success-send p {
  font-family: "Wix Madefor Display", sans-serif;
  font-size: 19px;
  color: #000;
  line-height: 1.3;
  max-width: 426px;
  margin-bottom: 13px;
}

@media (max-width: 768px) {
  .form-wrapper {
    padding: 15px;
  }
}
@media (max-width: 480px) {
  .contact-form {
    width: 100%;
  }
}
@media (max-width: 991.98px) {
  .contact-form__input-wrapper {
    flex-direction: column;
    row-gap: 20px;
    margin-top: 0;
    margin-bottom: 15px;
  }
  .contact-form__input-item {
    width: 100%;
  }
  .contact-form__input-item p {
    height: auto;
  }
  .contact-form__progress-bar {
    flex-direction: column;
    row-gap: 20px;
  }
  .progress-bar {
    width: 100%;
  }
  .progress-bar__line {
    width: 100%;
  }
  .progress-bar__btn {
    margin-left: unset;
    justify-content: space-between;
  }
}
