/* =========================
   FOOTER
   The same footer on every page, in the same clear glass as the
   navigation bar. Each page's photo continues behind the footer and
   shows through it, only blurred. The warm rule along the top mirrors
   the one under the navigation bar.
   ========================= */

.footer {

    background: var(--glass-tint);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);

    border-top: 3px solid var(--color-accent);

    color: white;

    text-shadow: var(--glass-text-halo);

    text-align: center;

    padding: 30px 20px;

    font-size: 15px;

    /* On a short page, takes up the spare space above it, so the footer
       sits at the bottom of the window (see BODY in global.css). */
    margin-top: auto;

}

.footer a {

    color: var(--color-accent);

    text-decoration: none;

}

.footer a:hover {

    text-decoration: underline;

}

/* =========================
   GLASS FALLBACK
   Browsers that can't blur get a nearly solid footer.
   ========================= */

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {

    .footer {
        background: var(--glass-solid);
    }

}
