:root {
  --background-color: #ffffff;
  --speech-bg: rgba(0,0,0,0.8);
  --speech-color: #ffffff;
}

body {
  background: var(--background-color);
  background-image: url("https://sadhost.neocities.org/images/tiles/trees.png");
  background-repeat: repeat;
  background-size: auto;
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.regal-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.regal {
  width: 600px;
  height: auto;
  display: block;
}

.item {
  position: absolute;
  height: auto;
  cursor: grab;
  transition: transform 0.3s ease;
}

.item:not(.sessel):not(.outfit):hover {
  transform: scale(1.1) rotate(-5deg);
}

.hoverable {
  position: absolute;
  display: inline-block;
}

.speech {
  visibility: hidden;
  width: max-content;
  max-width: 150px;
  background-color: var(--speech-bg);
  color: var(--speech-color);
  text-align: center;
  padding: 5px 10px;
  border-radius: 10px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  pointer-events: none;
}

.speech::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--speech-bg) transparent transparent transparent;
}

.hoverable:hover .speech {
  visibility: visible;
}

.games { width: 80px; top: -199.463px; left: 65.5369px; z-index: 15; }
.sessel { width: 200px; top: 41px; left: 445px; z-index: 20; }
.me { width: 90px; top: -124.191px; left: -752.192px; z-index: 30; }
.music { width: 100px; top: -189.387px; left: 138.614px; z-index: 15; }
.goose { width: 150px; top: 39.0885px; left: 477.589px; z-index: 25; }
.outfit { width: 400px; top: -152px; left: -907px; z-index: 10; }
