.gallery-1 {
  width: 100%;
}
.gallery-1-wrapper {
  display: flex;
  flex-direction: column;
  grid-gap: 30px;
  /* padding: 1.5rem; */
}
.gallery-1-wrapper .gallery-1-tabNav .nav {
  border: 0;
  column-gap: 20px;
  row-gap: 10px;
  flex-wrap: wrap;
}
.gallery-1-wrapper .gallery-1-tabNav .nav .nav-item:not(:last-child) .nav-link {
  position: relative;
}
.gallery-1-wrapper .gallery-1-tabNav .nav .nav-item:not(:last-child) .nav-link::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -10px;
  width: 1px;
  height: 25px;
  background: #ddd;
}
.gallery-1-wrapper .gallery-1-tabNav .nav .nav-item .nav-link {
  position: relative;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 18px;
  font-weight: 600;
  color: #555;
  min-width: 1px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  transition: all 300ms ease-in-out;
}
.gallery-1-wrapper .gallery-1-tabNav .nav .nav-item .nav-link.active {
  color: var(--theme-color);
}
.gallery-1-wrapper .gallery-1-tabNav .nav .nav-item .nav-link.active::after {
  width: 100%;
  opacity: 1;
}
.gallery-1-wrapper .gallery-1-tabNav .nav .nav-item .nav-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 100%;
  background: #e3eefc;
  opacity: 0;
  z-index: -1;
  border-radius: 5px;
  transition: all 300ms ease-in-out;
}
.gallery-1-wrapper .gallery-1-tabContent .gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  grid-gap: 30px;
}
@media (max-width: 450px) {
  .gallery-1-wrapper .gallery-1-tabContent .gallery__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.gallery-1-wrapper .gallery-1-tabContent .gallery__grid-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  grid-gap: 10px;
}
.gallery-1-wrapper .gallery-1-tabContent .gallery__grid-box:hover .box__image a img {
  transform: scale(1.2);
}
.gallery-1-wrapper .gallery-1-tabContent .gallery__grid-box .box__image {
  width: 100%;
}
.gallery-1-wrapper .gallery-1-tabContent .gallery__grid-box .box__image a {
  display: block;
  position: relative;
  height: 0;
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
  padding-bottom: 90%;
}
.gallery-1-wrapper .gallery-1-tabContent .gallery__grid-box .box__image a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: all 600ms ease-in-out;
}
.gallery-1-wrapper .gallery-1-tabContent .gallery__grid-box .box__info {
  display: flex;
  flex-direction: column;
  grid-gap: 5px;
  align-items: center;
}
.gallery-1-wrapper .gallery-1-tabContent .gallery__grid-box .box__info .box__title {
  text-align: center;
  font-size: 20px;
  color: black;
  font-weight: 500;
  margin-bottom: 0;
  transition: all 300ms ease-in-out;
}
@media (max-width: 991px) {
  .gallery-1-wrapper .gallery-1-tabContent .gallery__grid-box .box__info .box__title {
    font-size: 18px;
  }
}
@media (max-width: 575px) {
  .gallery-1-wrapper .gallery-1-tabContent .gallery__grid-box .box__info .box__title {
    font-size: 18px;
  }
}
.gallery-1-wrapper .gallery-1-tabContent .gallery__grid-box .box__info .box__title:hover {
  color: var(--theme-color);
}
.gallery-1-wrapper .gallery-1-tabContent .gallery__grid-box .box__info .box__title a {
  color: inherit;
  font-size: inherit;
}
.gallery-1-wrapper .gallery-1-tabContent .gallery__grid-box .box__info .photo__count a {
  display: flex;
  align-items: center;
  grid-gap: 10px;
  color: var(--theme-color);
  font-weight: 600;
  font-size: 16px;
}
.gallery-1-wrapper .gallery-1-tabContent .gallery__grid-box .box__info .photo__count a span {
  width: 25px;
  height: 25px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-color);
  color: white;
  font-size: 14px;
}
