html {
    background-color: #1a1a1a;
}
body {
    background-color: #1a1a1a;
    color: #f0f0f0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    max-width: 800px;
    margin: 20px auto 0;
    padding: 20px;
    line-height: 1.6;
    border-radius: 3px;
}
h1 {
    color: #cccccc;
}
h2 {
    color: #cccccc;
    font-size: 1.6em;
    font-weight: bold;
}
.site-logo {
    text-align: center;
    color: #555555;
    letter-spacing: 0.2em;
    background-color: #1a1a1a;
    margin: -20px -20px 0;
    padding: 10px 20px 20px;
}
.nav-dots {
    letter-spacing: 0.2em;
    color: #555555;
}
.site-logo a, .site-logo a:visited {
    color: inherit;
}
.dots-back {
    display: none;
}
.site-logo-link:hover .dots-normal {
    display: none;
}
.site-logo-link:hover .dots-back {
    display: inline;
}
.site-desc {
    text-align: center;
    color: #8a8078;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}
a {
    color: #5a8ab0;
    text-decoration: none;
}
a:visited {
    color: #8a5ab0;
}
a:hover {
    text-decoration: none;
}
p {
    margin-bottom: 1.2em;
}
blockquote {
    border-left: 3px solid #282828;
    margin: 0;
    padding-left: 20px;
    color: #cccccc;
    font-style: italic;
}

ul {
    list-style-type: disc;
    padding-left: 1.4em;
}
li {
    margin-bottom: 4px;
}

/* index cards */
.post-list {
    list-style-type: none;
    padding: 0;
}
.post-list li {
    margin-bottom: 6px;
    border-radius: 4px;
    background-color: #282828;
    border: 5px solid transparent;
    transition: border-color 0.2s;
    overflow: hidden;
}
.post-list li a.has-photo {
    background-image: linear-gradient(to right, #282828 50%, transparent), var(--photo);
    background-size: 100% 100%, cover;
    background-position: 0 0, right center;
    background-repeat: no-repeat, no-repeat;
}
.post-list li:hover {
    border-color: #cc6600;
}
.post-list li a {
    display: block;
    padding: 8px 10px;
    color: #b0b0b0;
}
.post-list li a:visited {
    color: #b0b0b0;
}
.post-title {
    display: block;
}
.post-dates {
    display: block;
    margin-left: 1em;
    font-size: 0.8em;
    margin-top: 2px;
}
.post-desc {
    display: block;
    margin-left: 1em;
    font-size: 0.8em;
    color: #888888;
    margin-top: 4px;
}
.date-label {
    color: #888888;
}
.date-val {
    color: #666666;
}
.date-newest {
    color: #5a9e5a;
}
.category {
    color: #aaaaaa;
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* posts */
.back {
    font-size: 1.1em;
    margin-bottom: 30px;
    display: block;
    color: #b0b0b0;
}
.back:visited {
    color: #b0b0b0;
}
.meta {
    font-size: 0.9em;
    margin-bottom: 30px;
}
.archive-notice {
    background-color: #282828;
    border-left: 3px solid #5a9e5a;
    padding: 8px 12px;
    margin-bottom: 24px;
    font-size: 0.9em;
    color: #aaaaaa;
    border-radius: 4px;
}
.changelog {
    margin-top: 40px;
    padding-top: 16px;
}
.changelog-title {
    color: #aaaaaa;
    font-size: 1em;
    margin-bottom: 8px;
}
.changelog-note {
    color: #666666;
}
footer {
    margin-top: 30px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
    padding: 20px;
    text-align: center;
    background-color: #1a1a1a;
}
.footer-dots {
    color: #555555;
    font-size: 1em;
    letter-spacing: 0.2em;
}
.dots-5th {
    display: none;
}
.footer-dots:has(~ .footer-quote:hover) .dots-normal {
    display: none;
}
.footer-dots:has(~ .footer-quote:hover) .dots-5th {
    display: inline;
}
.footer-quote {
    margin-top: 8px;
    font-size: 0.8em;
    color: #666666;
}
.footer-quote a {
    color: #666666;
}
.footer-quote a:visited {
    color: #666666;
}
.post-photo {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 24px;
    display: block;
}
.post-figure {
    text-align: center;
    margin: 1.5em 0;
}
.post-figure img {
    max-width: 100%;
    border-radius: 3px;
    display: block;
    margin: 0 auto;
}
figcaption {
    font-size: 0.85em;
    color: #888888;
    margin-top: 6px;
}
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.92);
    z-index: 100;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.lightbox:target {
    display: flex;
}
.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 3px;
}
mark {
    background-color: #4a3f1a;
    color: #e0c97a;
    border-radius: 2px;
    padding: 0 2px;
}
del {
    color: #666666;
}
