/* Contenedor general */
.container_form {
  height: 470px;
  align-items: center;
      display: flex;
    justify-content: center;
      background-image: url("/recursos/img/papelcontacto22.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 8em;
}

.form_video{
  width: 550px;
    display: flex;
    justify-content: center;

}

/* Imagen del lado izquierdo */
.form_video video {
  max-width: 100%;
  margin-left: 3em;
}

/* Contenedor del formulario */
.form_data {
     flex: 1;
    max-width: 550px;
   

}

/* Estilos del formulario */
form {
 display: flex;
    flex-direction: column;
    gap: 0.4em;
}

/* Grupos de inputs */
.form_group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 17px;
}

::placeholder {
  color: #716f6fbe;
  font-weight: 200;
}

input, textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  resize: vertical;
}

/* Textarea */
textarea.coment {
  min-height: 100px;
}


input,
select,
textarea {
  border-color: #41403e;
  border-bottom-left-radius: 15px 255px;
  border-bottom-right-radius: 225px 15px;
  border-style: solid;
  border-top-left-radius: 255px 15px;
  border-top-right-radius: 15px 225px;
  border-width: 1px;
  outline: none;
  padding: 0.7em 0.9em;     /* Reduce padding interno */
  font-size: 0.95rem;       /* Reduce texto */
  line-height: 1.2;         /* Asegura altura compacta */
  font-weight: bold;
}

form .coment {
  resize: none;
}


.prueba4{
    position: absolute;
    width: 290px;
    left: -0.4em;
    bottom:40em;
    transform: rotate(291deg);
}

.container_Text{
 display: flex;
 position: relative;
    flex-direction: column;
     text-align: center;
     align-items: center;
    margin-bottom: 3em;
    font-size: larger;
    gap: 0.5em;
}


    .underline-animate {
      position: relative;
      font-size: 1.8rem;
      top:0.3em;
      font-weight: bold;
      color: #333;
      padding-bottom: 5px;
    }

.writing-line2 {
  position: absolute;
  top: 6.5em;
}

.writing-line2 svg {
    width: 85%;
    transform: rotate(8deg);
  animation: drawCircle 2s linear forwards;
}


    form span{
      font-size: small;
    }
    

    .text-padding{
      padding: 1.3em 0em 0.5em 0em;
      font-size: larger;
    }

     @media (max-width: 1250px) {
      .form_video {
    width: 500px;
}

.form_data {
    padding-right: 2em;
}

}

    @media (max-width: 900px) {
.container_form {
    flex-direction: column;
    height: auto;
    background-image: url("/recursos/img/papelform.png");
}


.form_video video {
    max-width: 100%;
    margin-left: 0em;

}

.form_data {
    padding: 0.5em;
    width: 100%;
    }

.container_Text {
    font-size: medium;
    padding: 0.5em;
     
}

.container_Text b{
  font-size: larger;
}

   form span{
      background-color: rgba(255, 237, 147, 0.762);
      border-radius: 10px;
    }

    .underline-animate{
      font-size: 1.5rem;
       top: 0.5em;
    }

    .writing-line2 {
    top: 9em;
}

.writing-line2 svg {
    width: 75%;
}

}

@media (max-width: 382px) {

  .underline-animate{
      font-size: 1.2rem;
      top: 0.7em;
    }

    .writing-line2 {
    top: 12em;
}

.writing-line2 svg {
    width: 65%;
}
  }
  