.footer {
    flex: 0.05;
    position: relative;
    margin: calc(1vw + 1vh);
    background-color: rgba(var(--bg-color--rgb), var(--bg-color--alpha));
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: none;
    padding: calc(0.5vw + 0.5vh);
    border-radius: 2vmin;
    z-index: 10;

    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    box-shadow: var(--box-shadow);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-left {
    flex: 1;
    text-align: left;
    vertical-align: center;
}

.footer-center {
    flex: 1;
    text-align: center;
    vertical-align: center;
    display: block;
}

.footer-right {
    flex: 1;
    text-align: right;
    vertical-align: center;
}


.footer a {
    color: var(--text-color);
    text-decoration: none;
    border-radius: 1vmin;
    padding: 0.15rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer a:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.footer button {
    text-decoration: none;
    outline: none;
    background: none;
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.15rem;
    color: var(--text-color);
    border-radius: 1vmin;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer button:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.footer .none_768 {
    display: compact;
}

@media (max-width: 768px) {
    .footer .none_768 {
        display: none;
    }
    #form-button {
        text-align: right;
    }
}