footer {
    height: auto;
}

.footer-container {
    background-color: var(--dark-bg-color);
    justify-content: space-between;
    padding: 64px 24px;
    color: var(--main-bg-color);
    align-items: start;
}

.logo-footer {
    height: 48px;
    width: auto;
}

.footer-menu {
    max-width: 40%;
    width: 100%;
}

.footer-menu > ul {
    justify-content: space-between;
}

.footer-menu > ul,  .footer-submenu {
    list-style-type: none;
}

.footer-menu ul li, .footer-site-info a {
    color: var(--main-bg-color);
    padding: 8px 12px;
}


.footer-menu ul li:nth-child(2) {
    width: 80px;
}

.footer-menu ul li a{
    color: var(--main-bg-color);
    text-decoration: none;
}

.footer-submenu {
    padding-top: 1rem;
}

.footer-submenu li a {
    text-decoration: none;
    color: var(--main-bg-color);
    font-size: var(--caption-size);
    font-weight: var(--caption-weight);
    line-height: 1;
}

.footer-site-info {
    padding: 1rem 1.5rem;
    background-color: var(--darkest-bg-color);
    color: var(--light-text-color);
    justify-content: space-between;
}

.footer-site-info a {
    text-decoration: none;
}


/* Media Queries */

@media (max-width:1024px) {
    .footer-menu {
    max-width: 60%;
    width: 100%;
}
}

@media (max-width:768px) {
    .footer-container {
        gap: 1.5rem;
        justify-content: space-between;
    }

    .footer-menu {
    max-width: none;
    width: fit-content;
    }

    .footer-menu ul {
        flex-direction: column;
    }

    .footer-menu ul li:nth-child(2) {
        width: 100%;
    }

    .footer-submenu {
        padding-top: 0.5rem;
    }

}

@media (max-width:480px) {
    .footer-container {
        padding: 64px 16px;
        flex-direction: column;
    }

    .footer-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-menu ul li {
        font-size: var(--body-sm-size);
    }

}