.footer {
    padding: 20px;
    width: 100%;
    background-color: var(--colorclaro);
}

.contenedor-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    
}

.menu-footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    text-align: center;
}

.contact-info, .information {
    flex: 1;
    margin: 10px 0;
}

.contact-info {
    order: 1; /* Primero en móviles */
}

.information {
    order: 2; /* Segundo en móviles */
}

.information ul, .contact-info ul {
    list-style: none; /* Quitar viñetas */
    padding: 0; /* Quitar padding */
}

.information ul li, .contact-info ul li {
    margin-bottom: 5px; /* Espaciado entre elementos */
}

.information ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: 300;
}

.social-icons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center; /* Centrar verticalmente */
}

.social-icons .link {
    margin: 0 5px;
    color: #fff;
    text-decoration: none;
}

.social-icons .link span {
    font-size: 1.5em;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facebook {
    background-color: #3b5998;
}

.instagram {
    background: linear-gradient(
        #405de6,
        #833ab4,
        #c13584,
        #e1306c,
        #fd1d1d,
        #f56040,
        #fcaf45
    );
}

.whatsapp {
    background-color: #25D366;
}

/* En pantallas más grandes, ajustamos el diseño */
@supports not (display: flex) {
    .footer, .contenedor-footer {
        display: block;
    }
    .contact-info, .information {
        display: block;
        width: 100%;
    }
}

.divider {
    width: 100%;
    height: 2px;
    background-color: var(--colorprincipal);
    margin: 20px 0;
}

.copyright {
    /* text-align: center; */
    margin: auto;
    width: 100%;
}

.title-footer {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Flex layout for larger screens */
@media (min-width: 768px) {
    .menu-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }
    .contact-info, .information {
        flex: 1;
        margin: 10px;
    }
    .contact-info {
        order: 1;
    }
    .information {
        order: 2;
    }
}
