* {
  box-sizing: border-box;
}

#lightboxContainer {
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0px;
  top: 0px;
  padding: 24px;
  display: none;
  justify-content: center;
  align-items: center;
}

#lightboxContainer.display{
  display: flex;
}

#lightboxBackground {
  background: radial-gradient(rgba(0,0,0,0.5), black);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#lightbox {
  background-color: white;
  border: 24px solid white;
  width: auto;
  max-width: 100%;
  height: 80%;
  object-fit: contain;
  position: relative;
  z-index: 5;
}

#lightboxCloser {
  color: white;
  font-family: Verdana, sans-serif;
  font-size: 36px;
  font-weight: bold;
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 10;
  cursor: pointer;
}

@media screen and (max-width: 800px) {
  #lightboxContainer {
    padding: 12px;

  }

  #lightbox {
    border: 12px solid white;
    width: 80%;
    height: auto;
  }
}
