body {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.linea {
    height: 2px; 
    width: 10rem; 
    background-color: #175c81; 
    margin-bottom: -25px;
}

.contact-container {
    margin-top: 4.8rem;
    height: auto;
    background-color: #f3f4f6; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.contact-form {
    max-width: 35rem; 
    width: 100%;
    padding: 2rem;
    border-radius: 0.5rem;
}

.contact-form p {
    text-align: center;
    font-size: 2.2rem;
    color: #175c81;
    margin-bottom: 3rem;
    font-weight: 100;
}


.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.975rem;
    color: #2b6aac;
    font-weight: 550;
}

.contact-form label  span{
    color: #cc2507;
    font-weight: 550;
}

/* Estilo predeterminado del borde */
.contact-form input[type="text"],
.contact-form input[type="number"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #4A9DEC;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #2b6aac;
}


.input {
    border: 2px solid transparent;
    width: 100%;
    height: 1.8rem;
    padding-left: 0.8em;
    outline: none;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.5s;
    color: #2b6aac;
  }
  
  .input:hover,
  .input:focus {
    border: 3px solid #4A9DEC;
    box-shadow: 0px 0px 0px 7px rgb(74, 157, 236, 20%);
    background-color: white;
  }

  
  .contact-form textarea {
    min-height: 10rem;
}


.contact-form button {   
    margin-top: 2rem;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 0.2rem;
    background-color: #2b6aac; 
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0056b3; 
}
