#footer {
    margin-top: 100px;
}

#footer-top {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid var(--color-text);
    padding-bottom: 50px;
}

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

#footer li > a,
#footer li > span {
    display: inline-block;
    text-decoration: none;
    color: var(--color-text);
    padding: 10px 10px 10px 0;
}

#footer li > a:hover {
    text-decoration: underline;
}

#footer-top ul:not(.social-menu) {
    margin: 20px 0 -10px 0;
}

#footer-top .col:last-of-type {
    flex-grow: 1;
}
#footer-top .col:not(:last-of-type) ul {
    flex-direction: column;
}

#footer-top .col + .col {
    margin-left: 100px;
}

#footer-bottom {
    display: flex;
    padding: 50px 0;
}

#footer-bottom span > a {
    text-decoration: underline;
    color: var(--color-text);
}

#footer .social-menu li > a:hover {
    text-decoration: none;
}

#footer .social-menu {
    justify-content: flex-end;
}

#footer .social-menu li > a {
    width: 58px;
    height: 58px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    padding: 0;
    font-size: 24px;
}

#footer .social-menu li > a:hover {
    outline-color: var(--color-primary);
    text-decoration: none;
}

#footer .social-menu li + li {
    margin-left: 30px;
}

#footer-bottom .col:last-of-type {
    flex-grow: 1;
}

#footer-bottom .col:last-of-type ul {
    justify-content: flex-end;
}

#footer-bottom .col:last-of-type ul li + li {
    margin-left: 30px;
}

#footer-bottom li > a {
    padding: 10px 0 10px 10px;
}


@media only screen and (max-width: 1280px) {
    #footer-top {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    #footer-top .col:not(:last-of-type) {
        width: 50%;
        margin-left: 0;
    }
    #footer-top .col:last-of-type {
        width: 100%;
        margin-left: 0;
    }

    #footer .social-menu {
        justify-content: flex-start;
        margin-top: 60px;
    }

    #footer .social-menu li > a {
        width: 40px;
        height: 40px;
        font-size: 16px;
        line-height: 20px;
    }

    #footer .social-menu li + li {
        margin-left: 10px;
    }

    #footer-bottom {
        flex-direction: column;
    }

    #footer-bottom ul {
        flex-direction: column;
    }

    #footer-bottom .col:last-of-type ul li + li {
        margin-left: 0;
    }

    #footer-bottom li > a {
        padding: 10px 10px 10px 0;
    }
}