footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary);
    color: var(--text-dark-background);
}
footer li{
    text-shadow: unset;
}
footer .container{
    padding: var(--container-padding);
    margin: 1.5em 0;
    display: grid;
    grid-template-columns: repeat(3, min-content);
    justify-content: space-between;
    align-items: start;
}
footer .container > *{
    display: flex;
    flex-direction: column;
    gap: calc(4 * var(--gap));
    width: min-content;
}
footer > :last-child{
    grid-column: 1 / -1;
    background-color: var(--secondary);
    width: 100%;
    display: flex;
    justify-content: center;
}
footer > :last-child > a{
    color: var(--text-dark-background);
    font-size: calc(var(--font-size-general) * 0.8);
    margin: 0.4em 0;
}
footer .container h3, footer .container a{
    color: inherit;
    word-break: normal;
    padding: 0;
    white-space: nowrap;
}

footer .container .link:hover::before{
    content:  url('data:image/svg+xml;charset=UTF-8,<svg height="1em" viewBox="0 0 30 30" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M22.8281 16.875H0V13.125H22.8281L12.3281 2.625L15 0L30 15L15 30L12.3281 27.375L22.8281 16.875Z" fill="inherit"></path></svg>');
}

@media only screen and (max-width: 800px) {
    footer .container{
        grid-template-columns: repeat(2, 1fr);
    }
    footer .container > *{
        margin: 0 auto;
    }
    footer .container > :last-child{
        grid-column: 1 / -1;
    }
    footer .container .contact h3{
        text-align: center;
    }
    footer .container .contact ul li:not(:last-child){
        white-space: nowrap;
    }
}

