:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Berkeley Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono",
    "Roboto Mono", Menlo, Monaco, "Liberation Mono", "Courier New", monospace;
  color: #1db954;
  background-color: #1a1a1a;
}

body.home {
  background-color: #111111;
  background-image: url("home-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.layout {
  display: flex;
  gap: 48px;
  min-height: 100vh;
  align-items: flex-start;
  padding: 48px;
}

.sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 48px;
  align-self: start;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.page-content {
  margin-top: 24px;
}

h1 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

nav a,
.content a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0;
  font-size: 14px;
  letter-spacing: 0;
}

nav a:hover,
nav a:focus,
.content a:hover,
.content a:focus {
  text-decoration: underline;
}

@font-face {
  font-family: "Berkeley Mono";
  src: url("fonts/BerkeleyMono-Regular.woff2") format("woff2"),
    url("fonts/BerkeleyMono-Regular.woff") format("woff"),
    url("fonts/BerkeleyMono-Regular.otf") format("opentype"),
    url("fonts/BerkeleyMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Berkeley Mono";
  src: url("fonts/BerkeleyMono-Bold.woff2") format("woff2"),
    url("fonts/BerkeleyMono-Bold.woff") format("woff"),
    url("fonts/BerkeleyMono-Bold.otf") format("opentype"),
    url("fonts/BerkeleyMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
