.swiper {
  width: 100%;
  position: relative;
  overflow: unset;
  overflow-x: clip !important;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.swiper-slide {
  text-align: center;
  display: flex;
  flex: none;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.35);
}

.text {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 26px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 12;
}

.swiperdim {
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 10;
}

.swiper-slide img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: -40px;
}

.swiper-pagination-bullet {
  border: 1px solid #fff;
  background: none;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: white;
  width: 30px;
  border-radius: 4px;
}

.swiper-slide:hover {
  cursor: pointer;
}

.swiper-slide:hover img{
  transform: scale(1.3);
  transition: transform .5s;
}

/* 태블릿 */

@media (max-width: 1220px) {
  .swiper-slide{
    width: 50% !important;
    max-height: 448px;
    border-radius: 14px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}


/* 모바일 */

@media (max-width: 768px) {
  .swiper-slide{
    width: 100% !important;
    max-height: 448px;
    border-radius: 14px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}