/* stuff every page uses */

body {
  margin: 0;
  font-family: Courier, monospace;
  color: black;
  /* lil pixel cursor */
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' shape-rendering='crispEdges'><path d='M1 1v13l3-3 2 4 2-1-2-4h4z' fill='black' stroke='white'/></svg>") 1 1, auto;
}

a { cursor: pointer; }


/* boxes */

.window,
.win {
  background: white;
  border: 2px solid black;
  box-shadow: 4px 4px 0 black;
  color: black;
}

.titlebar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  border-bottom: 2px solid black;
  /* stripes */
  background:
    repeating-linear-gradient(to bottom, black 0 2px, white 2px 4px)
    center / calc(100% - 12px) 10px no-repeat,
    white;
}

.titlebar .title {
  background: white;
  padding: 0 8px;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
}

.titlebar .close {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border: 2px solid black;
  background: white;
  box-shadow: 0 0 0 3px white;
}

.window-body {
  margin: 3px;
  padding: 10px 20px;
  border: 1px solid black;
}

/* lil square = fold it up */
.win.shaded .window-body { display: none; }
.win .titlebar .close { cursor: pointer; }


/* back btn */

.back {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  padding: 6px 12px;
  background: white;
  border: 2px solid black;
  box-shadow: 3px 3px 0 black;
  color: black;
  font: bold 14px Courier, monospace;
  text-decoration: none;
}

.back:hover {
  background: black;
  color: white;
}

