/* resposive CSS Code */
.gallery_images_box .gallery-section {
  position: relative;
  z-index: 1;
}
.gallery_images_box .title {
  font-size: 46px;
  font-weight: 700;
}
.gallery_images_box .filter {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  text-align: center;
  max-width: 1050px;
  margin: auto;
}
.gallery_images_box .filter::-webkit-scrollbar {
  height: 0;
}
.gallery_images_box .btn {
  padding: 10px 20px;
  margin: 5px 4px 4px 0;
  display: inline-block;
  transition: all 0.4s;
  font-size: 16px;
  font-weight: 500;
}
.gallery_images_box .gallery {
  display: flex;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 1320px;
  flex-wrap: wrap;
  margin: 25px auto;
}
.gallery_images_box .gallery a {
  display: flex;
}
.gallery_images_box .gallery img {
  width: 300px;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 0.3s ease-in-out;
  border-radius: 0;
  overflow: hidden;
  margin: 5px;
}
.gallery_images_box .gallery img:hover {
  transform: scale(1.02);
}
.gallery_images_box .sets .hide {
  width: 0%;
  opacity: 0;
}
.gallery_images_box .sets .pophide {
  width: 0%;
  opacity: 0;
}
.gallery_images_box .closeBtn {
  position: absolute;
  font-size: 1rem;
  font-weight: 500;
  line-height: 0;
  right: 25px;
  top: 25px;
  width: 30px;
  height: 30px;
  transition: 0.5s linear;
  padding: 5px 8px;
  border-radius: 50%;
  outline-offset: -6px;
}
.gallery_images_box .closeBtn:hover {
  cursor: pointer;
}
.gallery_images_box .openDiv {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  left: 0;
  z-index: 9999;
}
.gallery_images_box .imgPreview {
  width: 100%;
  -o-object-fit: scale-down;
     object-fit: scale-down;
  min-height: 100vh;
  height: auto;
  background-color: rgba(0, 0, 0, 0.8);
}
.gallery_images_box .butonsSection {
  position: absolute;
}
@media (max-width: 767px) {
  .gallery_images_box .butonsSection .prevButton {
    position: relative;
    left: -8rem;
    border-radius: 50px;
    padding: 0px 15px;
    font-size: 2rem;
  }
  .gallery_images_box .butonsSection .nextButton {
    position: relative;
    right: -8rem;
    border-radius: 50px;
    padding: 0px 15px;
    font-size: 2rem;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .gallery_images_box .butonsSection .prevButton {
    position: relative;
    left: -20rem;
    border-radius: 50px;
    padding: 0px 15px;
    font-size: 2rem;
  }
  .gallery_images_box .butonsSection .nextButton {
    position: relative;
    right: -20rem;
    border-radius: 50px;
    padding: 0px 15px;
    font-size: 2rem;
  }
}
@media (min-width: 1025px) {
  .gallery_images_box .butonsSection .prevButton {
    position: relative;
    left: -35rem;
    border-radius: 50px;
    padding: 0px 15px;
    font-size: 2rem;
  }
  .gallery_images_box .butonsSection .nextButton {
    position: relative;
    right: -35rem;
    border-radius: 50px;
    padding: 0px 15px;
    font-size: 2rem;
  }
}
.gallery_images_box .prevButton {
  transition: 1s linear;
  padding: 8px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  margin: 10px;
}
.gallery_images_box .nextButton {
  transition: 1s linear;
  padding: 8px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  margin: 10px;
}
@media (max-width: 1199px) {
  .gallery_images_box .section-padding {
    padding-top: 70px;
  }
}
@media (max-width: 991px) {
  .gallery_images_box .section-padding {
    padding-top: 50px;
  }
}
@media (max-width: 767px) {
  .gallery_images_box .title {
    font-size: 36px;
  }
  .gallery_images_box .gallery img {
    margin: 5px;
    min-width: 100%;
  }
  .gallery_images_box .prevButton {
    font-size: 18px;
    padding: 8px 25px;
  }
  .gallery_images_box .nextButton {
    font-size: 18px;
    padding: 8px 25px;
  }
}
@media (max-width: 540px) {
  .gallery_images_box .section-padding {
    padding-top: 30px;
  }
  .gallery_images_box .prevButton {
    font-size: 18px;
    padding: 6px 20px;
    border-radius: 10px;
    margin: 5px;
  }
  .gallery_images_box .nextButton {
    font-size: 18px;
    padding: 6px 20px;
    border-radius: 10px;
    margin: 5px;
  }
  .gallery_images_box .imgPreview {
    width: 100%;
    max-height: 50vh;
    height: auto;
  }
}

.gallery_images_grid .title {
  font-size: 46px;
  font-weight: 700;
}
.gallery_images_grid .filter {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  text-align: center;
  max-width: 1050px;
  margin: auto;
}
.gallery_images_grid .filter::-webkit-scrollbar {
  height: 0;
}
.gallery_images_grid .btn {
  padding: 10px 20px;
  margin: 5px 4px 4px 0;
  display: inline-block;
  transition: all 0.4s;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
}
.gallery_images_grid .gallery {
  margin: 50px auto;
  -moz-column-count: 4;
  column-count: 4;
  display: block;
}
.gallery_images_grid .gallery a {
  display: flex;
}
.gallery_images_grid .gallery img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 0.3s ease-in-out;
  border-radius: 5px;
  overflow: hidden;
  margin: 5px;
}
.gallery_images_grid .sets .hide {
  width: 0%;
  opacity: 0;
}
.gallery_images_grid .sets .pophide {
  width: 0%;
  opacity: 0;
}
.gallery_images_grid .closeBtn {
  position: absolute;
  font-size: 1rem;
  font-weight: 500;
  line-height: 0;
  right: 25px;
  top: 25px;
  width: 30px;
  height: 30px;
  transition: 0.5s linear;
  padding: 5px 8px;
  border-radius: 50%;
  outline-offset: -6px;
}
.gallery_images_grid .closeBtn:hover {
  cursor: pointer;
}
.gallery_images_grid .openDiv {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  left: 0;
  z-index: 9999;
}
.gallery_images_grid .imgPreview {
  width: 100%;
  -o-object-fit: scale-down;
     object-fit: scale-down;
  min-height: 100vh;
  height: auto;
  background-color: rgba(0, 0, 0, 0.8);
}
.gallery_images_grid .butonsSection {
  position: absolute;
}
@media (max-width: 767px) {
  .gallery_images_grid .butonsSection .prevButton {
    position: relative;
    left: -8rem;
    border-radius: 50px;
    padding: 0px 15px;
    font-size: 2rem;
  }
  .gallery_images_grid .butonsSection .nextButton {
    position: relative;
    right: -8rem;
    border-radius: 50px;
    padding: 0px 15px;
    font-size: 2rem;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .gallery_images_grid .butonsSection .prevButton {
    position: relative;
    left: -15rem;
    border-radius: 50px;
    padding: 0px 15px;
    font-size: 2rem;
  }
  .gallery_images_grid .butonsSection .nextButton {
    position: relative;
    right: -15rem;
    border-radius: 50px;
    padding: 0px 15px;
    font-size: 2rem;
  }
}
@media (min-width: 1025px) {
  .gallery_images_grid .butonsSection .prevButton {
    position: relative;
    left: -25rem;
    border-radius: 50px;
    padding: 0px 15px;
    font-size: 2rem;
  }
  .gallery_images_grid .butonsSection .nextButton {
    position: relative;
    right: -25rem;
    border-radius: 50px;
    padding: 0px 15px;
    font-size: 2rem;
  }
}
.gallery_images_grid .prevButton {
  transition: 1s linear;
  padding: 8px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  margin: 10px;
}
.gallery_images_grid .nextButton {
  transition: 1s linear;
  padding: 8px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  margin: 10px;
}
@media (max-width: 1199px) {
  .gallery_images_grid .section-padding {
    padding-top: 70px;
  }
}
@media (max-width: 991px) {
  .gallery_images_grid .section-padding {
    padding-top: 50px;
  }
}
@media (max-width: 767px) {
  .gallery_images_grid .title {
    font-size: 36px;
  }
  .gallery_images_grid .gallery {
    -moz-column-count: 1;
    column-count: 1;
  }
  .gallery_images_grid .prevButton {
    font-size: 18px;
    padding: 8px 25px;
  }
  .gallery_images_grid .nextButton {
    font-size: 18px;
    padding: 8px 25px;
  }
}
@media (max-width: 540px) {
  .gallery_images_grid .section-padding {
    padding-top: 30px;
  }
  .gallery_images_grid .closeBtn {
    font-size: 18px;
    border-radius: 50%;
  }
  .gallery_images_grid .prevButton {
    font-size: 18px;
    padding: 6px 20px;
    border-radius: 10px;
    margin: 5px;
  }
  .gallery_images_grid .nextButton {
    font-size: 18px;
    padding: 6px 20px;
    border-radius: 10px;
    margin: 5px;
  }
  .gallery_images_grid .imgPreview {
    width: 90%;
    max-height: 50vh;
    height: auto;
  }
}
