* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a{
  color:#ff6652;
  transition-duration: 0.4s;
  display: inline-block;
}
a:hover{
  color:#e9d3d0;
  transform: scale(1.04);
}

body {
  overflow: hidden;
  font-family: 'Times New Roman', serif;
  background: url('https://files.catbox.moe/xarvxz.png');
  color: #000000;
  font-size: 15px;
  min-height: 100vh;
  letter-spacing: 1px;
  background-size: cover;
  background-repeat: no-repeat;
}

.gallerybase {
  position: relative;
  background-color: rgba(0, 0, 0, 0.733);
  border: rgba(255, 255, 255, 0.753) solid;
  border-radius: 5px;
  width: 65vw;
  height: 70vh;
  overflow-y: scroll;
  padding: 10px;
  text-align: center;
  left:115px;
}

.box-img {
  width: 250px;            /* Set a fixed size or use % */
  aspect-ratio: 1 / 1;
  background-size: cover !important;
  background-position: center;
  border-radius: 3px;
  transition-duration: 0.4s;
  /* REMOVE: position: fixed, top, and left */
}

.box-img .art {
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.box-img:hover{
  filter: invert(1) hue-rotate(180deg);
  transform:scale(1.1);
}

.tooltip {
  position: fixed;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2000;
}

#gallery {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;     /* Centers vertically */
  min-height: 100vh;       /* Takes up full screen height */
  width: 100vw;            /* Takes up full screen width */
}