body {
  background: black;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

#container {
  position: relative;
  width: 800px;   /* match image size */
  height: 600px;
}

#anim {#anim {
  position: relative;
  z-index: 1;
}

  
  width: 100%;
  height: 100%;
  display: block;
}

/* Clickable areas */
.hotspot {
  position: absolute;
  display: none; /* hidden until animation ends */
  z-index: 10;
}

/* Example clickable boxes */
.hs1 {
  left: 100px;
  top: 0px;
  width: 150px;
  height: 100px;
}

.hs2 {
  left: 400px;
  top: 300px;
  width: 200px;
  height: 120px;
}

#secretGuy {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;   /* adjust to little guy size */
  height: 260px;
  cursor: pointer;
  z-index: 10; 
}


/* optional: debug */
#secretGuy.debug {
  outline: 1px solid red;
}

#startOverlay {
  position: fixed;
  inset: 0;
  background: black;
  color: white;
  font-family: monospace;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
}
#muteButton {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: black;
  color: white;
  border: 1px solid white;
  font-family: monospace;
  font-size: 14px;
  padding: 6px 10px;
  cursor: pointer;
  z-index: 10000;
}

#muteButton:hover {
  background: white;
  color: black;
}

#videoOverlay {
  position: fixed;
  inset: 0;
  background: black;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20000;
}

#videoHolder {
  width: 80vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
}

#musicPlayer {
  position: fixed;   /* stay in place */
  bottom: 0;         /* stick to bottom */
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(0,0,0,0.8);
  color: white;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-family: monospace;
  font-size: 14px;
  overflow: hidden;
  z-index: 10000;
}


#playPause {
  margin-right: 30px;
  cursor: pointer;
  background: none;
  border: 1px solid white;
  color: white;
  font-size: 16px;
  padding: 2px 6px;
}

#songText {
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
  animation: scrollText 50s linear infinite;
}

@keyframes scrollText {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

