:root {
  --primary-bg: #141414;
  --primary-font-color: #FAFAFA;
  --alternative-font-color: #7c89a5;
  --primary-highlight: #A7D641;
  --alternative-highlight: #FCA606;
}

body {
  background: var(--primary-bg);
  padding: 2vh 30vw;
  font-family: "JetBrains Mono", system-ui, sans-serif;
  font-weight: 400;
  color: var(--primary-font-color);
}

a {
  color: inherit;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.1s ease-in 0.15s;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin-bottom: 12vh;
}

h1, h2 {
  line-height: 2.5vh;
}

hr {
  margin: 5vh 0;
  height: 1px;
  border: 0;
  background: var(--alternative-font-color);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1vh;
}

.highlight {
  color: var(--primary-font-color);
  display: inline;
  transition: color 0.1s ease-in 0.1s;
}
.highlight:hover {
  color: var(--primary-highlight);
  transition: color 0.1s ease-in 0.05s;
  /* transition: text-decoration 0.1s ease-in 0.15s; */
}

.focused {
  color: var(--primary-highlight) !important;
  display: inline;
}
.focused:hover {
  text-decoration: underline;
  transition: text-decoration 0.1s ease-in 0.05s;
}

.no-underline:hover {
  text-decoration: none !important;
}

.sub-highlight {
  font-size: inherit;
  color: var(--alternative-highlight);
  margin-right: 8px;
}

.context {
  color: var(--alternative-font-color);
}

.content {
  font-weight: 300;
}

.short {
  width: 550px;
  display: block;
}

.small {
  font-size: 14px;
}

.left-aligned {
  justify-content: flex-start !important;
  gap: 16px;
}

.link-arrow {
  transition: transform 0.2s ease;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-left: -6px;
}
.link-group {
  font-size: 14px;
}
.link-group:hover .link-arrow {
  transform: translate(4px, -4px);
}


/** Card / Content styles */
/* container */
.stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* clickable card */
.card-link {
  display: block;
  padding: 16px;
  border-radius: 8px;
  margin-left: -16px;
  margin-right: -16px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

.card-link:hover {
  background-color: rgba(29, 29, 29, 0.5); /* neutral-900/50 */
}

/* layout inside card */
.card-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

/* text container */
.card-content {
  min-width: 0;
}

/* title */
.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.2s ease;
}

/* subtitle */
.card-subtitle {
  font-size: 14px;
  color: var(--alternative-font-color);
  margin-top: 4px;
}

.card-subtle {
  color: var(--alternative-font-color)
}

/* description */
.card-description {
  color: #d1d5db;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 300;
}

/* arrow */
.card-icon {
  width: 16px;
  height: 16px;
  margin-top: 6px;
  color: #4a5565;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* hover interactions (group behavior) */
.card-link:hover .card-title,
.card-link:hover .card-icon {
  color: var(--primary-highlight)
}

.card-link:hover .card-icon {
  transform: translate(4px, -4px);
}