/* Clover splash: shown once per visit, only when the inline head script adds html.has-splash */

.splash {
  display: none;
}

html.has-splash body {
  overflow: hidden;
}

html.has-splash .splash {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #007FC8;
  transition: opacity 0.45s ease;
}

.splash__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* White wash that the splash passes through before revealing the site */
.splash__wash {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.splash.is-white .splash__wash {
  opacity: 1;
}

.splash.is-done {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html.has-splash .splash,
  .splash__wash {
    transition-duration: 0.2s;
  }
}
