/* noeleverson.com: style.css */
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap");

:root {
  --bg: #121614;
  --panel: #181e1b;
  --line: #272f2b;
  --fg: #d9ded9;
  --muted: #849088;
  --accent: #a9c7a2;
  color-scheme: dark;
}

body {
  color: var(--fg);
  font: 16px/1.7 "Source Serif 4", Georgia, serif;
  background: var(--bg);
  margin: 0 auto;
  max-width: 38rem;
  padding: 2.5rem 1.25rem 5rem;
}
header {
  margin-bottom: 2.75rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}
.name {
  font-weight: 600;
  font-size: 1.15em;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: .01em;
}
.tagline {
  color: var(--muted);
  margin-left: .75rem;
  font-style: italic;
}
a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--fg);
}
.name:hover {
  color: var(--accent);
}
h1 {
  font-size: 1.7em;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 .3rem;
}
h2 {
  font-size: 1.2em;
  font-weight: 600;
  margin: 2.2rem 0 .5rem;
}
p {
  margin: 1em 0;
}
.meta {
  color: var(--muted);
  font-size: .85em;
  margin: 0 0 2.25rem;
  font-variant-numeric: tabular-nums;
}
.date {
  color: var(--muted);
  font-size: .85em;
  font-variant-numeric: tabular-nums;
}
ul.essays {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.essays li {
  margin: .6rem 0;
}
ul.essays .date {
  display: inline-block;
  width: 4rem;
}
blockquote {
  border-left: 2px solid var(--accent);
  margin: 1.5rem 0;
  padding-left: 1rem;
  color: var(--muted);
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}
code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--panel);
  padding: .1em .35em;
  border-radius: 3px;
}
footer {
  margin-top: 4.5rem;
  color: var(--muted);
  font-size: .85em;
}
details.edits {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88em;
}
details.edits summary {
  cursor: pointer;
}
details.edits ul {
  list-style: none;
  padding: 0;
  margin: .75rem 0 0;
}
details.edits li {
  margin: .4rem 0;
}
details.edits .date {
  display: inline-block;
  width: 6.5rem;
}
.muted {
  color: var(--muted);
  font-size: .9em;
}
::selection {
  background: color-mix(in srgb, var(--accent) 28%, transparent);
}

.intro { color: var(--muted); margin: 0 0 2rem; }
