.contact-container {
    display: flex;
    justify-content: space-between;
    padding: 0px;
    max-width: 1200px;
    margin: 20px auto; 
}

.contact-left {
    background-color: #92c5db;
    color: white;
    padding: 40px;
    flex: 1;
    margin-right: 20px;
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-right {
    flex: 1;
    font-family: 'Arial', sans-serif;
}

.contact-right p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.contact-right h2 {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

form {
    display: flex;
    flex-direction: column;
}

input[type="text"], input[type="email"], textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    height: 150px;
    resize: none;
}

.submit-button {
    background-color: #f75858;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #d04a4a;
}

.contact-info {
    text-align: center;
    margin-top: 50px;
}

.contact-info a {
    color: #b8353d;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
}

/* Ajustes generales */
.contact-container {
    display: flex;
    justify-content: space-between;
    padding: 0px;
    max-width: 1200px;
    margin: 20px auto;
}

.contact-left {
    background-color: #92c5db;
    color: white;
    padding: 40px;
    flex: 1;
    margin-right: 20px;
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-right {
    flex: 1;
    font-family: 'Arial', sans-serif;
}

.contact-right h2 {
    text-align: center; /* Centra el h1 */
}

.contact-right p {
    text-align: justify; /* Justifica los párrafos */
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Cambia a disposición en columna */
        padding: 10px;
    }

    .contact-left, .contact-right {
        margin: 0; /* Elimina márgenes para móviles */
        padding: 20px;
    }

    .contact-left {
        margin-bottom: 20px; /* Añade espacio entre las dos secciones */
    }

    input[type="text"], input[type="email"], textarea {
        font-size: 1rem;
        padding: 10px;
        margin-bottom: 15px;
        width: 100%; /* Asegura que los campos ocupen todo el ancho */
    }

    .submit-button {
        width: 100%; /* Botón a toda pantalla en móviles */
        padding: 10px;
    }
}
