.bx-content h2,
.bx-content h3 {
  font-size: 120px;
  position: relative;
  z-index: 300;
  color: #fff;
  padding: 20px 30px 0px;
  font-family: "Arial";
  text-align: center;
  text-shadow:
    0px 0px 1px rgba(255, 255, 255, 0.9),
    1px 2px 5px rgba(0, 0, 0, 0.5);
}
.bx-content h3 {
  font-size: 60px;
}
.bx-container {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.bx-container img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 101;
  display: none;
}
.bx-canvas {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
}
.bx-overlay,
.bx-loading {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  background: transparent url(../images/pattern.png) repeat top left;
  z-index: 10;
}
.bx-loading {
  z-index: 9999;
  background: #000;
}
.bx-loading span {
  color: #fff;
  font-size: 13px;
  position: fixed;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 8px;
  margin: -12px 0 0 -46px;
  left: 50%;
  top: 50%;
  text-shadow:
    0px 0px 1px rgba(255, 255, 255, 0.9),
    1px 2px 5px rgba(0, 0, 0, 0.5);
}

/* ---------------------------------------------------------------------------
   Modernized slideshow overrides (2026): replaces the old canvas/StackBlur
   sizing with object-fit cover + opacity crossfade. Self-contained, no JS deps.
   --------------------------------------------------------------------------- */
html,
body {
  height: 100%;
  background: #000;
}
.bx-container {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background: #000;
}
.bx-container img {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* override old display:none */
  opacity: 0; /* JS raises the active image to 1 */
  z-index: 100;
  will-change: opacity, filter;
}

/* Background-music toggle button (bottom-right, unobtrusive). */
#bx-audio-toggle {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition:
    background 0.2s ease,
    opacity 0.2s ease;
}
#bx-audio-toggle:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.55);
}
#bx-audio-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}
#bx-audio-toggle.is-playing {
  opacity: 0.8;
}

/* Small "source" link (bottom-left, mirrors the music toggle). */
#bx-source {
  position: fixed;
  bottom: 22px;
  left: 20px;
  z-index: 9998;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-decoration: none;
  opacity: 0.4;
  text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s ease;
}
#bx-source:hover,
#bx-source:focus-visible {
  opacity: 0.9;
}
