.thumbnails-div {
    --nails-hide-display: none; 
}

aside {
    font-family: "Briel Nib", Courier, monospace;
    font-size: smaller;
    text-align: left;
}

kbd {
    font-family: Courier, monospace;
    font-size: smaller;
    font-weight: bolder;
}

main .bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    margin-top: max(-0.25em, -5vw + 1em);
    margin-bottom: max(-0.25em, -5vw + 0.5em);
}

.bar .container {
    margin: auto 0.2em;
}

main .view-button {
    display: grid;
    grid-template-columns: 1fr minmax(1em, 1fr) 1fr;
    grid-template-rows: 1fr;
    justify-self: auto;
    max-width:fit-content;
    height:min-content;
    padding: 0;
    width: max-content;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.view-button svg.ui {
    /* flex: 1 1em; */
}

footer .nav-button {
    position: static;
}

footer .button-line, 
footer .bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

footer .nav-line .archive-button {
    border-radius: 5%;
}

footer .nav-line .archive-button .button-text {
    flex: none;
    margin: auto min(0.5em, 0.5vw);
}

footer .nav-line .archive-button svg.ui {
    flex: none;
}

/* @media screen and (max-width: 590px) and (min-width: 501px) {
    header .nav-button {
        display: block;
        height: 3.5em;
    }

    header .nav-button svg.ui {
        margin: 0.1em 0em;
        max-height: 2em;
    }

    header .home-button .button-text {
        position: static;
    }

} */

@media screen and (max-width: 800px) {

    header .bar {
        position: relative;
        text-align: center;
        margin-bottom: clamp(0.2em, 0.2em + 2.5 * (800px - 100vw), 3.9em);
    }

    h1 {
        display: block;
        max-width: 100%;
        padding: 0 calc(50vw - 1.6em);
    }

    header .nav-button {
        /* width: 4em; */
        position: absolute;
        bottom: clamp(-3.5em, -2 * (800px - 100vw), 0em);
        width: min(10em + 0.5 * (800px - 100vw), 50%);
    }

    header .home-button .button-text {
        left: calc(45%)
    }

    header .archive-button {
        right: 0em;
    }
}

@media screen and (max-width: 500px) {
    main .view-button {
        display: inline grid;
        grid-template-rows: 1fr 3fr 1fr;
        grid-template-columns: none;
        text-align: center;
        width: 3em;
        height: 5.4em;
    }

}