.image-container img {
  width: 100%;
  height: auto;
  transition: transform .5s;
  opacity: 80%;
}

.image-container img.portrait {
  width: 100%;
  height: auto;
}

.image-container img:hover {
  opacity: 100%;
}

.caption {
  text-align: center;
  margin-bottom: 0;
  font-weight: 600;
}

.note {
  margin-top: 0;
  font-size: 13px;
  text-align: center;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.9);
  opacity: 0;
  pointer-events: none;
  transition: .4s;
  z-index: 9999;
}

.lightbox img.isilightbox {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  margin-top: 5%;
}

.lightbox:target {
  opacity: 1;
  pointer-events: auto;
}

.lightbox .exit {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 30px;
}

.previous, .next {
  position: absolute;
  top: 50%;
  width: 40px;
}

.previous { left: 30px; }
.next { right: 30px; }
