
.footer {
    background-color: #F2F2F2;
}

.footer .footer-wrapper {
    position: relative;
}

.footer-wrapper > div {
    height: 100%;
    margin-top: 0;
    width: 33%;
}

.footer .sitelinks {
    column-gap: 30px;
}

.footer .sitelinks-col {
    row-gap: 15px;
}

.footer .sitelink {
    column-gap: 10px;
}

.footer .sitelink > div {
    position: relative;
}

.footer .sitelink > div::after {
    content: '';
    width: 0;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #131313;
    transition: all 300ms ease;
}

.footer .sitelink:hover > div::after {
    width: 100%;
}

.footer .middle-part p {
    text-align: center;
}

.footer .middle-part svg {
    margin: 30px 0;
}

.footer .right-part {
    row-gap: 20px;
}

.footer .right-part .socials-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    column-gap: 20px;
    row-gap: 20px;
}

.footer .right-part .social-link {
    height: 105px;
    width: 100%;
    max-width: 105px;
    border-radius: 20px;
    background-color: #FBFFFF;
    transition: all 300ms ease;
}

.footer .right-part .social-link:hover {
    transform: scale(1.1);
}

.footer .footer-wrapper::before,
.footer .footer-wrapper::after {
    content: '';
    position: absolute;
    height: calc(100% - var(--padding) - var(--padding));
    border-left: 1px dotted #131313;
    left: 34%;
}

.footer .footer-wrapper::after {
    left: 66%;
}

.footer p {
    font-family: 'Poppins-Medium';
}

.footer .all-rights {
    color: rgba(66, 64, 70, 0.60);
    margin-bottom: 0;
}

.footer .all-rights a {
    text-decoration: underline;
    color: rgba(66, 64, 70, 0.60);
}

@media screen and (max-width: 989px) {
    .footer .footer-wrapper::before,
    .footer .footer-wrapper::after {
        display: none;
    }

    .footer .footer-wrapper > div {
        min-width: 100%;
    }

    .footer .right-part .social-link {
        width: calc((100vw - (4 * var(--padding)) - 50px) / 6);
        height: calc((100vw - (4 * var(--padding)) - 50px) / 6);
    }

    .footer .right-part .social-link svg {
        width: 30px;
        max-height: 30px;
    }

    .footer .right-part .socials-grid {
        width: fit-content;
        grid-template-columns: repeat(6, 1fr);
        column-gap: 10px;
        order: 3;
    }

    .footer .right-part > .mw-h4 {
        order: 1;
    }

    .footer .right-part > p {
        order: 2;
    }

    .footer .left-part {
        order: 1;
    }

    .footer .middle-part {
        order: 3;
    }

    .footer .right-part {
        order: 2;
        row-gap: 10px;
    }

    .footer .sitelink {
        justify-content: space-between;
    }
}