$bg-color: #2e2e2e;
$wgrey: #a8a8a8;
$wgreen: #38a275;

* {
  box-sizing: border-box;
}

.survey-pad {
  padding: 50px 30px;
  margin-bottom: 20vh;
}

.btn {
  border-radius: 40px !important;
}

.btn-div {
  text-align: center;
}

.form-field {
  margin: auto;
  width: 90%;
}

.form-field * {
  box-sizing: content-box;
}

.form-field ul {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  margin-bottom: 60px;
}

.form-field {
  ul li {
    color: $wgrey;
    display: block;
    position: relative;
    float: left;
    width: 90%;
  }

  ul li input[type='radio'] {
    position: absolute;
    visibility: hidden;
  }

  ul li label {
    display: block;
    position: relative;
    font-weight: 400;
    font-size: 1.1em;
    padding: 6px 15px 12px 72px;
    margin: 10px auto;
    z-index: 9;
    cursor: pointer;
    -webkit-transition: all 0.25s linear;
    transition: all 0.25s linear;
  }

  ul li:hover label {
    color: #ffffff;
  }

  ul li .check {
    display: block;
    position: absolute;
    border: 5px solid $wgrey;
    border-radius: 100%;
    height: 20px;
    width: 20px;
    top: 15px;
    left: 20px;
    z-index: 5;
    transition: border 0.25s linear;
    -webkit-transition: border 0.25s linear;
  }

  ul li:hover .check {
    border: 5px solid #ffffff;
  }

  ul li .check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 14px;
    width: 14px;
    top: 3px;
    left: 3px;
    margin: auto;
    transition: background 0.25s linear;
    -webkit-transition: background 0.25s linear;
  }
}

input[type='radio']:checked ~ .check {
  border: 5px solid $wgreen;
}

input[type='radio']:checked ~ .check::before {
  background: $wgreen;
}

input[type='radio']:checked ~ label {
  color: $wgreen;
}

.form-btn {
  width: 20%;
  margin: 10px;
}

.btn[disabled] {
  background-color: rgb(46, 109, 83);
  color: rgb(173, 173, 173);
}

.btn[disabled]:hover {
  transform: scale(1) !important;
}

@media (max-width: 768px) {
  .container {
    width: 100%;
  }
  .form-field {
    width: 100%;
    margin: 0px;
    padding: 0px;
  }
  .form-btn {
    margin: 10px;
  }

  .survey-pad {
    padding: 30px;

    h2 {
      font-size: 1.2em;
    }
  }

  ul li label {
    padding: 6px 15px 12px 52px;
    font-size: 0.9em;
  }

  .form-field * {
    box-sizing: border-box;
  }

  .form-btn {
    width: 100%;
    margin: 10px 0px;
  }

  .form-field {
    ul li {
      width: 100%;
    }

    ul li .check {
      top: 15px;
      left: 10px;
    }

    ul li .check::before {
      height: 7px;
      width: 7px;
      top: 1px;
      left: 1px;
    }
  }
}
