body {
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
}

.body-text {
  font-family: "adobe-caslon-pro", serif;
  font-weight: 400;
  font-style: normal;
}

.notes {
  font-family: "adobe-caslon-pro", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1rem;
  color: #615f5f;
}

.indented {
  padding-left: 50px;
}

.intro {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.intro img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center -200px;
}

.intro .info-box {
  position: absolute;
  right: 32px;
  bottom: 30px;
  padding: 6px 12px;
  max-width: 22ch;
  background: #e487ff;
  color: #000;
  border-radius: 0;
  z-index: 2;
}

.interactive {
  min-height: 100vh;
  padding-top: 40px;
}

.hero {
  position: sticky;
  top: 0;
  width: min(500px, 100%);
  margin: 0 auto;
  aspect-ratio: 1 / 3;
}

.hero img {
  position: absolute;
  margin-top: 125px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  display: block;
  opacity: 0.5;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.seat {
  position: absolute;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}

.s1 { top: 34%; left: 30%; background: #ff6b6b; }
.s2 { top: 44.5%; left: 77.2%; background: #4dabf7; }
.s3 { top: 65%; left: 63%; background: #69db7c; }
.s4 { top: 70.5%; left: 30%; background: #ffd43b; }
.s5 { top: 60%; left: 16%; background: #b197fc; }
.s6 { top: 80.5%; left: 77.2%; background: #ffa94d; }
.s7 { top: 18.5%; left: 77.2%; background: #38d9a9; }
.s8 { top: 91%; left: 63%; background: #e64980; }
.s9 { top: 50%; left: 30%; background: #ff6b6b; }
.s10 { top: 29%; left: 77.2%; background: #4dabf7; }
.s11 { top: 34%; left: 63%; background: #69db7c; }
.s12 { top: 18.5%; left: 30%; background: #ffd43b; }
.s13 { top: 86%; left: 16.4%; background: #b197fc; }
.s14 { top: 39%; left: 16%; background: #ffa94d; }
.s15 { top: 75.5%; left: 30%; background: #38d9a9; }
.s16 { top: 50%; left: 63.2%; background: #e64980; }

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 150px;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: 99999;
}

.modal:target {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 1px;
  width: 340px;
  line-height: 1.6;
  position: relative;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.modal-content > p {
  margin-bottom: 0;
}

.popup-media {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.popup-image {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

.popup-media .notes {
  margin: 0;
}

#popup2 .popup-media,
#popup6 .popup-media,
#popup8 .popup-media,
#popup10 .popup-media,
#popup12 .popup-media,
#popup13 .popup-media {
  display: block;
}

#popup2 .popup-image,
#popup12 .popup-image {
  display: block;
  width: 220px;
  margin: 0 auto 14px;
}

#popup6 .popup-image {
  width: 220px;
  margin-left: 50px;
}

#popup7 .popup-image {
  width: 200px;
  float: right;
}

#popup8 .popup-image {
  width: 200px;
  margin: 16px auto 0;
}

#popup10 .popup-image {
  width: 220px;
  float: right;
}

#popup13 .popup-image {
  width: 220px;
  margin: 0 auto 14px;
}

#popup14 .popup-image {
  width: 200px;
  float: right;
}

.top-nav {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  padding: 0 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  overflow: visible;
  z-index: 999;
}

.hl {
  display: inline-block;
  padding: 6px 12px;
  line-height: 1.05;
  text-decoration: none;
  color: #000;
  font-size: 22px;
  border-radius: 2px;
}

.hl-green { background: #66ff4d; }
.hl-yellow { background: #fff36a; }
.hl-pink { background: #e487ff; }
.hl-blue { background: #79b8ff; }

.hl:hover {
  filter: brightness(0.95);
  text-decoration: underline;
}

.hl-dropdown {
  position: relative;
}

.hl-dropdown > summary {
  list-style: none;
  cursor: pointer;
}

.hl-dropdown > summary::-webkit-details-marker {
  display: none;
}

.dropdown-panel {
  margin-top: 10px;
  background: #fff36a;
  padding: 12px 16px;
  width: 450px;
  border-radius: 2px;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
}

.dropdown-panel p {
  margin: 0;
}

.dropdown-panel p + p {
  text-indent: 2em;
}

.hl-dropdown .dropdown-panel {
  max-height: 0;
  overflow: auto;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.hl-dropdown[open] .dropdown-panel {
  max-height: 500px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  text-decoration: none;
  font-size: 2rem;
  color: black;
}
