:root {
  --bg: #fafaf7;
  --text: #2b3036;
  --accent: #447e61;
}

body {
  display: flex;
  gap: 3rem;
  background: var(--bg);
  color: var(--text);
  font-family: inconsolata, monospace;
  font-size: 1.25rem;
}

a {
  color: inherit;
  text-decoration: none;
}

a.active {
  color: var(--accent);
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 14rem;
  margin: 4rem 0 0 3rem;
}

.logo {
  width: 5rem;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

main {
  width: 37.5rem;
  margin-top: 4rem;
}

h1 {
  font-size: 2rem;
  font-weight: normal;
  margin: 0;
}

.links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.links a:hover {
  color: var(--accent);
}

.links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon {
  width: 1rem;
}

p {
  line-height: 1.25;
}

h2 {
  font-size: 1.5rem;
  font-weight: normal;
  margin: 2rem 0;
}

article {
  margin-bottom: 2rem;
  line-height: 1.5;
  font-weight: 300;
}

article p,
article h3 {
  margin: 0;
  line-height: inherit;
}

article h3 {
  font-size: inherit;
  font-weight: 500;
}

.date,
.desc,
.tasks,
.tags {
  opacity: 0.75;
}

.tasks {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.summary {
  font-style: italic;
  margin: 2rem 0;
}

::selection {
  background: color-mix(in srgb, var(--accent) 40%, var(--bg));
}