html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.stop-scrolling {
  height: 100%;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#buttons-container button,
a {
  cursor: pointer;
}

.photoset {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 6px;
}

.photo {
  background-position: -10%, 880%;
  flex-grow: 1;
  max-width: calc(50% - 8px);
  height: 50vh;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media screen and (max-width: 1024px) {
  .photo {
    height: 40%;
  }
}

@media screen and (max-width: 600px) {
  .photo {
    height: 25vh;
  }
}


.last-photo {
  min-width: 100% !important;
}

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.3s ease;
}

#lightbox.hidden {
  opacity: 0;
  pointer-events: none;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.nav {
  --nav-gap: 15px;
  padding: 10px;
  position: fixed;
  right: 0;
  top: 60%;
  transform: translateY(-50%);
  z-index: 9999;
}

.nav-item {
  align-items: center;
  display: flex;
  flex-direction: row-reverse;
  margin-bottom: var(--nav-gap);
}

.nav-link:hover~.nav-label {
  opacity: 1;
}

.nav-label {
  color: #ffffff;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.1s;
}

.nav-link {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  height: var(--nav-gap);
  margin-left: var(--nav-gap);
  transition: transform 0.1s;
  width: var(--nav-gap);
}

.nav-link-selected-blue {
  background: oklch(42.4% 0.199 265.638);
  transform: scale(1.4);
}

.nav-link-selected-white {
  background: oklch(100% 0.00011 271.152);
  transform: scale(1.4);
}

.fixed {
  z-index: 999999;
}