/* Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 1rem;
    background: #c0c0c0;
    color: #000;
    font-family: "Times New Roman", Times, serif;
    line-height: 1.5;
}

/* Netscape default link colors */
a {
    color: #0000ee;
}

a:visited {
    color: #551a8b;
}

/* Block: window */
.window {
    max-width: 40rem;
    margin: 0 auto;
    background: #fff;
    border: 2px outset #fff;
    box-shadow: 2px 2px 0 #000;
}

/* Block: header */
.header {
    padding: 1rem;
    text-align: center;
}

.header__title {
    font-family: Arial, Helvetica, sans-serif;
    color: #000080;
}

/* Block: menu */
.menu {
    background: #000080;
    font-family: Arial, Helvetica, sans-serif;
}

.menu__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0.5rem;
    list-style: none;
    font-weight: bold;
}

.menu__link,
.menu__link:visited {
    color: #fff;
}

.menu__link:focus-visible {
    outline: 2px solid #ff0;
    outline-offset: 2px;
}

/* Block: content */
.content {
    padding: 1rem;
}

.content__heading {
    font-family: Arial, Helvetica, sans-serif;
    color: #800000;
}

/* Block: footer */
.footer {
    padding: 1rem;
    background: #e0e0e0;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.875rem;
}

.header__home {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #000080;
}

.header__home img {
    vertical-align: middle;
}

/* Block: posts (list on the landing page) */
.posts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.posts__item {
    margin: 0.5rem 0;
}

.posts__date {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.875rem;
    color: #444;
}

/* Block: post */
.post__title {
    font-family: Arial, Helvetica, sans-serif;
    color: #000080;
}

.post__meta {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.875rem;
    color: #444;
}

/* Block: prose (HTML generated from Markdown, so element selectors are scoped here) */
.prose h2,
.prose h3,
.prose h4 {
    font-family: Arial, Helvetica, sans-serif;
    color: #800000;
}

.prose img {
    max-width: 100%;
    height: auto;
}

.prose code {
    font-family: "Courier New", Courier, monospace;
}

.prose pre {
    padding: 0.5rem;
    overflow-x: auto;
    background: #f0f0f0;
    border: 1px solid #808080;
}

.prose blockquote {
    margin: 1rem 0;
    padding: 0.25rem 1rem;
    border-left: 4px solid #808080;
    background: #f0f0f0;
}

.prose table {
    border-collapse: collapse;
}

.prose th,
.prose td {
    padding: 0.25rem 0.5rem;
    border: 1px solid #808080;
}

.prose th {
    background: #e0e0e0;
}
