@import url("https://fonts.googleapis.com/css2?family=Major+Mono+Display&display=swap");
@import url("fonts/IosevkaAcyclin.css");

:root {
  --bg-color: #030A0A;
  --fg-color: #C1D4E4;
  --dim-color: #A1B2C2;
  --bg-color-rgb: 3, 10, 10;
  --fg-color-rgb: 193, 212, 237;
  --dim-color-rgb: 161, 178, 194;
  --head-font: "Major Mono Display", monospace;
  --main-font: "Hurmit Nerd Font", monospace;
  --font-size: .875em;
}

body {
  background-color: var(--bg-color);
  color: var(--fg-color);

  margin: 0;
  overflow-y: hidden;
  overflow-x: scroll;

  height: 100dvh;
}

a {
  color: var(--dim-color);
  text-underline-offset: 2px;
}

a:hover, a:focus {
  background-color: var(--dim-color);
  color: var(--bg-color);
  text-decoration: none;
}

header {
  position: sticky;
  top: 0;
  border-bottom: .25em solid var(--bg-color);
  background-color: var(--bg-color);
  font-family: var(--head-font);
  font-size: 2.5em;
  margin-bottom: 0;
  color: var(--fg-color);
  z-index: 1;
}

header::after {
  content: "";
  position: absolute;
  height: 1px;
  background-color: var(--fg-color);
  bottom: 50%;
  width: stretch;
  margin-left: .25em;
}

header img { margin-top: 0 !important; }

main {
  font-family: var(--main-font);
  font-size: var(--font-size);
  color: var(--dim-color);

  display: flex;
  flex-direction: row;
  gap: 2em;

  margin: 1.5em 2em;
}

main .column {
  width: calc(100% / 3);
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: scroll;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-size: 1.525em;
  margin-bottom: .25em;
  margin-top: 1em;
}

p {
  margin-top: 0;
  margin-bottom: .5em;
}

p img {
  display: block;
  margin-top: .5em;
  transition: 
}

img {
  opacity: 0.7;
  transition: opacity 200ms ease-out;
}

img:hover {
  opacity: 1;
  transition: opacity 200ms ease-in;
}
