/* Gallery page auto slideshow background - changes every 5 seconds */
#ac-gallery-auto-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(2.5px) saturate(1.18) brightness(.62);
  transform: scale(1.07);
  transition: opacity 700ms ease, background-image 700ms ease, transform 900ms ease, filter 700ms ease;
}

body.ac-gallery-auto-route #ac-gallery-auto-bg {
  opacity: .38;
}

body.ac-gallery-auto-route #root {
  position: relative;
  z-index: 1;
}

body.ac-gallery-auto-route::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.08), transparent 34%),
              linear-gradient(180deg, rgba(5,8,18,.18), rgba(5,8,18,.82));
}

@media (prefers-reduced-motion: reduce) {
  #ac-gallery-auto-bg {
    transition: opacity 180ms ease !important;
  }
}
