html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;

  background-color: #000;
  background-image: url('assets/created/raw/story_bg_2_scaled.png');

  background-size: cover;
  background-position: 60% 60%;
  /* <— anchor selection */

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: none;
}

canvas {
  display: block;
  margin: 0 auto;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
  opacity: 0;
  transition: opacity 1s ease-in;
}

canvas.ready {
  opacity: 1;
}

#p5_loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  /* background: url('assets/created/logo1.png') no-repeat center center;
  background-size: 50vw auto; */

  z-index: 9999;
  /* ensure it sits above everything */
}

textarea {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
}

#landing_fg {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  background-image: url('assets/created/raw/landing_top_layer_scaled.png');
  background-size: cover;
  background-position: 60% 60%;
  /* <— same anchor */
  background-repeat: no-repeat;

  opacity: 1;
  transition: opacity 1s ease-out;

  animation: wobble 0.5s ease-in-out infinite alternate;
}

@keyframes wobble {
  from {
    transform: translate3d(0px, 0px, 0);
  }

  to {
    transform: translate3d(8px, 0px, 0);
    /* gentle underwater drift */
  }
}