footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: var(--bg-color);
    border-top: 1px solid #bbb;
    z-index: 10;
    align-items: center;
}

.footer-left {
    flex: 1;
    text-align: left;
    display: flex;
    align-items: center;
    margin: 1rem 5rem 1rem 1rem;
}

.footer-right {
    flex: 0 0 auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 1rem 1rem 1rem 0;
}

.footer-content {
    display: grid;
}

footer p {
    margin: 2px 0;
    font-size: 0.85rem;
}

footer a {
    color: #0f82af;
    text-decoration: none;
    margin: 2px 0;
}

footer a:link {
    color: #66ccff; /* bright sky blue */
}

footer a:visited {
    color: #cc99ff; /* soft purple */
}

@media only screen and (max-width: 768px) {
    .footer-left {
        margin: 1rem 2rem 1rem 1rem;
    }

    .footer-right {
        gap: 1rem;
    }
}