.gallery {
  display: flex;
  overflow: scroll;
  align-content: center;
  align-items: center;
  justify-content: center;
  padding: 10px;
  gap: 10px;
  flex-wrap: nowrap;
}

.gallery-img {
  cursor: pointer;
  width: 96px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.lightbox {
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  
  position: fixed;
  margin: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: unset;
  
  background: rgba(0, 0, 0, 0.5);
}

.lightbox.hidden {
  display: none;
}

.lightbox-content {
  position: relative;
  max-width: calc(100% - 40px);
  max-height: calc(100% - 40px);
  height: 100%;
  margin: 20px
}

#lightbox-image {
  border-radius: 15px;
  max-height: 100%;
  max-width: 100%;
  box-shadow: 0 0 200px #000c;
}

.progress-bar-container {
  display: flex;
  justify-content: center;

  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 20px);
  
  gap: 5px;
  margin: 10px;
}

.progress-bar {
  border-radius: 5px;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,0.8);
  left: 0;
  top: 0;
}