@font-face {
  font-family: "rainyhearts";
  src: url("fonts/rainyhearts.ttf") format("truetype");
  font-display: swap;
}

body {
  background-color: #1a0a2e;
  color: #e8d5ff;
  font-family: "rainyhearts", sans-serif;
  font-size: 20px;
  padding: 20px;
}

a {
  color: #c084fc;
  text-decoration: none;
  border-bottom: 2px dashed #6b21a8;
}

a:hover {
  color: #e8d5ff;
}

h1, h2, h3 {
  border-bottom: 2px solid #6b21a8;
  padding-bottom: 4px;
}

h1 {
  margin-bottom: 4px;
}

p {
  margin-top: 0;
}

.header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.panel {
  background: #2d1254;
  border: 2px solid #6b21a8;
  padding: 16px;
  margin-bottom: 16px;
}

.layout {
  display: flex;
  gap: 16px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  width: 150px;
  flex-shrink: 0;
  background: #2d1254;
  border: 2px solid #6b21a8;
  padding: 12px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  align-self: flex-start;
}

.sidebar a {
  display: block;
  color: #e8d5ff;
  margin-bottom: 8px;
  border-bottom: none;
}

.sidebar a:hover {
  color: #c084fc;
}

.main {
  flex: 1;
}

.elsewhere {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.elsewhere li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.label {
  font-size: 0.8em;
  color: #a78bca;
  min-width: 6rem;
}

.section-desc {
  font-size: 0.85em;
  color: #a78bca;
  margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
}