body {
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background: #cdcdcf;;
}

.j5-icon {
 width: 20%; 
 max-width: 100px;
 display:block; 
 position: absolute; 
 left: 0%; 
 top: 0%; 
 margin-left:auto; 
 margin-right: auto; 
 padding: 1% ; 
}

.photos-icon {
  width:14%;
  max-width: 200px;
  display:block;
  position: absolute;
  right: 0%;
  top: 0%;
  padding: 1%;
  margin-left:auto;
  margin-right: auto;
}

.photos-icon-bhwmn {
  width:14%;
  max-width: 200px;
  display:block;
  position: absolute;
  right: 0%;
  top: 0%;
  padding: 1%;
  margin-left:auto;
  margin-right: auto;
}

.gallery-wrapper {
  width: 60%;
  max-width: 900px;
}

.bhwmn-container {
  display:flex;
  flex-direction: column;
  gap: 10px;
  height: 100vh;
  margin-top:10%;
}

@media (max-width: 768px) {
  body {
    align-items: normal;
  }
  
  .gallery-wrapper {
    margin-top: 100px;
    width: 90%;
  }
  
  .j5-icon {
   width: 20%; 
   max-width: 100px;
   display:block; 
   position: absolute; 
   left: 0%;
   right: 0%;
   top: 2%; 
   margin-left:auto; 
   margin-right: auto; 
   padding: 1% ; 
  }

  .photos-icon {
    width:40%;
    max-width: 200px;
    display:block;
    position: absolute;
    right: 0%;
    left: 0%;
    bottom: 5%;
    top: auto;
    padding: 1%;
    margin-left:auto;
    margin-right: auto;
  }
  .photos-icon-bhwmn {
    position: relative;
    bottom: 0%;
    margin-right:auto;
    margin-left:auto;
  }
  .bhwmn-container {
    margin-top: 30%;
  }
}

.gallery-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


.gallery-slide {
  width: 100%;
  height: 100%;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.active {
  display: block;
}

.controls {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 10px; /* 10px space between buttons */
}

.controls button {
  background: none;
  border: none;
  color: #333;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
  padding: 0.2rem 0.6rem;
}

.controls button:hover {
  color: black;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border: 4px solid white;
  border-radius: 4px;
}

.close-button {
  position: absolute;
  top: 2%;
  right: 3%;
  color: white;
  font-size: 36px;
  cursor: pointer;
}

/* Navigation arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  font-size: 48px;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  z-index: 10000;
}
.nav-arrow.left {
  left: 5%;
}
.nav-arrow.right {
  right: 5%;
}

