body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('../img/fondo_contacto.jpg') no-repeat center center fixed;
    background-size: cover; /* Ajusta la imagen al tamaño de la pantalla */
}

.container {
    width: 80%;
    max-width: 800px;
    margin: 50px auto;
    border: 2px solid #0059b3;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9); /* Fondo blanco semitransparente */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.back-button {
    margin-bottom: 20px;
    text-align: left;
}

.back-button img {
    width: auto;
    max-width: 100%;
    height: auto;
    cursor: pointer;
    display: block;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.left, .right {
    width: 45%;
}

.separator {
    width: 2px;
    background-color: #0059b3;
    height: auto;
}

.formulario {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    resize: none;
    height: 100px;
}

button {
    background-color: #666666;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background-color: #444444;
}

.info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    height: 100%;
}

.contact-info {
    margin-top: 10px;
}

.contact-info img.icon {
    vertical-align: middle;
    margin-right: 8px;
    max-width: none;
    height: auto;
    display: inline-block;
}

.contact-info img:last-of-type {
    margin-top: 10px;
}

.info a {
    color: #0059b3;
    text-decoration: none;
}

.info a:hover {
    text-decoration: underline;
}

strong {
    color: #0059b3;
}

/* Pie de página */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1; /* Permite que el contenido crezca y empuje el footer hacia abajo */
    width: 80%;
    max-width: 800px;
    margin: 50px auto;
    border: 2px solid #0059b3;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: auto; /* Empuja el footer hacia la parte inferior */
    width: 100%;
}
