/* Site-wide styles */
html, body {
    border: 0;
    margin: 0;
    padding: 0;
}

body {
    background-color: #d6dbd2;
    color: #30332e;
    padding: 1rem;
    font-family: "Libre Baskerville", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.7;
}

a:link, a:visited, a:active {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a, a:link, a:visited {
    color: #3066be;
}

a:visited {
    color: #bf4e30;
}

h1 {
    margin-bottom: 0.5rem;
}

blockquote {
    border-left: 1px solid #474b44;
    padding-left: 1rem;
}

blockquote p {
    font-style: italic;
    font-weight: 300;
}

code {
    color: #ff5666;
    background-color: #30332e;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 300;
    font-family: "IBM Plex Mono", monospace;
}

pre {
    border-radius: 0.25rem;
    background-color: #30332e;
    max-width: 100%;
    overflow-x: scroll;
    margin: 1rem;
}

pre code {
    padding: 0;
    font-weight: 300;
    font-family: "IBM Plex Mono", monospace;
}

article img {
    max-width: 100%;
}

hr {
    color: #474b44;
    border-style: solid;
    border-width: 1px 0 0 0;
}

/* Base layout structure */
header {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    font-family: "IBM Plex Sans", monospace;   
    font-size: 2rem;

    display: flex;
    flex-direction: row;
    align-items: flex-end;
    column-gap: 3rem;
    flex-wrap: wrap;
}

header a, header a:link, header a:visited, header a:active {
    white-space: nowrap;
    color: #30332e;
}

header a:hover {
    text-decoration: underline;
}

main {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

/* Custom classes */
.posts-list {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    row-gap: 1.2rem;
}

.posts-list .post {
    display: flex;
    flex-direction: column;
}

.posts-list .post small {
    color: #474b44;
}

.posts-list .post .blurb {
    font-size: 1rem;
}

.post-header {
    border-bottom: 2px solid #474b44;
}

.post-header time {
    font-weight: 200;
    color: #474b44;
}

.footnotes {
    font-size: 0.9rem;
}
