html {
  background: #fbf7ed;
}

body {
  background: transparent !important;
  isolation: isolate;
}

.background-slideshow {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #fbf7ed;
  background-image: url('backgrounds/STORYPIC_00036880_BURST260315170213.jpg');
  background-position: center;
  background-size: cover;
}

body > main,
body > .portal-shell {
  position: relative;
  z-index: 1;
}

.background-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.2s ease, transform 10s linear;
}

.background-slideshow img.active {
  opacity: 1;
  transform: scale(1.08);
}

.background-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.42);
}

@media (prefers-reduced-motion: reduce) {
  .background-slideshow img {
    transition: opacity 0.01ms;
    transform: none;
  }
}
