:root {
  color-scheme: light dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

ul,
ol {
  list-style: none;
}

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

a:hover {
  text-decoration: underline;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.5;
  background: #fdfdfd;
  color: #1a1a1a;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #15161a;
    color: #e6e6e6;
  }
}

.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.nav-title {
  font-weight: 600;
}

.nav nav {
  display: flex;
  gap: 1rem;
}

.nav nav a[aria-current="page"] {
  text-decoration: underline;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.links,
.projects {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.link-entry a {
  font-weight: 600;
}

.link-entry time {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.85em;
  opacity: 0.65;
}

.note {
  margin-top: 0.25rem;
  opacity: 0.85;
}

.project-entry h2 {
  font-size: 1.05em;
  font-weight: 600;
}

.status {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 400;
  opacity: 0.7;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 0.05rem 0.4rem;
  margin-left: 0.25rem;
}

.project-entry p {
  margin-top: 0.25rem;
}

.project-links {
  opacity: 0.85;
}

.project-header {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
