@charset "UTF-8";


body {
  color: #000;
  margin: 0;
  padding: 0;
}

.swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: 380px;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.swiper-slide img a {
  height: 100%;
}

.swiper-pagination-bullet {
  background-color: #fff;
}

.genre {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 112px 0 50px 0;
}

.genre::before,
.genre::after {
  border-top: 2px #fff solid;
  width: 20px;
}

.genre::after {
  margin-right: 15px;
}

.genre::before {
  margin-left: 15px;
}

.genre-list {
  list-style: none;
}

.genre-list li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.genre-nav {
  margin-bottom: 180px;
  border-bottom: 1px #fff solid;
  padding-bottom: 2rem;
}

.genre-name {
  text-align: center;
  margin: 30px 0;
}

.rightbottom-box {
  color: #fff;
  position: fixed;
  bottom: 45px;
  right: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
}

.fa-circle-arrow-up {
  font-size: 40px;
  color: #fff;
}

.image-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 40px;
  margin: 200px 0;
}

.image-wrap img {
  width: 290px;
  height: 490px;
  justify-self: center;
  align-self: center;
  object-fit: cover;
}

.zoomable-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.zoomable-image:hover {
  transform: scale(1.5);
}

.page-name__wrap {
  margin-left: 100px;
  border-bottom: 1px #fff solid;
  width: fit-content;
  padding: 0 2rem;
}

.name-box {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 1rem;
}

.artist-img__wrap {
  margin: 5rem 0;
}

.artist-img-box {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  margin: 30px 0;
}

.artist-img-box img {
  width: 20%;
}

.gallery__wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  row-gap: 3rem;
  margin: 124px 0;
}

.item img {
  width: 60%;
  margin: auto;
  cursor: pointer;
}

@keyframes zoom {
  from {
    transform: scale(0.5);
  }

  to {
    transform: scale(1);
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 110;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}


.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  display: block;
  max-width: 26%;
  max-height: 90%;
  animation: zoom 0.3s;
}

.artist-name {
  font-size: 24px;
  color: #fff;
  margin-top: 10px;
  text-align: center;
}


.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}


.page-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;

}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 16px;
}

button {
  padding: 8px 12px;
  border: 1px #fff solid;
  border-radius: 4px;
  background-color: #000;
  cursor: pointer;
  color: #fff;
}

button.active {
  background-color: #ddd;
  color: #000;
}

button:disabled {
  background-color: #ddd;
  cursor: not-allowed;
  color: #000;
}

.tap-text {
  text-align: center;
  margin-right: 1rem;
  font-size: 1rem;
}


@media screen and (min-width:375px) and (max-width:430px) {
  .image-wrap {
    column-gap: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
    margin: 100px 10px;
  }

  .image-wrap img {
    height: 330px;
  }

  .artist-img__wrap {
    margin: 5rem 1rem;
  }

  .page-name__wrap {
    margin-left: 0.5rem;
    padding: 0;
  }

  .artist-img-box img {
    width: 30%;
  }

  .artist-img-box {
    gap: 0.5rem;
  }

  .name-box {
    gap: 1rem;
  }

  .name-box h3 {
    font-size: 18px;
  }

  .gallery__wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .item img {
    width: 88%;
  }

  .modal-content {
    max-width: 90%;
  }

  .pagination {
    gap: 0.4rem;

  }

  .close {
    z-index: 109;
  }


}

@media screen and (min-width:768px) and (max-width:960px) {
  .image-wrap {
    column-gap: 14px;
    margin: 200px 10px;
  }

  .page-name__wrap {
    margin-left: 1rem;
    padding: 0 0.5rem;
  }
}