div#lightboxOverlay {
  color: #ccc;
  z-index: 25;
  background-color: #0c0c0c;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

div#lightboxOverlay button {
  color: #888;
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 2rem;
  display: block;
  position: fixed;
}

div#lightboxOverlay button#lightboxPrev {
  text-align: left;
  width: 10%;
  height: 70%;
  top: 15%;
  left: 0;
}

div#lightboxOverlay button#lightboxNext {
  text-align: right;
  width: 10%;
  height: 70%;
  top: 15%;
  left: 90%;
}

div#lightboxOverlay button#lightboxClose {
  justify-content: right;
  width: 100%;
  height: 15%;
  display: inline-flex;
  top: 0;
  left: 0;
}

div#lightboxOverlay figure {
  margin: 0;
}

div#lightboxOverlay figure img, div#lightboxOverlay figure svg {
  object-fit: contain;
  max-width: calc(100vw - 4rem);
  max-height: calc(100vh - 1.5rem);
}

div#lightboxOverlay figure figcaption {
  color: #888;
  padding-left: 0;
  padding-right: 0;
  font-size: 1rem;
}
