body {
  background-image: url('/_res/images/backgrounds/photos.jpg');  
}

body main article section.small-gallery {
  text-align: center;
}

body main article section.small-gallery img {
  height: 100px;
  cursor: pointer;
}

body main article section.large-gallery {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  transition: opacity .2s ease-in-out;
  text-align: center;
  visibility: hidden;
}

body main article section.large-gallery.visible {
  visibility: visible;
  opacity: 1;
}

body main article section.large-gallery figure {
  position: relative;
  display: inline-block;
  height: 80%;
  margin: 5%;
  padding: 0;
}

body main article section.large-gallery figure img {
  height: 100%;
}

body main article section.large-gallery figure figcaption {
  position: absolute;
  bottom: -45px;
  left: 0;
  color: rgba(0, 0, 0, 0.5);
  font-style: italic;
  font-size: 20px;
}

body main article section.large-gallery nav a {
  position: fixed;
  top: 50%;
  color: rgba(0, 0, 0, 0.5);
  font-size: 40px;
  margin-top: -20px;
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

body main article section.large-gallery nav a.next {
  right: 40px;
  border: 20px solid rgba(0, 0, 0, 0.5);
  border-right: none;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-left-width: 30px;
}

body main article section.large-gallery nav a.previous {
  left: 40px;
  border: 20px solid rgba(0, 0, 0, 0.5);
  border-left: none;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-right-width: 30px;
}

body main article section.large-gallery nav a.close {
  top: 40px;
  right: 40px;
  font-size: 60px;
}