* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: #111111;
    color: #E6E6E6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a:link {
    color: #139A43;
}

a:visited {
    color: #0E7A34;
}

a:hover {
    color: #34D058;
}

header {
    padding: 12px 16px;
    border-bottom: 1px solid #0B5D1E;
    line-height: 1.3;
}

header strong {
    font-size: 1rem;
    margin-right: 12px;
}

header strong a.site-title {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
}

header strong a.site-title:hover {
    text-decoration: underline;
}

nav {
    display: inline-block;
}

nav a {
    margin: 0 5px;
    font-size: 0.95rem;
}

.nav-cluster {
    display: inline-block;
    white-space: nowrap;
}

.sep {
    color: #555555;
    margin: 0 4px;
}

main {
    padding: 24px 16px 48px 16px;
    max-width: 72ch;
}

main > *:first-child {
    margin-top: 0;
}

main > *:last-child {
    margin-bottom: 0;
}

h1, h2, h3 {
    color: #FFFFFF;
    font-weight: 600;
    line-height: 1.35;
    margin: 1.5rem 0 1.5rem 0;
}

h1 {
    font-size: 1.35rem;
}

h1.article-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.15rem;
}

h3 {
    font-size: 1rem;
}

p, ul, ol, blockquote, pre, .video-block {
    margin: 1rem 0;
}

ul, ol {
    padding-left: 1.4rem;
}

li {
    margin: 0.25rem 0;
}

blockquote {
    padding-left: 14px;
    border-left: 2px solid #0B5D1E;
    color: #AAAAAA;
}

code, pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88rem;
}

p code, li code {
    background-color: #161C17;
    border: 1px solid #0B5D1E;
    padding: 1px 5px;
}

pre {
    background-color: #141915;
    border: 1px solid #0B5D1E;
    padding: 10px 12px;
    overflow-x: auto;
}

ul.posts {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

ul.posts li {
    margin: 0;
    padding: 3px 0;
}

ul.posts .date {
    color: #888888;
    margin-left: 8px;
    font-size: 0.88em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.video-block video {
    display: block;
    max-width: 650px;
    width: 100%;
    border: 1px solid #0B5D1E;
    background: #000000;
}

.video-block figcaption {
    margin-top: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
    color: #888888;
    line-height: 1.4;
}

.video-block .video-name {
    color: inherit;
}

.video-block .video-note {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.74rem;
    color: #B8B8B8;
    margin-top: 2px;
}

@media screen and (max-width: 600px) {
    header, main {
        padding-left: 12px;
        padding-right: 12px;
    }
}