@import url('/css/variables.css');


/* form */



label.error {
  display: none !important;
}

form input.error {
  border-color: red;
  box-shadow: inset 0 0 5px red;
}



.contact-form {
  text-align: center;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 300px;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  background: linear-gradient(90deg, #1c3050, #000 50%, #1c3050);
  /* Градієнтний фон */
}

.status {
  color: white;
  font-size: 14px;
}

.form_item {
  display: flex;
  align-items: center;
  width: 100%;
}

.form_icon {
  width: 25px;
  height: auto;
  margin: 0 10px 0 0;
}


.form-survaey {
  justify-content: center;
  margin-bottom: 0;
  display: flex;
}

.popup_form_main {
  position: relative;
  max-width: 300px;
  margin: auto;
}

.form-survaey.popup {

  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 11px 6px rgb(59 50 50 / 100%);
  border-radius: 20px;
  /* overflow: hidden; */
}

.close_form {
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  z-index: 6;
  transition: transform 0.5s ease;
}

.close_form:hover {
  transform: rotate(90deg);
  ;
}

.image-survaey {
  max-height: 300px;
  width: auto;
  overflow: hidden;
}

.image-survaey.popup {
  border-radius: 0;
  width: auto;
  max-width: none;
}


.form-surv {
  background: linear-gradient(90deg, #1c3050, #000 50%, #1c3050);
  /* Градієнтний фон */
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  width: 340px;
  padding: 10px 20px;
  display: flex;
}


.form-surv.popup {
  align-items: center;
  width: 260px;
  height: 230px;
  border-radius: 0 0 20px 20px;
}




.text-field-name,
.text-field-phone,
.text-field-email {
  background-size: 25px;
  border-radius: 10px;
  background-position: 10px;
  background-repeat: no-repeat;
  overflow: hidden;
}

.text-field-name:hover,
.text-field-phone:hover,
.text-field-email:hover,
textarea:hover {
  background-color: #ccc;
}


textarea {
  overflow: auto;
}

textarea.w-input,
textarea.w-select {
  height: auto;
}

.textarea {
  border-radius: 10px;
}

.w-input,
.w-select {
  color: #333;
  vertical-align: middle;
  background-color: #fff;
  border: 1px solid #ccc;
  width: 100%;
  height: 20px;
  padding: 5px 10px;
  font-size: 14px;
  line-height: 1.42857;
  display: block;
}


.button-main {
  text-align: center;
  border: 1px solid #000;
  border-radius: 6.7em;
  font-size: 20px;
  line-height: inherit;
  cursor: pointer;
  background-color: var(--button_main);
  transition: background-color 0.5s ease;
  padding: 9px 15px;
  text-decoration: none;
  display: inline-block;
}

.button-main:hover {
  background-color: var(--button_main_hover);
  border-style: solid;
  border-color: #fff;
}

.button-main:active {
  background-color: var(--brown);
}

.button-main {
  text-align: center;
}

.button-main {
  font-size: 16px;
}




@media screen and (max-width: 767px) {
  .image-survaey {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    height: auto;

  }

  .form-surv {
    max-width: 300px;
    height: auto;
  }

}


@media screen and (max-width: 479px) {
  .form-survaey {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .form-surv {
    /* border-radius: 20px; */
    width: 100%;
  }

  .image-survaey {
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
  }
}