footer {
    display: grid;
    gap: 5em 2em;
    padding: 2em 10vw;
    align-items: flex-start;
    color: var(--primary-bg);
    background-color: var(--regular-text);

    h2 {
        text-align: left;
        font-size: 1.5rem;
    }

    section {
        display: grid;
        gap: 1.5em 0;

        &:nth-of-type(2) {
            ul {
                gap: 0.75em;
            }

            li,
            a {
                display: flex;
                gap: 0.5em;
                align-items: center;

                p {
                    font-size: 1.2em;
                }
            }

            img {
                width: 1.5em;
            }
        }
    }

    menu {
        display: grid;
        gap: 1.25em 2.5em;
    }

    ul {
        display: grid;
        gap: 1.5em;

        address {
            display: grid;
            gap: 0.75em;

            p {
                &:first-of-type {
                    font-size: 1.5em;
                    text-decoration-line: underline;
                    text-decoration-thickness: 1px;
                    text-underline-offset: 4px;
                    margin-bottom: 0.25em;
                }

                &:nth-of-type(2) {
                    font-weight: bold;
                    font-size: 1.15em;
                    letter-spacing: 1px;
                }
            }
        }
    }

    ul:has(address) {
        gap: 2.5em;
    }

    @media screen and (541px <=width) {
        grid-template-columns: 1fr 1fr;

        h2 {
            font-size: 1.4em;
        }
    }

    @media screen and (1024px <=width) {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 2em 7.5vw;

        ul {
            align-items: center;
        }

        h2 {
            font-size: 1.75em;
        }

        section {
            &:nth-of-type(1) {
                grid-column: 1/-1;

                ul {
                    grid-template-columns: repeat(3, 1fr);
                }
            }
        }
    }
}