/*  image panel */
.lightbox {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  left: 0;
  top: 0;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox.show {
  opacity: 1;
  z-index: 2000;
}

.lightbox .close-btn {
  position: absolute;
  right: 3rem;
  top: 3rem;
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.lightbox .close-btn span {
  position: absolute;
  width: 100%;
  left: 0;
  top: 50%;
  border-top: 1px solid #fff;
  transform: rotate(45deg);
}

.lightbox .close-btn span:last-of-type {
  transform: rotate(-45deg);
}

.lightbox .img-container {
  width: 0;
  height: 0;
  transition: all 0.3s;
}
