.gallery {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: 0.25s;
  user-select: none;
	z-index: 999999;
}
.gallery.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.gallery-inner {
  width: 70%;
  height: 70%;
  margin: auto;
  text-align: center;
}
.gallery-inner img{
	height: 100%;
}
.control {
  position: absolute;
  color: rgba(255, 255, 255, 0.8);
  font-size: 50px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.prev {
  left: 15px;
}
.next {
  right: 15px;
}
.close {
  color: white;
  font-size: 35px;
  position: absolute;
  top: 15px;
  right: 25px;
  cursor: pointer;
}
.hide {
  display: none;
}