.form-container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  background-color:/* #30363c*/#D73A31;
  border-radius: 1em;
  width: 90%;
  margin: auto;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section_form_register, .section_form_login, .section_form_one, .section_form_two, .section_form_three, .section_form_add {
  margin: auto;
  border: 0;
}

.form-wrapper {
  padding-bottom: 1em;
}

.form-wrapper h2 {
  /*padding-top: 1em;*/
  color: #fff;
}

fieldset {
  min-width: 0;
}

fieldset legend {
  color: #fff;
  font-weight: 500;
  font-size: 1.5em;
  text-align: center;
}

.header_h2 {
 font-size: 1.2em;
}

.section_form_register label, .section_form_login label, .section_form_one label, .section_form_two label, .section_form_add label {
  /*, .section_form_three label*/
  display: flex;
  margin: 0.25em auto;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  font-size: 1.2em;
  font-weight: 600;
}

.section_form_three label {
  margin: 0.25em;
  color: #fff;
  font-size: 1.2em;
  font-weight: 600;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.section_form_three {
  min-width: 350px;
}

.endform {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.endform div {
  width: 60%;
}

.endform textarea {
  width: 30%;
  margin: 1em auto;
  padding: 1em auto;
  border-radius: 0.75em;
  min-width: fit-content;
}

.radioform {
  display: flex;
  justify-content: center;
}

.radioform label {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1em auto;
  padding: 0.5em 1em;
  border: 0px solid #ccc !important;
}

.section_form_register label, .section_form_login label, .section_form_add label {
  border: 1px solid #ccc;
  padding: 1em;
  /*margin: 1em;*/
}

.section_form_two label {
  font-size: 1em;
  padding: 1em;
  margin: 1em;
}

.section_form_one input, .section_form_register input, .section_form_login input, .section_form_add input {
  /*width: 50%;
  margin: 1em;*/
  padding: 1em;
  border-radius: 0.75em;
  border: 0;
  /*border: 1px solid #f90;*/
}

.section_form_add select {
  width: 30%;
  margin: 1em;
  padding: 1em;
  border-radius: 0.75em;
  min-width: fit-content;
  background-color: #fff;
}

.section_form_two select {
  width: 80%;
  margin: 1em;
  padding: 0.5em;
  border-radius: 0.5em;
  background-color: #fff;
}

select option {
  font-size: 1em;
}

.section_form_add textarea {
  width: 80%;
  margin: 1em;
  padding: 1em;
  border-radius: 0.75em;
  resize: vertical;
  min-height: 3em;
}

.section_form_two input {
  /*, .section_form_three input*/
  width: 80%;
  margin: 1em;
  padding: 0.5em;
  border-radius: 0.5em;
}

.section_form_one textarea {
  width: 55%;
  margin: 1em;
  padding: 1em;
  border-radius: 0.75em;
}

.input-but_form {
  display: inline-block;
  margin: auto;
  min-width: 4em;
  border-radius: 0.5em;
  font-weight: 400;
  text-decoration: none;
  color: #fff;
  padding: 0.4em;
  text-align: center;
  font-size: 1.4em;
  background-color: #111;
}

.input-but_form:hover {
  background-color: #FFf;
  color: #D73A31;
  font-weight: bold;

}

.section_form_register .input-but_form, .section_form_login .input-but_form, .section_form_one .input-but_form, .section_form_two .input-but_form, .section_form_three .input-but_form, .section_form_add .input-but_form {
  display: block;
  float: right;
  width: 25%;
  text-align: center;
  cursor: pointer;
  padding: 0.5em;

}

.row-form {
  display: flex;
}

.row-form .site-col-2-4 {
  border: 1px solid #ccc;
  margin: 0.25em;
}

@media screen and (max-width: 960px) {
  .form-container {
    width: 70%;
  }
}

@media screen and (max-width: 768px) {
  .form-container {
    width: 80%;
  }
}

@media screen and (max-width: 640px) {
  .form-container {
    width: 90%;
  }

  .section_form_one input, .section_form_register input, .section_form_login input, .section_form_add input {
    /*width: 75%;*/
  }

  .row-form {
    display: block;
  }

  .section_form_register label, .section_form_login label, .section_form_one label, .section_form_two label, .section_form_three label, .section_form_add label {
    font-size: 1em;
  }

  .fieldset legend {
    font-size: 1.2em;
  }

  .radioform label {
    margin: 0;
    padding: 0.5em;
    border: 0 !important;
  }
}

@media screen and (max-width: 380px) {
  .section_form_register {
    margin: auto 0;
    border: 0;
  }

}
