html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1 0 auto;
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
}

.footer-links ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links a {
    color: #194569;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #5F84A2;
}

.footer-links-section {
    justify-self: start;
}

.social-icons {
    justify-self: end;
}

/* Estilos para los logos */
.footer-logos {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 20px;
    margin: 0 0 20px 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}


@media (max-width: 900px) {
    .footer-links li {
        margin: 0 5px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-links-section,
    .social-icons {
        justify-self: center;
    }

    .footer-logos {
        margin: 0 20px;
    }
    .footer-links ul {flex-direction: column;}
    .footer-links li {margin: 0;}

    .site-footer {
        padding: 10px 0;
    }
    #add-memory-btn {bottom: 22%;    padding: 10px 20px; font-size: 14px; }
}

@media (max-width: 475px) {
    .footer-container {
        padding: 0 15px;
    }
    .footer-logos {
        margin: 0 15px;
        justify-content: center;
    }   
    .footer-logo img {
        height: 30px;
    }

    #add-memory-btn {
        bottom: 27%;
    }

    #memory-instructions p {
        font-size: 18px;
    }
}