.lightbox {
  background: 0 0;
  border: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  padding: 0;
}
.lightbox::backdrop {
  background: #0a0519eb;
}
.lightbox figure {
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  height: 100%;
  margin: 0;
  padding: 4rem 1rem 1.5rem;
  display: grid;
}
.lightbox img {
  object-fit: contain;
  border-radius: var(--radius-sm);
  max-width: 100%;
  max-height: 100%;
}
.lightbox figcaption {
  color: #fff;
  text-align: center;
  padding-top: 1rem;
}
.lightbox__btn {
  z-index: 1;
  color: #fff;
  background: #1b0d47cc;
  border: 1px solid #fff6;
  border-radius: 999px;
  place-items: center;
  width: 3rem;
  height: 3rem;
  display: grid;
  position: fixed;
}
.lightbox__btn:hover {
  color: #150a33;
  background: #fff;
}
.lightbox__close {
  top: 1rem;
  right: 1rem;
}
.lightbox__prev {
  top: 50%;
  left: 1rem;
  rotate: 180deg;
}
.lightbox__next {
  top: 50%;
  right: 1rem;
}
