html {
  color-scheme: light dark;
  --content-width: 46em;
}

:root {
  --rule: #dddddd;
  --content-width: 46em;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: monospace;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--content-width);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 16px 48px;
}

.content {
  width: 100%;
  margin: 24px 0 40px;
}

.site-nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.site-links {
  display: flex;
  gap: 16px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
}

.page-header h1,
.post-header h1 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

h2 {
  font-size: 1.15rem;
  margin-top: 28px;
}

p {
  margin: 0 0 16px;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.post-meta {
  margin-top: 0;
}

.post-body a,
.page-body a {
  text-decoration: underline;
}

.post-body h2,
.post-body h3 {
  margin-top: 28px;
}

.post-body ul,
.post-body ol {
  padding-left: 20px;
}

.post-body li {
  margin-bottom: 6px;
}

.post-body img {
  max-width: 100%;
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .page-header h1,
  .post-header h1 {
    font-size: 1.3rem;
  }
}
