/* @media (max-width: 767px) {
    .gallery-grid {
      display: none; 
    }
    .gallery-grid:nth-child(-n+5) {
      display: block;
    }
  }

  @media (max-width: 767px) {
  #gap{
    height: 2600px !important;
  }
  }
  .section{
    margin-top: -120px;
  }

  #about{
    padding-bottom: 0px;
  }

  @media (min-width: 767px) {
    #gap{
      height: 1400px !important;
    }

   
} */

/* For mobile devices */
@media only screen and (max-width: 767px) {
  .gallery-grid {
      display: none; /* Hide all gallery images by default */
      padding-bottom:  40px !important;
  }

  @media only screen and (max-width: 767px) {
    #gap{
      /* height: 3200px !important; */
      height: 300vh !important;
    }
    
    }

   
  /* Select the first 5 gallery images to display */
  .gallery-grid:nth-child(-n+5) {
      display: block; /* Display the first 5 gallery images */
  }
}

/* For larger displays */
@media only screen and (min-width: 768px) {
  .gallery-grid {
      display: none; /* Hide all gallery images by default */
  }

  /* Select the first 10 gallery images to display */
  .gallery-grid:nth-child(-n+10) {
      display: block; /* Display the first 10 gallery images */
  }
}
.gallery-button {
  display: inline-block;
  padding: 10px 40px;
  background-color: #fffefe;
  color: #333;
  border-radius: 20px;
  font-weight: bold;
  font-size: 15px;
  text-transform: capitalize;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.gallery-button:hover {
  background-color: #2e2e2e;
  color: white;
}

.category-button.active {
  background-color: #333; /* Dark background color for active button */
  color: #fff; /* Light text color for active button */
}

.category-page .gallery-list .gallery-grid {
  display: block;
}