footer {
    /* positioning footer to the bottom PART 2*/
    margin-top: auto;
}

footer {
    background-color: var(--text-color);
    color: var(--background-color);
    font-size: .8rem;
    letter-spacing: .1em;
}

footer a:hover {
    color: goldenrod;
}

footer a:not([no-underline]):after {
    background-color: goldenrod;
}

.footer-content {
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.footer-content address {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.footer-content .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer-legal {
    padding-block: .5em;
    display: flex;
    justify-content: space-between;
}



@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        gap: 2rem;
    }
}
