#footer {
    background: url('../files/backgrounds/footerback.svg') no-repeat center center/cover;
    color: white;
    padding: 40px;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top:auto ;
}

#content3{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border: solid white 0px;
    padding: 10px;
    width: 100%;
    gap: 10px;
    transition: flex-direction 5s ease;

}
.footer-content {
    border-right: solid white 0px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alinea los elementos hacia arriba (inicio) */
    align-items: flex-start; /* Alinea los elementos a la izquierda */
    padding: 10px;
}


.business-info {
    display: flex;
    flex-direction: column;
    
    max-width: 250px; /* Limitamos el ancho */
}

.business-info h1 {
    margin: 0;
    font-size: 2rem;
}

.business-info p {
    margin: 5px 0;
}

.business-info a {
    color: #2bc4e3;
    text-decoration: none;
}

.business-info a:hover {
    text-decoration: underline;
}

.social-icons {
    border: solid white 0px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    padding-left: 5px;
}

.social-icons a {
    margin: 5px 0;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.social-icons a:hover {
    color: #2bc4e3;
}

.policies a {
    color: white;
    text-decoration: none;
    margin: 5px;
    font-size: 10px;
    transition: all 0.5s ease-in-out;
}

.policies a:hover {
    text-decoration: underline;
    font-size: 12px;
}

.footer-map {
    width: 300px; /* Ajustar el tamaño del formulario y mapa */
    height: auto; /* Ajustar altura automáticamente */
    
}
.footer-form{
    width: 350px;
    height: 230px;
    padding: 10px;
    background-color: #283a3d;
    border: solid rgba(192, 36, 36, 0.345) 2px;
    border-radius: 15px;
}

.footer-form h2,
.footer-map h2 {
    font-size: 14px;
    margin: 0;
} 

.footer-form form {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
}

.footer-form label {
    font-size: 10px;
    
}

.footer-form input,
.footer-form textarea {
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.footer-form textarea {
    height: 80px;
}

.footer-form button {
    padding: 10px;
    background-color: #2bc4e3;
    border: none;
    color: #1d2b2d;
    cursor: pointer;
    margin-top: 10px;
    width: 100px;
    position: absolute; /* Establece el botón como absoluto respecto a su contenedor */
    right: 0; /* Alinea el botón al borde derecho */
    bottom: 0;
}

.footer-form button:hover {
    background-color: #1d2b2d;
    color: aqua;
}

.footer-map iframe {
    border: 0;
    width: 100%;
    height: 100%; /* Asegurar que el mapa ocupe todo el contenedor */
}

#infooter p{
    text-align: center;
    font-size: 10px;
    color: white;
}
#infooter a{
    color: bisque;
}

/* Responsividad para pantallas menores a 1300px */
@media (max-width: 800px) {
    
    #content3{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    
    }
    .footer-form{
        max-width: 350px;
        width: 100%;
        min-width: 200px;
    }
}
@media (max-width: 400px) {
    
    #content3{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    
    }
    .footer-map {
        width: 100%; 
        height: auto;
        
    }
}
