:root {
  --background: #e8e8e0;
  --window-bg: #fffff8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: monospace;
  font-size: 16px;
  height: 100vh;
  width: 100%;
  background: var(--background);
}

#page-content {
  padding: 1em;
}

/* COMPONENTS */
.window {
  border: 1px solid black;
  border-top: 15px solid black;
  border-radius: 5px;
  padding: 1em;
  background: var(--window-bg);
  position: relative;
  width: max-content;
  max-width: 100%;
}

.window:not(:last-of-type) {
  margin-bottom: 1em;
}

.window-title {
  position: absolute;
  top: -15px;
  left: 3px;
  font-size: 13px;
  color: var(--window-bg);
  width: calc(100% - 6px);
  display: flex;
  justify-content: space-between;
}

.window-title::after {
  content: "- □ x";
  font-size: 12px;
}

/* GENERICS */
h1,
h2 {
  margin: 0;
  margin-bottom: 0.5em;
  font-weight: normal;
}

p {
  text-indent: 2em;
}

a {
  color: #4388ff;
  cursor: cell;
  border: 1px solid transparent;
}

a:hover {
  color: #000;
  background: #0002;
  border-image: url("/public/img/ants.gif") 1 repeat;
}

ul {
  width: max-content;
}

@font-face {
  font-family: "Modern Chaos";
  src: url("/public/fonts/The\ Modern\ Chaos.ttf");
}

@font-face {
  font-family: "Cafe Light";
  src: url("/public/fonts/Cafe\ Light.ttf");
}
