html {
    background: #fff7fb;
    color: #111111;
}

body {
    width: 90%;
    max-width: 64em;
    margin: 0 auto;
    padding: 2em 0 6em 0;

    font-family: monospace;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: #008fb3;
}

a:visited {
    color: #8a35a8;
}

a:hover {
    color: #d4007f;
}

a:focus {
    outline: 1px dotted #ffd400;
    outline-offset: 2px;
}

#header {
    margin-bottom: 4em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #00a9c7;
}

.nav {
    float: right;
}

.nav a {
    margin-left: 1em;
}

.post {
    margin-bottom: 6em;
}

.post-head {
    margin-bottom: 2em;
}

.post + .post::before {
    content: "";
    display: block;
    width: 8em;
    margin: 0 auto 4em auto;
    border-top: 3px solid #ffd400;
}

.post h1 {
    margin-bottom: 0.25em;
    font-size: 1.3em;
    font-weight: normal;
}

.post h1 a {
    color: #c21878;
    text-decoration: none;
}

.post h1 a:visited {
    color: #8d3f8f;
}

.post h1 a:hover {
    color: #ff2f92;
    text-decoration: underline;
}

.date a {
    color: #c21878;
    text-decoration: none;
}

.date a:visited {
    color: #8d3f8f;
}

.date a:hover {
    color: #ff2f92;
    text-decoration: underline;
}

.date {
    color: #6f5667;
}

.post-body {
    word-wrap: break-word;
}

.post-body p {
    margin: 1.2em 0;
}

.post-body pre {
    overflow: auto;
}

.post-body blockquote {
    margin-left: 2em;
    border-left: 3px solid #00a9c7;
    padding-left: 1em;
}

.post-body code,
.post-body pre {
    font-family: monospace;
}

hr {
    border: 0;
    border-top: 2px solid #d4007f;
    margin: 3em 0;
}

.post-nav {
    margin-top: 4em;
    padding-top: 1em;
    border-top: 2px solid #d4007f;
}

.archive {
    list-style: none;
    padding: 0;
}

.archive li {
    margin: 0.5em 0;
}

.archive .date {
    display: inline-block;
    width: 17em;
}

@media (prefers-color-scheme: dark) {
    html {
        background: #120f14;
        color: #f8f8f2;
    }

    a {
        color: #39d9ff;
    }

    a:visited {
        color: #b57ad0;
    }

    a:hover {
        color: #ff4fa3;
    }

    a:focus {
        outline-color: #ffe34d;
    }

    #header {
        border-bottom-color: #20cde8;
    }

    .post h1 a {
        color: #ff5aa7;
    }

    .post h1 a:visited {
        color: #c985c0;
    }

    .post h1 a:hover {
        color: #ff87c0;
    }

    .date a {
        color: #ff5aa7;
    }

    .date a:visited {
        color: #c985c0;
    }

    .date a:hover {
        color: #ff87c0;
    }

    .date {
        color: #c2abb8;
    }

    .post + .post::before {
        border-top-color: #ffe34d;
    }

    .post-body blockquote {
        border-left-color: #20cde8;
    }

    hr,
    .post-nav {
        border-top-color: #ff4fa3;
    }
}
