:root {
  --text: #f0f0f0;
  --bg-darker: rgb(27 20 31);
  --bg-dark: #413;
  --accent: #efe;
}

html {
  height: 100%;
}

body {
  height: 100%;
  background-color: var(--bg-darker);
  color: var(--text);
  font-size: 18px;
  font-family: "Sans-Serif";
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: min-content 1fr;
  grid-template-columns: 1fr min-content;
}

pre {
  white-space: pre-wrap;
  background-color: #222;
  padding: 4px 10px;
  margin: 5px 0px;
}

.italic {
  font-style: italic;
}

.bold {
  font-weight: 700;
}

.sidenote {
  float: right;
}

.article {
  padding: 1em;
}

#container {
  grid-column: 1/3;
  grid-row: 2/3;
}

header {
  grid-column: 1/2;
  grid-row: 1/2;
  border: none;
  li {
    display: inline list-item;
  }
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
}

#banner ul {
  margin: 0;
  padding: 0;
  padding-left: 0.3em;
}

#banner li {
  list-style-position: inside;
  list-style-type: "> ";
}

footer {
  grid-column: 2/3;
  grid-row: 1/2;
  border: none;
  border-bottom: 1px solid var(--accent);
  background-color: var(--bg-dark);
  width: 120px;
  height: 120px;
}

#left-title {
  flex-grow: 1;
  flex-shrink: 1;
  height: 56px;
}

#right-title {
  flex-grow: 1;
  flex-shrink: 1;
  height: 56px;
}

.mind-container {
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 800px;
  perspective-origin: center;
}

.mind-box-container {
  position: relative;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;
}

.mind-box {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #fff;
  transform-origin: center;
  color: var(--accent);
  text-align: center;
  font-weight: 600;
  font-size: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid {
  display: grid;
}

.row-1 {
  grid-template-rows: 1fr;
}

.col-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.align-end {
  text-align: end;
  ul {
    margin: 0;
    padding: 0;
  }
  li {
    list-style-type: none;
  }
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.menu {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.menu-entry {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
}

.menu-entry:hover {
  background-color: var(--accent);
  color: var(--bg-dark);
}
