.feature img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  border-radius: 0.5rem;
}

/* Popup lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: 
    blur(3px);
  display: none !important;
  align-items: center;
  justify-content: center;
  z-index: 99;
}

.lightbox:target {
  display: flex !important;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
}


.lightbox iframe {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
  background: white;
  z-index: 999;
}



.lightbox .close {
  position: absolute;
  inset: 0;
}


.lightbox > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Keep the bug-report form inside the viewport */
/* #bugform iframe {
  width: min(640px, 90vw);
  height: min(800px, 90vh);
  max-width: 90vw;
  max-height: 90vh;
} */



/* .lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none !important;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox:target {
  display: flex !important;
}

.lightbox iframe {
  width: 90%;
  max-width: 700px;
  height: 80vh;
  border: none;
  border-radius: 8px;
  background: #fff;
  z-index: 1;
}

.lightbox .close {
  position: absolute;
  inset: 0;
  cursor: default;
} */

/* stop the lightbox scrolling with the screen */
/* body:has(.lightbox:target) {
  overflow: hidden;
  height: 100vh;
}
 */
