@font-face {
  font-family: "UndertaleFont";
  src: url("fonts/DeterminationMonoWebRegular-Z5oq.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;

}

body {
  margin: 0;
  background-color: black;
  font-family: "UndertaleFont", sans-serif;
  color: white;
}

.page-border {
  border: 8px solid white;
  margin: 20px;
  padding: 10px;
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.dialogue-box {
  background-color: black;
  border: 4px solid white;
  padding: 20px;
  max-width: 600px;
  width: 90%;
  font-size: 20px;
  line-height: 1.6;
  box-shadow: 0 0 10px white;
}

#character-wrapper {
  width: 160px;
  height: 160px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  overflow: visible; /* ensure scaled image doesn't get cut off */
}


#character-sprite {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  transform: scale(2);         /* ⬅️ makes the sprite 2x larger */
  transform-origin: bottom right; /* keeps the character anchored to the corner */
}

#character-dialogue {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: black;
  border-top: 4px solid white;
  color: white;
  font-family: "UndertaleFont", sans-serif;
  padding: 20px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  box-shadow: 0 -2px 10px white;
}

#character-text {
  max-width: 700px;
}


#dialogue-text {
  max-width: 700px;
}

.hidden {
  display: none;
}

#soul {
  position: absolute;
  top: 100px;
  left: 100px;
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
  z-index: 100;
  pointer-events: none;
}


.interactable {
  position: absolute;
  width: 32px;
  image-rendering: pixelated;
}
