.close-btn-wrapper {
  position: absolute;
  text-align: center;
  width: 99.5%;
  z-index: 5;
}

.close-btn {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 17px;
  text-decoration: none;
  margin-top: 2rem;
}

.close-btn::before,
.close-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 1.7px;
  background: #b9b1b3;
  border-radius: 9999px;
  transform-origin: center;
}

.close-btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.close-btn:hover::before,
.close-btn:hover::after {
  background: #3e2b2f;
}

.swiper {
  width: 95vw;
  height: 100vh;
  background-color: #f2f2f2;
}

.swiper-slide {
  width: 100% !important;
  flex-shrink: 0 0 auto;
  display: flex !important;
  justify-content: center;
  align-items: center;
  background-color: #f2f2f2;
  overflow: hidden;
  box-sizing: border-box;
}

.swiperBtn {
  color: #b9b1b3 !important;
  scale: 40%;
}

.swiperBtn:hover {
  color: #3e2b2f !important;
}

.swiper-img {
  height: 75%;
  max-width: 100%;
  overflow: hidden;
  object-fit: cover;
  transition: height 0.4s ease;
}

.text-slide {
  padding-top: 8%;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  height: 65%;
  width: 60%;
  background-color: #f2f2f2;
  overflow: hidden;
}

.titleLine {
  height: 1px;
  content: "";
  background-color: #3e2b2f;
  width: 10%;
  align-self: center;
}

.credits {
  display: flex;
  flex-direction: column;
  background-color: #f2f2f2;
}

.creditItem {
  display: flex;
  gap: 0.3rem;
}

.swiper-pagination {
  scale: 80%;
  margin-bottom: 1.5rem;
}

.swiper-pagination-bullet {
  background: #3e2b2f !important;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #3e2b2f !important;
}

.portrait {
  display: none !important;
}

@media (max-width: 1500px) {
  .swiper {
    width: 90vw;
  }
  .wideframe {
    display: none !important;
  }
  .portrait {
    display: flex !important;
  }
  .swiper-img {
    height: 80%;
    max-width: 85%;
  }
  .close-btn-wrapper {
    margin-top: 0rem;
  }
  .close-btn {
    margin-top: 1.2rem;
  }
  .swiper-imgShrink {
    height: 65%;
  }
}

@media (max-width: 1025px) {
  .swiper {
    width: 96vw;
  }
  .swiper-img {
    height: 75%;
    max-width: 82%;
  }
  .close-btn-wrapper {
    text-align: center;
    margin-top: 1rem;
  }
  .swiper-pagination {
    margin-bottom: 1.5rem;
  }
  .swiper-imgShrink {
    height: 45%;
  }
}

@media (max-width: 480px) {
  .close-btn-wrapper {
    margin-top: 0.8rem;
  }

  .swiper {
    width: 90vw;
  }
  .swiper-img {
    height: 75%;
    max-width: 90%;
  }
  .swiperBtn {
    color: transparent !important;
  }
  .text-slide {
    flex-direction: column;
    text-align: center;
    padding: 0 0.5rem;
  }
  .swiper-imgShrink {
    height: 38%;
  }
}
