/* underwater.css
 *
 * The tall underwater painting and its motion's canvases.
 */

/* The painting's average colour, shown while the painting is still on its
   way (a slow connection). */
#scene-underwater {
  background-color: #3b7cc6;
}

/* The motion's two canvases (see underwater-motion.js), over the painting
   and under the words. Clicks go through them. Invisible until the motion
   starts. */
.underwater-surface {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  /* The height is set by underwater-motion.js. */
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.underwater-light {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

/* The words and the button on the sea floor are in underwater-words.css. */
