.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--spacing-grid);
    width: 100%;
}
.footer h2 {
    font-size: 1rem;
    line-height: 1rem;
}
.footer p {
    font-size: .8rem;
    margin: 0;
}
.footer a, .footer a:hover, .footer a:focus {
    color: var(--color-title);
}
.footer__socials {
    display: flex;
    align-items: center;
}
.footer__socials a {
    height: 4rem;
    width: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-900);
    border-radius: var(--border-radius);
    margin-right: var(--spacing-m);
}
a.footer__credits {
    margin-right: 0;
}
.footer__socials a small {
    opacity: .5;
}
.footer__socials a i {
    font-size: 1.2rem;
    opacity: .5;
}
.footer__socials a:hover i {
    opacity: 1;
}
a.footer__credits {
    width: auto;
    justify-content: space-between;
    padding: 0 1.5rem;
}
.footer__credits i {
    margin-left: var(--spacing-grid);
}
.footer__credits * {
    display: block;
}
@media only screen and (max-width: 1200px) {
    .footer {
        display: block;
    }
    .footer__copy {
        margin-bottom: var(--spacing-grid);
    }
    .footer__socials {
        flex-wrap: wrap;
    }
    .footer__socials a:not(:last-child) {
        flex: 1;
    }
    .footer__socials a:nth-last-child(2) {
        margin-right: 0;
    }
    a.footer__credits {
        width: 100%;
        margin-top: var(--spacing-m);
    }
}