/* CHUGFLUX */

:root {
    --width: 700px;
    --font: monospace;
    --background: #292929;
    --text: #dcdcdc;
    --muted: #999999;
}

/* BASIC */

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    font-size: 1.2em;
    line-height: 1.5;
    margin: auto;
    padding: 20px;
    max-width: var(--width);
    background: var(--background);
    color: var(--text);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a {
    color: var(--text);
    cursor: pointer;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* HEADER */

header {
    text-align: center;
    margin-bottom: 50px;
}

.site-title {
    color: var(--text);
    text-decoration: none;
    font-size: 1.5em;
}

.site-title:hover {
    text-decoration: none;
}

nav {
    margin-top: 8px;
}

nav a {
    color: var(--text);
    margin-right: 8px;
}

nav a:last-child {
    margin-right: 0;
}

/* HOMEPAGE STATEMENT */

.system-statement {
    text-align: center;
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 30px;
}

/* JOURNAL */

.blog-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-posts li {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    grid-template-areas:
        "date title"
        "date content";
    column-gap: 20px;
    row-gap: 8px;
    align-items: start;
    margin-bottom: 60px;
}

.blog-posts .date {
    grid-area: date;
    text-align: center;
}

.blog-posts > li > a {
    grid-area: title;
    color: var(--text);
    text-decoration: none;
}

.blog-posts > li > a:hover {
    text-decoration: underline;
}

.post-content {
    grid-area: content;
    text-align: center;
}

.post-content img,
.post-content video {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto 12px auto;
}

.below-note {
    display: block;
    width: 100%;
    margin-top: 12px;
    text-align: left;
    line-height: 1.5;
    color: var(--text);
}

/* LEFT NOTES */

.post-content {
    position: relative;
}

.left-note {
    position: absolute;
    width: 130px;
    left: calc(-130px - 20px);
    top: 0;
    text-align: center;
    font-size: 0.65em;
    line-height: 1.4;
    color: var(--muted);
}

/* FOOTER */

footer {
    padding: 25px 0;
    text-align: center;
    font-family: monospace;
}
.individual-post h1 {
    font-family: monospace;
    font-size: 1.2em;
    font-weight: normal;
    line-height: 1.5;
    margin: 0;
}
.individual-post .post-header {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;
}

.individual-post .post-header .date {
    grid-column: 1;
    grid-row: 1;
    text-align: center;
    transform: translateY(2px);
}

.individual-post .post-header h1 {
    grid-column: 2;
    grid-row: 1;
}

.individual-post .post-body {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    column-gap: 20px;
    margin-top: 8px;
}

.individual-post .post-body > img,
.individual-post .post-body > video {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: auto;
    max-width: 100%;
    height: auto;
}

.individual-post .post-body .left-note {
    grid-column: 1;
    grid-row: 1;
    position: static;
    width: 130px;
    text-align: center;
}

.individual-post .post-body .below-note {
    grid-column: 2;
    grid-row: 2;
}
.individual-post .media video {
    display: block;
    width: 100%;
    height: auto;
}