/* other pags 2nd Navbar starts */
sub-nav {
		position: fixed;
		background-color: #fff;
		z-index: 90;
		left: 50%;
		transform: translateX(-50%);
		text-align: center;
		padding: 10px 20px;
		width: 100%;
		max-width: 100%;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		/* */
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 10px;
		/* */
	}
	sub-nav a {
	  text-decoration: none;
	  font-size: 12px;
	 /* margin: 0 10px; */
	 padding: 8px 12px;
     white-space: nowrap; 
     transition: 0.3s ease-in-out;
	 /* */
	}
	sub-nav a:hover {
	  text-decoration: underline;
	}
/* other pags 2nd Navbar  end */



/* picture gallery starts */

/* Reset styles */
body, h2, h3, ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Gallery Section */
.gallery-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background-color: #f0f0f0;
  padding: 20px;
  box-sizing: border-box;
}

/* Category List /
.category-list {
  width: 100%;
  max-width: 250px;
  padding: 20px;
  background-color: #333;
  color: white;
  box-sizing: border-box;
}

.category-list h2 {
  margin-bottom: 20px;
}

.category-list ul {
  padding-left: 20px;
}

.category-list li {
  margin-bottom: 10px;
}

.category-list a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.category-list a:hover {
  color: #ff9900;
}
*/
/* Picture Gallery */
.picture-gallery {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  box-sizing: border-box;
}

.gallery-category {
  width: 100%;
  margin-bottom: 20px;
}

.gallery-category h2 {
  margin: 15px 1px 10px 1px;
}

.gallery-category img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 5px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-category img:hover {
  transform: scale(1.1);
}

/* Modal starts */
.modal {
  display: none;
  position: fixed;
  z-index: 110;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
/* Modal ends */
  .top-gap{
	  padding-top:20px;
  }
/* Responsive Styles */
@media (min-width: 768px) {
  .gallery-section {
    flex-wrap: nowrap;
  }

  .category-list {
    width: 20%;
    max-width: none;
  }

  .picture-gallery {
    width: 100%;
  }
  .sub-nav{
/*	  flex-direction:column; */
	  padding:10px;
  }
  sub-nav a{
	  font-size:12px;
	  padding:6px 10px;
  }
}

@media (max-width: 767px) {
  .gallery-section {
    flex-direction: column;
  }

  .category-list {
    width: 100%;
  }

  .picture-gallery {
    width: 100%;
  }

  .gallery-category img {
    max-width: 100%;
  }
  sub-nav{
		padding:8px;
	}
	sub-nav a{
	  font-size:12px;
	  padding:4px 8px;
  }
}

@media (max-width: 480px){
	sub-nav{
		position:relative; 
		overflow-x:auto;
		Z-index: 1000;		
	}
	sub-nav a{
	  font-size:12px;
	  padding:4px 8px;
  }
  .top-gap{
	  padding-top:70px;
  }
}


/* picture gallery ends */
