:root {
  color-scheme: light;
  background: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.house {
  position: relative;
  isolation: isolate;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}

.portfolio-name,
.home-label {
  position: absolute;
  z-index: 1;
  margin: 0;
  color: #111;
  pointer-events: none;
}

.home-label {
  top: 75%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: clamp(4.5rem, 8vw, 9.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.portfolio-name {
  right: var(--project-content-side);
}

@media (min-aspect-ratio: 4 / 3) {
  .home-label {
    top: 83%;
  }
}

.house svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hotspot {
  cursor: pointer;
  outline: none;
}

.hotspot .hit-area {
  fill: transparent;
  stroke: none;
  pointer-events: all;
}

.hotspot .zone-preview {
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.hotspot:hover .zone-preview,
.hotspot:focus-visible .zone-preview,
.hotspot--auto-highlight .zone-preview {
  opacity: 1;
}

.hotspot--blue-window .zone-preview {
  fill: url(#blue-window-gradient);
}

.hotspot--red-window .zone-preview {
  fill: url(#red-window-gradient);
}

.hotspot--dancer .zone-preview {
  fill: #f58220;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
