/* Layers are painted by js/sky.js so the page and the shareable image use the same colours. */

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sky-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 3s ease;
}

.sky-layer.is-active { opacity: 1; }
.sky.is-instant .sky-layer { transition: none; }

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .sky-layer { transition-duration: 0.01s; }
}

/* The dithered sky drawn by js/sky.js sits over the CSS gradient once it is ready. */
.sky-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
