footer {
	background-color: var(--c-surface);
	height: 20vh;
	justify-content: space-around;
	font-size: 1.1rem;
}

.footer-slim {
    width: 100vw;
    background: var(--c-surface);
    color: var(--c-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 2rem;
    font-size: 1rem;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    position: relative;
    bottom: 0;
    left: 0;
    z-index: 10;
}

#footer-left {
    flex: 1;
    text-align: left;
    font-size: 0.95rem;
    opacity: 0.7;
}

#footer-center {
    flex: 1;
    text-align: center;
}

#footer-right {
    flex: 1;
    text-align: right;
    display: flex;
    gap: 1.2rem;
    justify-content: flex-end;
}

#footer-right a {
	margin: 1rem 0;
	text-decoration: none;
	color: var(--c-text);
}

#footer-right a:hover {
	color: var(--c-primary);
}

.footer-link {
    color: var(--c-text);
    text-decoration: none;
    margin: 0 0.3rem;
    font-size: 1.1rem;
    opacity: 0.8;
    transition: color 0.2s, opacity 0.2s;
}

.footer-link:hover {
    color: var(--c-primary);
    opacity: 1;
}

@media (max-width: 700px) {
    .footer-slim {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0.5rem;
        font-size: 0.95rem;
    }
    #footer-left, #footer-center, #footer-right {
        text-align: center;
        flex: unset;
        width: 100%;
        justify-content: center;
    }
    #footer-right {
        gap: 0.7rem;
    }
}