/* -------------------------- ALL -------------------------- */

.footer {
    background-color: var(--color-primary);
    padding-bottom: 56px;
}

.footer * {
    color: var(--color-white);
}

.networks {
    display: flex;
    gap: 8px;
}

.networks .logo {
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
}

.network__link {
    aspect-ratio: 1/1;
    width: 40px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__top {
    margin-top: 16px;
}

.footer__top li {
    list-style: none;
}


.footer__top ul {
    display: grid;
    gap: 8px;
}

.footer__top li > a {
    font-family: var(--ffMRe);
    font-size: 1rem;
    line-height: 1.5rem;
}

.footer__bottom {
    margin-top: 16px;
}

.footer__bottom * {
    font-family: var(--ffMRe);
    font-size: .875rem;
    line-height: 1.5rem;
}

.footer__bottom *:not(:first-child) {
    margin-top: 8px;
}

@media (width > 767px) {
    .footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-bottom: 80px;
    }

    .footer__top {
        margin-top: unset;
        display: flex;
        align-items: center;
    }

    .networks {
        height: fit-content;
        gap: 0;
    }

    .footer__top ul{
        display: flex;
        flex-wrap: nowrap;
    }
    
    .footer__bottom {
        margin-top: 40px;
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }

    .footer__bottom *:not(:first-child) {
        margin-top: unset;
    }
}

@media (width > 991px) {
    .footer__top ul {
        gap: 36px;
    }

    .networks {
        gap: 8px;
    }
}


@media (width > 1499px) {
    .footer {
        position: relative;
    }

    .footer::before {
        content: "";
        background-color: var(--color-primary);
        height: 100%;
        top: 0px;
        left: -50%;
        width: 200%;
        display: block;
        position: absolute;
        z-index: -1;
    }
}