.shadow-box {
  display: none;
  position: fixed; /* Use fixed positioning to make it stay on the screen */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  background: rgba(0, 0, 0, 0.66);
  text-align: center;
  overflow: auto; /* Add scrollbars if the content overflows */
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  background: none;
  text-shadow: 2px 2px 4px black;
  border: none; 
  font-weight: bold;
  font-size: 14px;
}


.shadow-box-content {
  position: relative;
  z-index: 101;
  color: #fff;
  margin-top: 10%;
  text-shadow: 2px 2px 4px black;
}

.flexSection{ 
  display: flex;
  flex-wrap: wrap;
  align-content: center;
}

.next-button, .prev-button{ 
  border: none; 
  color: #fff;
  font-size: 22px;
  text-shadow: 2px 2px 4px black; 
  background: rgba(255, 255, 255, 0.4); 
  padding: 8px 12px 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.nextDiv, .backDiv{ flex: 1; width: 5%; align-content: center; margin-top: 10%; }
.imgDiv{ flex: 1; width: 90%; background: rgba(255, 255, 255, 0.4); padding: 12px; border-radius: 12px; }
.imgDiv img{ border-radius: 12px; }

.shadow-heading{ }

.gallery-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}



/*
.gallery-image {
  max-width: 90%;
  max-height: 90%;
border: solid 8px #fff; 
}
*/