:root {
    --bg: #fff;
    --text: #0a0a0a;
    --link: #0a0a0a;
    --accent: #0000ee;
}

body {
    font-family: RecursiveVariable, sans-serif;
    margin: auto;
    max-width: 35rem;
    text-align: left;
    background-color: var(--bg);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
    color: var(--text);
    transition: 0.5s ease;
    padding: 2rem;
    font-size: 1.25rem;
}

@font-face {
    font-family: "RecursiveVariable";
    src: url("/assets/fonts/recursive-variable.ttf") format("truetype");
    font-weight: 200 300 400 500 600 700 800;
    font-display: swap;
    font-style: normal;
}

nav > a,
.blog-post > a,
#feed,
#stats {
    color: var(--link);
}

.tldr,
medium {
    margin: 2rem 0;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 400;
}

h1 {
    font-weight: 800;
}

.title {
    text-decoration: none;
    border: 0;
}

.title span {
    font-weight: 400;
}

nav a {
    margin-right: 10px;
}

nav {
    display: flex;
}

textarea {
    width: 100%;
    font-size: 16px;
}

input {
    font-size: 16px;
}

content {
    line-height: 1.6;
}

table {
    width: 100%;
}

img {
    max-width: 100%;
}

code {
    padding: 2px 5px;
    background-color: #2222;
}

pre code {
    color: var(--link);
    display: block;
    padding: 20px;
    white-space: pre-wrap;
    font-size: 14px;
    overflow-x: auto;
}

div.highlight pre {
    background-color: initial;
    color: initial;
}

div.highlight code {
    background-color: unset;
    color: unset;
}

blockquote {
    border-left: 1px solid #999;
    color: var(--link);
    padding-left: 20px;
    font-style: italic;
}

.helptext {
    color: #777;
    font-size: small;
}

.errorlist {
    color: #eba613;
    font-size: small;
}

.blog-post a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    text-decoration: none;
}

/* .post-title {
    font-size: 1.3rem;
    margin: 5px 0 5px 0;
} */

.blog-post {
    border-bottom: 1px grey dashed;
}
/*
  .blog-post:last-child {
    border-bottom: none;
  } */

ul.blog {
    list-style-type: none;
    padding: unset;
}

nav.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.article-meta {
    margin-top: 0;
}

.article-title {
    margin-bottom: 0;
}

.article-border {
    width: 5%;
    opacity: 0.9;
    margin-right: 100%;
}

.line {
    display: inline-block;
    width: 2px;
    background-color: var(--text);
    height: 11px;
    margin-right: 2px;
    margin-left: 2px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

nav {
    display: flex;
}

.post-date {
    flex-shrink: 0;
    opacity: 0.5;
    margin-left: 1em;
}

footer {
    margin-top: auto;
    text-align: center;
}

icon {
    size: 1em;
}

hr {
    width: 100%;
    opacity: 0.5;
}

.copyright {
    margin-bottom: 10px;
}

#feed > .icon,
#stats > .icon {
    padding-right: 0;
}

#feed,
#stats {
    margin: 0;
}

.icon {
    vertical-align: sub;
    padding-right: 0.25rem;
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

.stats {
    display: flex;
    list-style: none;
    align-items: top;
    gap: var(--grid-gutter);
    padding: 0;
    flex-wrap: wrap;
}

.stats li {
    padding: var(--space-xs);
    margin: 0;
    background-color: var(--quaternary-color);
    text-align: center;
    min-width: 30%;
    flex-grow: 1;
}

.stats li:where(:nth-child(5), :nth-child(6)) {
    text-align: left;
    padding-top: 1rem;
}

#feed {
    padding-right: 0.5rem;
    text-decoration: none;
}
