.graficaCompleta {
  cursor: zoom-in;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: zoom-out;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__img {
  width: 100vw;
  height: auto;
  max-height: 100vh;
  object-fit: contain;
  display: block;
  cursor: default;
  /* subtle entrance animation */
  animation: lightboxIn 0.25s ease;
}

.lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s;
  z-index: 10000;
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s;
  z-index: 10000;
  padding: 0.5rem 1rem;
  user-select: none;
  overflow: clip;
}

.lightbox__nav:hover {
  opacity: 1;
}

.lightbox__prev {
  left: 0.5rem;
}

.lightbox__next {
  right: 0.5rem;
}

@media (max-width: 768px) {
  .lightbox__nav {
    display: none;
  }
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
