/*
 * Fills its positioned parent, behind the content. The custom properties are the canvas's
 * palette: civicCenterCanvas.js reads them (as #RRGGBB) when it paints.
 * Use the Stoneware print's black ground, cyan ink and violet haze.
 */
:root {
  --civic-center-canvas-ground: #09090d;
  --civic-center-canvas-stroke: #4edae7;
  --civic-center-canvas-haze: #b065e0;
}

.civic-center-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 700ms ease-out;
}

.civic-center-canvas--drawn {
  opacity: 1;
}

.civic-center-canvas__layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .civic-center-canvas {
    transition: none;
  }
}
