.gallery .title {
  font-size: 2.45vw;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16% 0 8% 0;
  line-height: 160%;
}
.gallery .gallery-content {
  padding: 3% 0 0 0;
}
.gallery .img {
  position: relative;
}
.gallery .img:hover {
  transform: scale(1.05);
  transition: 0.3s ease-in-out;
}
.gallery .img {
  margin: 7% 0 0 0;
}
.gallery .img img {
  width: 100%;
  border-radius: 8px;
}
.gallery .img .text {
  font-size: 0.94vw;
  font-weight: 300;
  color: white;
  position: absolute;
  bottom: 2%;
  left: 5%;
}

.modal-body img {
  width: 100%;
}
.gallery .modal .modal-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  cursor: pointer;
}
.gallery .modal .modal-arrow:hover i {
color: #edc006 ;
transition: 0.3s ease-in-out;
}
.gallery .modal .modal-arrow i {
  color: rgb(255, 255, 255);
  font-size: 3vw ;
  z-index: 10;

}
.gallery .modal .modal-arrow.left{
  left:33% ;
}
.gallery .modal .modal-arrow.right{
  right:33% ;
}

.gallery .mainimg img {
  height: 15.8vw;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991px) {
  .show-pc {
    display: none;
  }
  .show-mobile {
    display: block;
  }
  .gallery .title {
    font-size: 36px;
    padding: 85px 0 30px 0;
    display: flex;
    flex-direction: column;
  }
  .gallery .img .text{
    font-size: 18px;
  }
  .gallery .modal .modal-arrow i{
    font-size: 30px;
    color: #edc006 ;

  }
  .gallery .modal .modal-arrow.right{
    right: 3%;
  }
  .gallery .modal .modal-arrow.left{
    left: 3%;
  }
  .gallery .pagination{
    padding: 9% 0 0 0;
  }
  .gallery .mainimg img {
    height: 182px;
  }
}
