@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@600&display=swap');

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1
  }
}

body {
  background-color: #140e3c;
  color: #fff;
  font-family: "IBM Plex Mono";
  font-size: 16px;
  line-height: 1.5;
  height: 8000px;
}

main {
  animation: fadeIn 1s 1s both;
}

header, section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  padding: 32px;
}

header svg {
  max-height: 300px;
}

h1 {
  margin-top: 32px;
  margin-bottom: 16px;
  line-height: 1.1;
  font-size: 32px;
  text-align: center;
}

section.scene img {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 700vh;
  max-width: none;
}

section.house {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px;
}

section.house svg {
  max-width: 100%;
}

section.house svg g#scene {
  opacity: 1;
  transition: opacity 250ms;
}

section.house svg:hover g#scene {
  opacity: 0.25;
}

div.label {
  background-color: #fff;
  color: #140E3C;
  padding: 8px 16px;
  position: fixed;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms;
}

div.label.is-visible {
  opacity: 1;
}