/* A shallow layer at the top of the viewport, independent of falling precipitation. */
#weatherContainer .weather-cloud {
  position: absolute;
  pointer-events: none;
  left: calc((100% / var(--count)) * var(--index) - 7%);
  top: -16px;
  width: clamp(145px, 21vw, 340px);
  aspect-ratio: 3 / 1;
  opacity: .46;
  background: url("../images/weather-cloud.webp") center / contain no-repeat;
  animation: weather-cloud-breeze 48s ease-in-out infinite alternate;
  animation-delay: calc(-11s * var(--index));
}
#weatherContainer .weather-cloud:nth-of-type(even) {
  top: clamp(3px, 2vh, 20px);
  width: clamp(105px, 15vw, 240px);
  opacity: .31;
  animation-duration: 64s;
  --mirror: -1;
}
@keyframes weather-cloud-breeze {
  from { transform: translateX(-7vw) scaleX(var(--mirror, 1)); }
  to { transform: translateX(9vw) scaleX(var(--mirror, 1)); }
}
@media (prefers-reduced-motion: reduce) {
  #weatherContainer .weather-cloud { animation: none; transform: scaleX(var(--mirror, 1)); }
}
