/* Screenshots enlarge on click. See docs/javascripts/lightbox.js. */
.md-content img { cursor: zoom-in; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox--open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border: 0;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  background: #fff;
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}
body.lightbox-open { overflow: hidden; }
