@font-face {
  font-family: "MM Demo Navigation";
  src: url("./fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* These demos are deliberately static to stay responsive on low-power devices. */
html {
  scroll-behavior: smooth;
}

/* Clear demo exit: top left, typographic only, with no pill or background. */
#root > div > a.fixed,
.demo-back {
  position: fixed !important;
  top: 1.25rem !important;
  right: auto !important;
  bottom: auto !important;
  left: 2rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  gap: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #fff !important;
  font-family: "MM Demo Navigation", Arial, sans-serif !important;
  font-size: 0.7rem !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.065em !important;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  transition: opacity 180ms ease !important;
  z-index: 50 !important;
}

#root > div > a.fixed:hover,
#root > div > a.fixed:focus-visible,
.demo-back:hover,
.demo-back:focus-visible {
  background: transparent !important;
  opacity: 0.68;
}

/* Same component, adapted only for contrast on the light Holzbau header. */
.demo-back {
  color: #17352e !important;
  text-shadow: none;
}

@media (max-width: 640px) {
  #root > div > a.fixed,
  .demo-back {
    top: 1rem !important;
    left: 1.25rem !important;
    font-size: 0.625rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
