body {
  margin: 0;
  background-color: #000;
  color: white;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#gallery-container {
  width: 90%;
  max-width: 1000px;
  padding: 20px;
}

#navigation {
  margin-bottom: 20px;
}

select {
  padding: 5px 10px;
  margin: 0 10px;
}

#gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

#gallery img {
  max-width: 300px;
  max-height: 200px;
  object-fit: contain;
  border: 2px solid #444;
  background: #111;
  cursor: pointer;
}

/* Lightbox */
#lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
}

#close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
.nav-arrow {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: white;
  padding: 10px;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
  transform: translateY(-50%);
}

#prev { left: 20px; }
#next { right: 20px; }

select {
  padding: 10px 15px;
  margin: 0 10px;
  border: none;
  border-radius: 6px;
  background-color: #222;
  color: white;
  font-size: 16px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'10'%20height%3D'6'%20viewBox%3D'0%200%2010%206'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M0%200l5%206%205-6z'%20fill%3D'%23fff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
  cursor: pointer;
}

#navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
