@font-face {
  font-family: "DejaVu Sans";
  src: url("/fonts/dejavu-sans.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DejaVu Sans";
  src: url("/fonts/dejavu-sans-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DejaVu Sans";
  src: url("/fonts/dejavu-sans-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DejaVu Sans Mono";
  src: url("/fonts/dejavu-sans-mono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DejaVu Sans Mono";
  src: url("/fonts/dejavu-sans-mono-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --fg: #2b2b2b;
  --bg: #f2f2f0;
  --muted: #5a5a5a;
  --border: #cbcbc8;
  --link: #2f5f8a;

  --font-body: "DejaVu Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "DejaVu Sans Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #d8d8d5;
    --bg: #1b1b1a;
    --muted: #9a9a96;
    --border: #43433f;
    --link: #86b3de;
  }
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  max-width: 47.5em;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

code,
pre {
  font-family: var(--font-mono);
}

.site-header {
  margin-bottom: 2.5rem;
}

.site-title {
  font-family: var(--font-mono);
  font-weight: 700;
  text-decoration: none;
  font-size: 2rem;
  color: var(--fg);
}

.site-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0.75rem 0 0;
}

.site-tagline ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-tagline li {
  padding: 0.15rem 0;
}

.site-tagline h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 1rem 0 0.35rem;
}

.site-tagline h2 + ul {
  font-size: 1.25em;
}

.site-tagline a {
  color: var(--link);
}

.site-tagline h2 + ul li a[href]::before {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.4em;
  vertical-align: -0.1em;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.site-tagline h2 + ul li a[href*="mastodon"]::before,
.site-tagline h2 + ul li a[href*="social.sixdegreesofohio.com"]::before {
  -webkit-mask-image: url("/icons/mastodon.svg");
  mask-image: url("/icons/mastodon.svg");
}

.site-tagline h2 + ul li a[href*="pxlmo.com"]::before,
.site-tagline h2 + ul li a[href*="pixelfed"]::before {
  -webkit-mask-image: url("/icons/pixelfed.svg");
  mask-image: url("/icons/pixelfed.svg");
}

.site-tagline h2 + ul li a[href*="instagram.com"]::before {
  -webkit-mask-image: url("/icons/instagram.svg");
  mask-image: url("/icons/instagram.svg");
}

.site-tagline h2 + ul li a[href*="facebook.com"]::before {
  -webkit-mask-image: url("/icons/facebook.svg");
  mask-image: url("/icons/facebook.svg");
}

.site-tagline h2 + ul li a[href^="mailto:"]::before {
  -webkit-mask-image: url("/icons/email.svg");
  mask-image: url("/icons/email.svg");
}

.site-tagline h2 + ul li a[href*="pgp.key-server.io"]::before,
.site-tagline h2 + ul li a[href*="keyserver"]::before {
  -webkit-mask-image: url("/icons/key.svg");
  mask-image: url("/icons/key.svg");
}

article h1 {
  font-family: var(--font-mono);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

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

.post-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
}

.post-list time,
.meta,
.meta time,
.meta a {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 0.85rem;
}

.post-list time {
  white-space: nowrap;
}

.meta {
  margin-top: -0.5rem;
}

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

.backlinks {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.backlinks h2 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 700;
}

.tag-list {
  list-style: none;
  padding: 0;
  font-family: var(--font-mono);
}
