.thumbnail {
  width: 300px;
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 1);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox:target {
  display: flex;
}

.lightbox:target::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  z-index: 2;
  position: relative;
  cursor: pointer;
}
