.main-footer-bar {
    background: #e3e3e3;
    padding: 2rem 0;
}

.footer-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 2rem;

     @media (min-width: 768px) {
        grid-template-columns: 1fr 2fr 2fr;
        justify-content: space-between;
        align-items: start;
     }
}

 .footer-content {
    text-align: center;
    padding: 0 2rem;
   
    @media (min-width: 768px) {
        text-align: left;
    }

    h2 {
        color: var(--text-accent);
        margin: 0 0 0.5rem 0;
    }

    p {
        margin: 0;
        padding: 0;
    }

    a {
        text-decoration: none;
        color: #272727;

        &:hover {
            text-decoration: underline;
        }

        &:visited {
            color: #272727;
        }
    }

    ul {
        margin: 0;
        padding: 0;

        li {
            list-style-type: none;

            a {
                text-decoration: none;
                color: #272727;

                &:hover {
                    text-decoration: underline;
                }

                &:visited {
                    color: #272727;
                }
            }
        }
    }
}

.related-links-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;

    .related-link-box {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 10px 10px 15px 0px rgba(0,0,0,0.5);
        transition: all 0.1s linear;
        text-decoration: none;
        color: var(--text-base);
        background: #e3e3e3;
        height: 100%;
        display: inline-block;
        aspect-ratio: 1/1;

        a {
            width: 100%;
            height: 100%;
            display: inline-block;
        }

        img {
            width: auto;
            object-fit: cover;
        }

        &:hover {
            box-shadow: 15px 15px 15px 0px rgba(0,0,0,0.5);
            transform: scale(1.05);
            transition: all 0.1s linear;
        }
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10rem;

    @media (min-width: 768px) {
        justify-content: left;
    }

    a {
        height: 100%;

        img {
            height: 100%;
            width: auto;
        }
    }
}

p.contact-info {
    margin-bottom: 1rem;
}

i.fa-solid {
    width: 1.5rem;
}

.social-links-wrapper {
    display: flex;
    gap: 1rem;
}

.social-link {
    i {
        color: var(--text-accent);
        font-size: 2.25rem;
        line-height: 2.5rem;

        &:hover {
            filter: brightness(1.1);
        }
    }
}

.copyright-bar {
    background: #000000;
    padding: 1rem 0;
    color: #FFFFFF;
}