/*******************
        Archive
 *******************/
.archive {
  width: 100%;
  height: auto;
  overflow-y: scroll;
}

.archive-title {
  font-size: var(--text-xs);
  border-bottom: 1px solid var(--black);
  margin-bottom: 1rem;
  padding-bottom: 0.25rem;
}

.img {
  z-index: 1;
  cursor: zoom-in;
  position: relative;
  pointer-events: all;
  background: repeating-linear-gradient(90deg, var(--blue) 0, var(--blue) 1px, transparent 1px, transparent 4px);
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out, mix-blend-mode 0.5s ease-in-out;
}

.archive .grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
  pointer-events: none;
  background: transparent;
}

.archive-section:not(:nth-child(1)) {
  transform: translateY(-3rem);
}

.archive .image-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.archive .image-grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.archive .image-grid-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.archive .image-grid-caption {
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

.archive .content-section figure .gallery-logo img {
  object-fit: contain;
  max-height: 50px;
  aspect-ratio: unset;
  border-radius: 0;
  max-width: 60%;
}

.archive .grid:nth-child(even) {
  padding-left: 5rem;
}

.archive .grid:nth-child(odd) {
  padding-right: 5rem;
}

.archive .layout-containter {
  padding: 0 50px;
}

figure {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*******************
        Lightbox
 *******************/
.lightbox {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--blue), var(--blue) 1px, rgba(255, 255, 255, 0) 3px, rgba(255, 255, 255, 0) 3px);
  z-index: 9999999;
}

.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  width: 80vw;
  height: 80vh;
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-content iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9 !important;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  fill: var(--blue);
  width: 30px;
  cursor: pointer;
}

/*******************
    Media Queries
 *******************/
@media (max-width: 1280px) {
  .archive .grid:nth-child(even) {
    padding-left: 2rem;
  }

  .archive .grid:nth-child(odd) {
    padding-right: 2rem;
  }
}

@media (max-width: 767px) {
  .archive .grid {
    grid-template-columns: repeat(6, 1fr) !important;
  }

}
