/* The loading splash of the web app (D-227), in the brand colours; gone with Flutter's first frame. */
html,
body {
  margin: 0;
  height: 100%;
  background: #ffffff;
}

#wb-splash {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: #ffffff;
  transition: opacity 0.25s ease-out;
  z-index: 10;
}

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

#wb-splash img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
}

#wb-splash .wb-bar {
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: #c0ffa5;
  overflow: hidden;
}

#wb-splash .wb-bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 2px;
  background: #006a43;
  animation: wb-slide 1.1s ease-in-out infinite;
}

@keyframes wb-slide {
  0% {
    transform: translateX(160%);
  }
  100% {
    transform: translateX(-260%);
  }
}

@media (prefers-reduced-motion: reduce) {
  #wb-splash .wb-bar span {
    animation: none;
    width: 100%;
  }
}
