/*.gallery {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
}

.grid-item {
  position: relative;
}

.grid-item img {
  max-width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}
*/




.gallery {
  max-width: 800px;
  margin: 0 auto;
   margin-top: 10px; 
  padding: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
}

.grid-item {
  position: relative;
}

.grid-item img {
  max-width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}
/*
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}
*/
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  text-align: center; /* Center align the content */
}

#lightbox img {
  max-width: 90%;
  max-height: 80vh; /* Limit the height to maintain aspect ratio */
  /*position: relative;
  top: 50%;
  left: 25%;
  transform: translateY(-50%);*/

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}
#nav li:hover ul.sub {

    min-width: 130px;

}
.july-meet{
  margin-top: 50px !important;
}
.julyPic{
  display: flex;
  justify-content: center;
  align-items: center;
}
.julyPic a, p{
  text-align: center;
}



/* Masonry layout */
@media screen and (min-width: 600px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media screen and (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
