@import '../global.css';

body {
  background: black;
  color: var(--bg);
  font-family: 'ChiKareGo2', 'Menlo', 'Courier New', monospace;
}

p {
  padding: 1rem;
  position: relative;
}

a, a:visited {
  color: var(--bg);
}
a:hover {
  color: #666;
}

/* Instructions section */
.instructions {
  text-align: right;
}

span.icon {
  font-size: 30px;
  line-height: 1rem;
  position: relative;
  top: 10px;
}

/* Scrolling section */
.sandbox {
  border-left: 1rem solid black;
  border-right: 1rem solid black;
  /*background: #666;*/
  background: #aaa;
  width: 100vw;
  position: relative;
}
.scroller {
  position: relative;
  overflow-x: scroll;
  /*cursor: grab;*/
  cursor: ew-resize;
}
.scroller.active {
  /*cursor: grabbing;*/
  cursor: col-resize;
}

.elephant {
  width: min(80vw, 800px);
  max-height: 100%;
  aspect-ratio: 20 / 15;
  position: absolute;
  top: 0;
  left: max(10%, 50vw - 400px);
  z-index: 1;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.stripes-mover {
  z-index: 2;
  margin-left: 80vw;
  width: min(170vw, 2000px);
  height: 100%;
  max-height: 100%;
  background: transparent;
}
.stripes {
  width: min(80vw, 800px);
  max-height: 100%;
  aspect-ratio: 20 / 15;
  pointer-events: none;
}

/* About section */
.about {
  display: flex;
  padding: 1rem;
  gap: 0.5ch;

  @media (width < 576px) {
    flex-direction: column;
  }

  div {
    width: fit-content;
  }

  ul {
    list-style-position: outside;
    padding-inline-start: 1em;
    list-style-type: '— ';
  }
}