@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/inter-v20-latin-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/inter-v20-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/inter-v20-latin-700italic.woff2');
}

:root {
  color-scheme: light dark;
  --background: light-dark(#ffffff, #1d1e1f);
  --header: light-dark(#444444, #ccdbe5);
  --text: light-dark(#444444, #dfe0e0);
  --accent: light-dark(#dd4c4f, #44a2e5);
}

body {
  color-scheme: light dark;
  color: var(--text);
  background-color: var(--background-primary);
  font-family: 'Inter';
  padding: 16px 16px 64px 16px;
  max-width: 700px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--header);
}

h1, h2 {
  margin-bottom: 12px;
}

h3, h4 {
  margin-bottom: 8px;
}

p {
  line-height: 1.5;
}

p + p {
  margin-top: 32px;  
}

a {
  color: var(--accent);
  text-decoration: none;
}

hr {
  opacity: 0.15;
  margin: 1em 0;
}

#avatar {
  width: 128px;
  border-radius: 15%;
  margin-top: 20px;
}

#blurb {
  margin-bottom: 36px; 
}

header:has(.nav-title-small) {
  display: flex;
}

.nav-title-small {
  margin-right: 8px;
}
