:root {
    --background: white;
    --background-alt: #e6e6e6;
    --text: #222222;
    --text-alt: #666666;
    --accent: blue;
    --accent-alt: #6495ed;

    --box-shadow-color-1: rgba(0, 0, 0, 0.4);
    --box-shadow-color-2: rgba(0, 0, 0, 0.3);
    --box-shadow-color-3: rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: black;
        --background-alt: #121212;
        --text: #eeeeee;
        --text-alt: #bbbbbb;
        --accent: #ff003f;
        --accent-alt: #ec8230;

        --box-shadow-color-1: rgba(255, 255, 255, 0.4);
        --box-shadow-color-2: rgba(255, 255, 255, 0.3);
        --box-shadow-color-3: rgba(255, 255, 255, 0.2);
    }
}

html {
    background-color: var(--background);
    color: var(--text);
    font-family: Verdana, "-apple-system-body", "-apple-system", sans-serif;
    line-height: 1.6;
    font-size: 1rem;
}

body {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

h1,
h2,
h3 {
    font-family: Georgia, serif;
}

a {
    color: var(--accent);
}

article {
    border: 1px solid;
    margin: 0em 0em 1em;
    padding: .5em 1em .5em;
    border-radius: 5px;
    box-shadow: 0px 2px 7px var(--box-shadow-color-1),
        0px 7px 13px -3px var(--accent),
        inset 0px -3px 0px var(--box-shadow-color-3);
}

article header {
    /* background: var(--background-alt); */
    margin: 0em 0em 0em 0em;
    padding: 0em;
    border-top-right-radius: inherit;
    border-top-left-radius: inherit;
}


article header h1 {
    margin-top: 0;
    margin-bottom: 0;
    border-top-right-radius: inherit;
    border-top-left-radius: inherit;
}

article footer time {
    color: var(--accent-alt);
}

article section {
    margin-top: 0px;
    margin-bottom: .5rem;
}

article section p:first-of-type {
    margin-top: .5rem;
}

article section p:last-child {
    margin-bottom: 0px;
}

article footer {
    display: grid;
    grid-template-columns: 2;
    margin: 0em 0em 0em 0em;
    padding: 0em;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

article footer p {
    margin-bottom: 0;
    margin-top: 0;
}

article footer p:last-of-type {
    grid-column: 2;
    text-align: right;
}

article footer details {
    display: none;
}

article:last-of-type {
    margin-bottom: inherit;
}

body>header h1 {
    font-size: 2.8rem;
    padding-bottom: 0px;
}

menu {
    list-style: none;
    padding: 0;
}

menu li {
    display: inline;
}

menu li:after {
    content: ' | ';
    color: var(--background-alt);
}

menu li:last-child:after {
    content: '';
}

header {
    margin-bottom: 1rem;
}

menu {
    margin-bottom: 2rem;
}

footer {
    margin-top: 2rem;
}


blockquote {
    border-left: 2px solid var(--background-alt);
    border-left-color: var(--accent);
    padding-left: 1rem;
    margin-left: 1rem;
}


img,
video,
iframe {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

.microblog_conversation {
    margin: 16px 0;
}

.microblog_post {
    padding-top: 16px;
    margin: 16px 0;
    border-top: 1px solid var(--background-alt);
}

.microblog_avatar {
    border-radius: 1rem;
}

.microblog_time a {
    color: var(--accent-alt);
}

.bookshelf_book {
    min-height: 140px;
    margin-top: 4px;
    margin-bottom: 8px;
}

.bookshelf_book img {
    min-height: 100px;
    width: 80px !important;
    min-width: 80px !important;
    max-height: 140px !important;
    margin-right: 8px;
    padding-right: 0 !important;
    border-radius: 6px !important;
    background-color: var(--background-alt);
    justify-content: center;
}

.bookshelf_author {
    color: var(--text-alt);
    font-weight: 500;
    font-size: 1rem;
}

.bookshelf_title {
    font-weight: 600;
    font-size: 1rem;
}

.pagination {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 2;

}

.nav_prev {
    grid-column: 1;
    text-align: left;
}

.nav_next {
    grid-column: 2;
    text-align: right;
}

li::marker {
    color: var(--accent);
}