.pure-css-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.pure-css-lightbox .overlay-close {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: default;
}
.pure-css-lightbox .lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}
.pure-css-lightbox .lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.pure-css-lightbox .lightbox-content .close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  color: #000000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.pure-css-lightbox .lightbox-content .close-btn:hover {
  transform: scale(1.1);
  background-color: rgb(229.5, 229.5, 229.5);
}
@media (max-width: 576px) {
  .pure-css-lightbox {
    padding: 0.5rem;
  }
  .pure-css-lightbox .lightbox-content img {
    max-width: 95vw;
    max-height: 80vh;
  }
  .pure-css-lightbox .lightbox-content .close-btn {
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
  }
}
.pure-css-lightbox:target {
  display: flex;
}