.viewport {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 999;
  background-color: #000;
  cursor: pointer;
}

.container {
  position: absolute;
  width: 200vw;
  height: 200vh;
  display: flex;
  flex-wrap: wrap;
  gap: 2px; /* 기존 grid의 padding을 대체 */
  justify-content: flex-start; /* 중앙 정렬 */
  align-content: flex-start; /* 위에서 아래로 정렬 */
  transform: translate(0, 0);
  will-change: transform;
}

.img-wrapper {
  position: relative;
  width: calc(100% / 5); /* 기본 5열 정렬 */
  max-width: 325px; /* 기존 grid와 유사한 크기 제한 */
  overflow: hidden;
  aspect-ratio: 1 / 1;
  flex: 1 1 auto; /* 크기 자동 조절 */
}

.artist_img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

@media (max-width: 500px) {
  .container {
    width: 150vw;
    height: 150vh;
  }

  .img-wrapper {
    max-width: 150px;
  }
}
