.tooltip {
  position: relative;
  cursor: pointer;
  color: blue;
}

.tooltip .tooltip-img,
.tooltip .tooltip-bg {
  position: fixed;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.tooltip .tooltip-img {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  z-index: 999;
}

.tooltip .tooltip-bg {
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
}

.tooltip:hover .tooltip-img,
.tooltip:hover .tooltip-bg {
  opacity: 1;
  /* pointer-events: auto; */
}