/* Body with fixed background */
body {
  min-height: 100vh;
  margin: 0;
  background-image: url("stars.gif");
  background-repeat: repeat;
  background-attachment: fixed;
  background-color: white;
  color: white;
  font-family: Verdana;
}

/* Header centered at top */
h1 {
  position: absolute;
  top: 250px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

#title-gif {
  position: fixed;
  bottom: 600px;
  right: 650px;
  width: 200px;
  height: auto;
  z-index: 10;
}

.info-box {
  background-color: rgba(0, 128, 255, 0.2);
  color: white;
  border: 2px solid cyan;
  border-radius: 12px;
  padding: 20px;
  margin: 10px;
  width: 200px;
  display: inline-block;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: transform 0.2s, background-color 0.2s;
}

.info-box:hover {
  background-color: rgba(0, 128, 255, 0.4);
  transform: scale(1.05);
}


/* Fixed GIF bottom-right */
#uc-gif {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 200px;
  height: auto;
  z-index: 10;
}

/* Fixed chat container above GIF */
.chat-container {
  position: fixed;     /* critical: keeps it anchored to viewport */
  bottom: 220px;       /* above the GIF */
  right: 20px;
  width: 200px;
  height: 400px;
  z-index: 20;         /* above GIF */
}

/* Make iframe fill container */
.chat-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
