.modal {
  background-color: #fff;
  height: 700px;
  width: 100%;
  max-width: 960px;
  margin: 90px auto 0;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.modal-wrapper {
  position: relative;
  height: 600px;
  width: 100%;
  border-top: 5px solid #ffd337;
}

.modal-title {
  padding: 35px 0 35px 35px;
  font-size: 26px;
  font-weight: 300;
  color: #000;
  background-color: #ececec;
  height: 100px;
  margin-bottom: 0;
}

.modal-title svg {
  display: inline-block;
  vertical-align: top;
  padding-right: 3px;
  width: 23px;
  height: 20px;
  stroke: #ffd337;
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
}

.interview-title {
  font-size: 26px;
  margin-bottom: 30px;
  font-weight: 400;
}

.iti {
  width: 100%;
}

.next-question {
  position: absolute;
  bottom: 0%;
  right: 10%;
  border-radius: 30px;
  font-weight: 600;
  padding: 15px 30px;
  color: #332152;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 2;
  background-color: #ffd337;
}

.next-question:disabled {
  color: #000;
}

.next-question::after {
  content: "→";
  font-size: 18px;
  line-height: 1.3;
  margin-left: 10px;
}

.prev-question {
  position: absolute;
  bottom: 0%;
  left: 10%;
  border-radius: 30px;
  font-weight: 600;
  padding: 15px 30px;
  background-color: grey;
  color: #fff;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 2;
  opacity: 0.4;
}

.prev-question::before {
  content: "→";
  display: inline-block;
  font-size: 18px;
  line-height: 1.3;
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
  margin-right: 10px;
  position: relative;
    top: 2px;
}

.interviews {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  padding: 35px;
  width: 100%;
  height: 100%;
}

.interviews.active-question {
  display: block;
}

.interviews span {
  font-size: 14px;
  font-weight: 300;
  color: #000;
  line-height: 1.55;
}

.interviews form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.interviews form input {
  padding: 15px 25px 15px 35px;
  font-size: 16px;
  color: #000;
  outline: none;
  border-radius: 6px;
  border: 1px solid gray;
  margin-bottom: 15px;
}

.interviews form button {
  position: absolute;
  bottom: 10%;
  right: 10%;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  font-size: 16px;
  padding: 15px 30px;
  background-color: #ffd337;
  color: black;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 2;
}

.radio-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 20px;
}

.radio-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 20px;
}

.radio-item input[type=radio] {
  display: none;
}

.radio-item label {
  display: block;
  cursor: pointer;
  position: relative;
  padding-left: 40px;
  margin-right: 0;
  line-height: 18px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.radio-item label:before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  z-index: 1;
  background-color: #fff;
  bottom: 1px;
  border: 2px solid black;
  border-radius: 50%;
}

/* Checked */
.radio-item input[type=radio]:checked+label:before {
  background-color: black;
}

/* Hover */
.radio-item label:hover:before {
  -webkit-filter: brightness(120%);
  filter: brightness(120%);
}

/* Disabled */
.radio-item input[type=radio]:disabled+label:before {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.range-block input[type=range] {
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.range-block input[type=range]::-webkit-slider-runnable-track {
  border-radius: 50%;
  height: 2px;
  border: 1px solid black;
  background-color: black;
}

.range-block input[type=range]::-webkit-slider-thumb {
  background: black;
  border: 1px solid black;
  border-radius: 50%;
  cursor: pointer;
  width: 20px;
  height: 20px;
  -webkit-appearance: none;
  margin-top: -9px;
}

.range-block input[type=range]::-moz-range-track {
  border-radius: 50%;
  height: 5px;
  border: 1px solid black;
  background-color: black;
}

.range-block input[type=range]::-moz-range-thumb {
  background: black;
  border: 1px solid black;
  border-radius: 50%;
  cursor: pointer;
}

.textarea-block textarea {
  width: 100%;
  height: 10%;
  padding: 20px;
  outline: none;
  resize: none;
  font-size: 16px;
}

.description-block {
  font-weight: 700;
  font-size: 18px;
  color: #000;
}

#demo {
  height: 20px;
  font-size: 22px;
  font-weight: 700;
  color: black;
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 980px) {

  .radio-item label {
    font-size: 14px;
  }

  .modal-title {
    font-size: 18px;
  }

  .interview-title {
    font-size: 18px;
  }
}



@media (max-width: 560px) {

  .interviews {
    padding: 25px;
  }

  .interviews form button {
    bottom: 5%;
    font-size: 12px;
    padding: 15px 25px;
  }

  .next-question,
  .prev-question {
    bottom: 5%;
    font-size: 12px;
    padding: 10px 5px;
    max-width: 150px;
    width: 100%;
    text-align: center;
    display: block;
  }

  .radio-item label {
    font-size: 12px;
  }

  .modal {
    width: 100%;
  }

  .modal-title {
    font-size: 12px;
    padding: 35px 0 35px 14px;
  }
}

@media (max-width: 406px) {
  .modal, .modal-wrapper {
    height: auto;
}

.interviews {
  position: static;
}
#demo {
  height: 35px;
}
  .next-question,
  .prev-question {
    margin-top: 5px;
    position: static;
    margin-bottom: 15px;
    max-width: 100%;
  }
}