/***** Survey Block *****/

.survey-block-container {
  padding: 5rem 0;
  background-color: var(--primary-color);
}

.survey-block-container * {
  color: white;
}

.survey-block-container h2 {
  margin: 0;
  margin-bottom: 1.25rem;
}

.survey-grid {
  background-color: var(--secondary-color);
  display: grid;
  grid-template-columns: 20% 1fr;
  grid-gap: 2rem;
  width: 80%;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 1.75rem 0;
}

.survey-grid h1 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.survey-grid .column-left {
  padding-right: 20px;
}

.survey-grid .column-right > p {
  text-align: left;
  font-weight: 700;
}

.survey-grid .column-right > p.lead.question {
    text-align: center;
}

.survey-grid p {
  margin: 0;
}

.survey-grid .question {
  margin-bottom: 1.5rem;
}

.form-label-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
}

.radio-btn-container {
  display: flex;
  /* gap: 1rem; */
  justify-content: space-between;
}

.survey-block-container form .range-response-container {
  display: none;
}

.survey-block-container form .range-response-container input[type="range"] {
  width: 100%;
}

.radio-btn {
  background-color: white;
  height: 3.5rem;
  width: 4.5rem;
  padding: 0.5rem;
  position: relative;
  border-radius: .5rem;
}

.radio-btn * {
  color: black;
}

.radio-btn input[type="radio"] {
  opacity: 0.011;
  z-index: 2;
}

.radio-btn input[type="radio"] + label,
.radio-btn input[type="radio"] + label {
    transition: 0.3s;
}

.radio-btn input[type="radio"]:hover + label,
.radio-btn input[type="radio"]:checked + label {
  color: white;
    background: var(--accent-five);
    border-radius: .5rem;
}

.radio-btn label,
.radio-btn input {
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
  transition: 0.3s;
}

.radio-btn input[type="radio"] {
  opacity: 0;
}

.radio-btn label {
  z-index: 1;
  line-height: 1.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-family: var(--primary-font);
}

.low-label,
.high-label {
  font-weight: 700;
  font-family: var(--primary-font);
    font-size: 1.5rem;
}

/* For search survey */

.search-survey .radio-btn-container {
  justify-content: start;
}

.search-survey .radio-btn {
  width: unset;
  height: unset;
  fill: black;
  background-color: white;
  padding: 1.25rem 2.75rem;
  border-radius: 35px;
}

.search-survey .radio-btn:hover {
  fill: white;
  background-color: var(--button);
}

.search-survey .radio-btn-thumbs {
  width: 1.375rem;
}

/* Survey Success Mesage */
.survey-complete-container {
  padding: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--accent-one);
    text-align: center;
}

.survey-complete-container h2 {
    font-size: 2.25rem;
}

.survey-complete-container p {
    font-size: 1.5rem;
    font-weight: 700;
}

.survey-complete-container :last-child {
  margin-bottom: 0;
}
@media only screen and (max-width: 1280px) {
  .survey-block-container .survey-grid {
    grid-template-columns: 1fr;
  }

  .survey-block-container .survey-grid .column-left {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

@media only screen and (max-width: 980px) {
  .survey-block-container form .radio-btn-container {
    display: none;
  }

  .survey-block-container form .range-response-container {
    display: block;
  }

  .survey-block-container .survey-grid .column-left {
    gap: 2rem;
  }

  .survey-block-container .survey-grid .column-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .survey-block-container .survey-grid .question {
    order: 1;
  }

  .survey-block-container .survey-grid .form-label-container {
    order: 2;
  }

  .survey-block-container .survey-grid #survey {
    order: 3;
  }

  .survey-block-container .survey-grid .range-response-container button {
    width: 30%;
    margin: 0 auto;
    display: block;
  }

  .radio-btn {
    width: 45px;
    height: 45px;
  }
}

@media only screen and (max-width: 533px) {
  .survey-block-container .survey-grid .column-left {
    flex-direction: column;
    align-items: start;
  }

  .survey-grid .column-right p {
    text-align: left;
  }

  .radio-btn-container {
    flex-wrap: wrap;
    justify-content: start;
  }

  .radio-btn {
    width: 50px;
    height: 50px;
  }

  .survey-block-container .survey-grid .range-response-container button {
    width: 55%;
  }
}
