.secAlbum {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.secAlbum::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-right: 2px solid var(--djWhiteA30);
  border-bottom: 2px solid var(--djWhiteA30);
  border-radius: 20px;
  pointer-events: none;
  z-index: -1;
}

.albumHeader {
  text-align: center;
  padding: 20px 0;
}

.divThumbs {
	display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  padding: 20px;
  background-color: var(--djBlackA60);
}

/* @media only screen and (min-width: 800px) {
	.divThumbs {
		flex-direction: row;
		flex-wrap: wrap;
	}
} */

.thumbWrapper {
  position: relative;
}

.divThumbs img, .divThumbs video {
	width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--djWhite);
  background-color: var(--djBlackA60);
	transition: transform .5s ease, box-shadow .5s ease;
}

.divThumbs img:hover, .divThumbs video:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.imgPlay {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30% !important;
  aspect-ratio: auto !important;
  transform: translate(-50%, -50%);
  border: none !important;
  /* color: var(--djWhiteA60); */
  pointer-events: none; /* so clicks go to the video thumbnail */
  z-index: 5;
}

.divMediaViewer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--djBlack);
  justify-content: center;
  align-items: center;
}

.divImageViewer, .divVideoViewer {
  display: none;
  max-width: 100%;
  max-height: 100%;
  background-color: var(--djBlack);
}

.divImageViewer picture, .divImageViewer img, .divVideoViewer video {
  display: block;
  max-width: 100%;
  max-height: 100vh;
}

.media-horizontal {
  width: 100%;
  height: auto;
}

.divImageViewer img.media-vertical {
  width: auto;
  height: 100%;
}

.divPrev, .divNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  padding: 20px 10px;
  cursor: pointer;
  font-weight: bold;
  user-select: none;
  z-index: 10;
}

.divPrev {
  left: 0;
  border-radius: 0 10px 10px 0;
}

.divNext {
  right: 0;
  border-radius: 10px 0 0 10px;
}

.divPrev:hover, .divNext:hover {
  background-color: var(--djBlack);
}

.divPrev.disabled,
.divNext.disabled {
	display: none;
}
