/* Formulario de contacto */
.form-contact {
  background-color: white;
  width: 100%;
  height: 60vh;
  margin-top: var(--margen-top);
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 10px solid darkmagenta; */

}

.form-contact-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  column-gap: 6rem;
  /* border: 1px solid darkblue; */
}


.form-contact__title {
  width: 55%;
  color: var(--first-color);
  font-family: var(--font);
  font-weight: 900;
  text-align: left;
  font-size: var(--font-titles-section);
}

.form-contact__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 2rem;
}

.container-form-contact__form {
  width: 45%;
}

.form-contact__form {
  width: 100%;
}

.form-contact__form>input,
.form-contact__form>textarea {
  width: 100%;
  font-size: clamp(0.8rem, 1.2vw, 1.5rem);
  margin: 0.5rem 0;
  background-color: var(--color-category);
  border-radius: 10px;
  padding: 0.5rem;
  font-family: var(--font);
  font-weight: 500;
}

input[type="text"]:focus,
textarea:focus {
  outline: none;
}

.form-contact__form>textarea {
  resize: none;
}

.form-contact__form>input::placeholder,
.form-contact__form>textarea::placeholder {
  color: black;
}

.form-contact__form [required]:valid {
  border: thin solid var(--first-color);
}

.form-contact__form [required]:invalid {
  border: thin solid gray;
}

.form-sumbit {
  display: flex;
  height: 50px;
}

.submit {
  font-family: var(--font);
  background-color: var(--first-color);
  width: clamp(5rem, 4vw, 10rem);
  font-size: clamp(0.8rem, 1.2vw, 1.2rem);
  height: 3rem;
  color: white;
  border-radius: 10px;
  border: none;
  font-weight: 900;
}

svg {
  width: 3.25em;
  transform-origin: center;
  animation: rotate4 2s linear infinite;
}

circle {
  fill: none;
  stroke: hsl(214, 97%, 59%);
  stroke-width: 2;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash4 1.5s ease-in-out infinite;
}

@keyframes rotate4 {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash4 {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dashoffset: -125px;
  }
}

.none_loader_spin {
  display: none;
}

.none_message {
  display: none;
}

@media only screen and (min-width: 668px) and (max-width: 1248px) {

  .form-contact {
    height: auto;
  }

  .form-contact-container {
    flex-direction: row;
  }

  .container-form-contact__form {
    width: 70%;
  }

  .form-contact__title {
    text-align: left;
    width: 50%;
  }

  .form-contact__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .form-contact__form>button {
    width: 50%;
  }
}

@media only screen and (max-width: 668px){
  .form-contact-container {
    flex-direction: column;
  }

  .container-form-contact__form {
    width: 100%;
  }

  .form-contact__title {
    text-align: center;

    width: 100%;
  }

  .form-contact__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .form-contact__form>button {
    width: 50%;
  }
}

@media (max-width: 30em) {}