body {
  background-image: url(images/background6.gif);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 200vh;
  position: relative;
}

.squid-clickable {
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  position: absolute;
  bottom: 400px;        
  left: 200px;          
  z-index: 10;          

}



.angler-clickable {
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  position: absolute;
  bottom: 150px;
  right: 200px;

  z-index: 10;

}

.jelly-clickable {
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  position: absolute;
  /* placed a little above the middle-left of the page */
  bottom: 600px;
  right: 120px;
  z-index: 10;
}

/* Ensure GIFs can display at their intrinsic size and are not constrained by max-width */
.squid-clickable img,
.angler-clickable img,
.jelly-clickable img {
  max-width: none;
  height: auto;
  display: block;
}
/* keep GIFs at their intrinsic sizes unless other CSS overrides them */


/* Hover text bar (code-style typing) */
.hover-text {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', 'Courier New', monospace;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.12s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  z-index: 20;
}

.hover-text.show {
  visibility: visible;
  opacity: 1;
}

/* horizontal caret (blinking underscore) aligned to text-bottom */
.hover-text::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: #ffffff;
  margin-left: 6px;
  vertical-align: text-bottom;
  transform: translateY(2px);
  opacity: 1;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

