#footer {
    position: relative;
    border-top: 1px solid var(--color-divider);
}
#footer:before {
    content: '';
    background-image: url('../images/wzds_langejan-mono.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: -34px 0;
    position: absolute;
    height: 100%;
    max-height: 420px;

    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.05;
}

#footer .inner {
    position: relative;
    z-index: 2;
}

#footer-nav {
    display: flex;
}

#footer-after {
    display: flex;
    color: var(--color-tertiary);
    font-size: 12px;
    line-height: 16px;
    padding-bottom: 50px;
}

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

#footer .menu:not(.social-menu) a {
    display: inline-block;
    color: var(--color-tertiary);
    transition: 0.2s ease-in-out;
    text-decoration: none;
    padding: 5px 0;
}
#footer .social-menu li,
#footer .social-menu li + li {
    margin: 0 0 15px 0;
}
#footer .menu:not(.social-menu) a:hover {
    color: var(--color-primary);
}

#footer .menu-item:not(:last-of-type) {
    margin-right: 30px;
}

#footer-nav {
    margin-bottom: 100px;
}

#footer-nav .menu {
    flex-direction: column;
}

#footer-after .col {
    display: flex;
    align-items: center;
}

@media only screen and (max-width: 640px) {
    #footer:before {
        background-position: 100% 0;
    }
    #footer-nav {
        margin-bottom: 0;
    }
    #legal-menu {
        flex-direction: column;
    }
}

#footer .dondr a {
    color: var(--color-tertiary);
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

#footer .dondr a:hover {
    color: var(--color-primary);
}