/* https://catppuccin.com/palette */
:root {
  --rosewater: #f5e0dc;
  --flamingo: #f2cdcd;
  --pink: #f5c2e7;
  --mauve: #cba6f7;
  --red: #f38ba8;
  --maroon: #eba0ac;
  --peach: #fab387;
  --yellow: #f9e2af;
  --green: #a6e3a1;
  --teal: #94e2d5;
  --sky: #89dceb;
  --sapphire: #74c7ec;
  --blue: #89b4fa;
  --lavender: #b4befe;
  --text: #cdd6f4;
  --subtext1: #bac2de;
  --subtext0: #a6adc8;
  --overlay2: #9399b2;
  --overlay1: #7f849c;
  --overlay0: #6c7086;
  --surface2: #585b70;
  --surface1: #45475a;
  --surface0: #313244;
  --base: #1e1e2e;
  --mantle: #181825;
  --crust: #11111b;
}

/* https://codepen.io/edmuntojr/pen/xOYJGw */
body {
  --dot-size: 1px;
  --dot-space: 22px;
  background:
    linear-gradient(90deg, var(--mantle) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
    linear-gradient(var(--mantle) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
    var(--lavender);
  font-size: 1.75rem;
  margin-top: 2rem;
  font-family: "DeterminationMonoWeb";
}

a:link {
  color: var(--sapphire);
}

a:visited {
  color: var(--sapphire);
}

#container {
  max-width: 85%;
  min-width: 600px;
  margin: auto;
  /*padding: 2px;*/
  background-color: var(--crust);
  border-radius: 8px;
  /*border: 4px solid var(--mauve);*/
  height: 700px;
}

header {
  color: var(--text);
  font-family: "BitcountPropSingle";
  font-size: 1.3rem;
  border-radius: 8px 8px 0px 0px;
  border-width: 4px 4px 0px 4px;
  border-style: solid;
  border-color: var(--lavender);
  background-color: var(--surface0);
  /*margin: 0;*/
  padding: 2px;
  /*border-bottom: 2px solid var(--crust);*/
  height: 1rem;
  line-height: 1.1rem;
  display: flex;
  /*align-items: center;*/
}

header img {
  height: 100%;
  width: auto;
  padding: 0 8px;
}

header h1 {
  font-size: 80%;
  margin: 0;
}

#content {
  display: grid;
  grid-template-columns: 1fr 4fr 1fr;
  background: var(--surface0);
  border-radius: 0px 0px 8px 8px;
  border-width: 4px;
  border-style: solid;
  border-color: var(--lavender);
  height: 96%;
}

#planning {
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: var(--red);
}

main {
  color: var(--text);
  margin-top: 1.5rem;
  margin-left: 1.5rem;
  height: 84%;
  max-height: 800px;
  background-color: var(--surface0);
  overflow-y: scroll;
}

main * {
  margin: 0;
}

main figure figcaption {
  font-size: 1.5rem;
  color: var(--subtext1);
}

aside {
  font-family: "BitcountPropSingle";
  font-weight: bold;
  padding: 10px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  border-width: 0px 4px 0px 0px;
  border-style: solid;
  border-color: var(--lavender);
}

aside figure {
  display: flex;
  flex-direction: column;
  margin: 15px 0;
}

aside figure img {
  width: 100px;
  height: auto;
}

aside figure figcaption {
  color: var(--mauve);
  display: inline-block;
  width: 100px;
  padding: 2px;
  min-height: 20px;
  background-color: var(--surface0);
  text-decoration: underline;
  text-decoration-color: var(--surface0);
}

links img {
  height: 100px;
  width: auto;
  padding: 8px 0;
  margin-left: 3px;
}

links a:visited {
  text-decoration: underline;
  text-decoration-color: var(--surface0);
}

links a:link {
  text-decoration: underline;
  text-decoration-color: var(--surface0);
}

#timeline {
  text-align: center;
  color: var(--subtext1);
  font-size: 1.5rem;
}

footer {
  font-size: 1.1rem;
  text-align: center;
  background: var(--surface0);
}

.right-aside {
  justify-content: flex-end;
}

.content-block {
  overflow-y: auto;
}