html {
  font-family: sans-serif;
}

section {
  padding: .2em;
}

.lead {
  font-weight: 600;
  color: #0f0;
}


#navbar {
  background-color: #131;
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0em 0.8em;
  transition: top 0.4s;
  z-index: 999;
}

#navbar a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 15px;
  text-decoration: none;
}

#navbar a:hover {
  background-color: #0f0;
  color: black;
}



.gallery {
  display: flex;
  flex-wrap: wrap;
}

.gallery-item {
  flex: 1 1 auto;
  flex-basis: 100px;
  margin: .5em;
  max-width: 450px;
  max-height: 150px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.gallery-item.item-0p5 { flex-basis: calc(150px * 0.5); }
.gallery-item.item-0p6 { flex-basis: calc(150px * 0.6); }
.gallery-item.item-0p7 { flex-basis: calc(150px * 0.7); }
.gallery-item.item-1p0 { flex-basis: calc(150px * 1.0); }
.gallery-item.item-1p3 { flex-basis: calc(150px * 1.3); }
.gallery-item.item-1p5 { flex-basis: calc(150px * 1.5); }
.gallery-item.item-1p8 { flex-basis: calc(150px * 1.8); }
.gallery-item.item-2p0 { flex-basis: calc(150px * 2.0); }
.gallery-item.item-3p0 { flex-basis: calc(150px * 3.0); }
.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.4);
  background-image: url("data:image/svg+xml,<svg width='25.592mm' height='25.57mm' version='1.1' viewBox='0 0 25.592 25.57' xmlns='http://www.w3.org/2000/svg'><g transform='translate(-8.384 -30.485)'><g transform='matrix(.73881 -.73881 .73881 .73881 -60.993 29.439)'><path d='m45.024 78.76v-12.098c-3.3893-0.74048-4.7752-3.3219-4.7752-3.3219-2.0926-3.6538-0.71624-6.4223-0.71624-6.4223 1.3504-3.9341 5.4915-4.4974 5.4915-4.4974h2.4709s4.1637 0.67632 5.4915 4.4974c0 0 1.2181 3.5146-0.71624 6.4223 0 0-1.2503 2.3553-4.7752 3.3219v12.098' fill='none' stroke='rgb(0,255,0)' stroke-linecap='square' stroke-width='2.2894'/></g></g></svg>");
  background-position: center;
  background-size: 1.85rem;
  background-repeat: no-repeat;
  transition: opacity 250ms;
  z-index: 10;
}
.gallery-item .caption {
  position: absolute;
  text-align: center;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .2em 0;
  line-height: 1em;
  color: #0f0;
  background-color: rgba(0, 0, 0, 0.6);
  transform: translateY(4em);
  transition: transform 250ms;
  z-index: 20;
}
.gallery-item .caption span {
  display: inline-block;
  max-width: calc(100% - 2em);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.gallery-item:hover .thumb {
  transform: scale(1.25);
}
@media (hover: hover) {
  .gallery-item:hover::after {
    opacity: 1;
  }
  .gallery-item:hover .caption {
    transform: translateY(0);
  }
}
.gallery-item .thumb {
  display: inline-block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: unset;
  text-align: center;
  background-color: #222;
  transition: filter 500ms, transform 500ms;
}
.ie-fix .gallery-item .thumb {
  width: auto;
}
.gallery-item .placeholder {
  filter: blur(20px);
}




.linked-item {
  flex: 1 1 auto;
  flex-basis: 175px;
  margin: 0px;
  max-width: 300px;
  max-height: 150px;
  height: 150px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.linked-item.item-1p0 { width: calc(150px * 1.0); }
.linked-item.item-1p8 { width: calc(150px * 1.8); }
.linked-item::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.4);
  background-image: url("data:image/svg+xml,<svg width='42.578mm' height='15.687mm' version='1.1' viewBox='0 0 42.578 15.687' xmlns='http://www.w3.org/2000/svg'><g transform='translate(-25.777 -34.469)'><path d='m26.777 42.973h32.364l-3.6069-5.8267 10.726 5.8267-10.726 5.8267' fill='none' stroke='rgb(0,255,0)' stroke-linecap='square' stroke-width='2'/></g></svg>");
  background-position: center;
  background-size: 2.85rem;
  background-repeat: no-repeat;
  transition: opacity 2000ms;
  z-index: 10;
}
.linked-item .caption {
  position: absolute;
  text-align: center;
  left: 0;
  right: 0;
  top: 0;
  padding: .4em 0;
  line-height: 2.5em;
  color: #2f0;
  background-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  #background-color: rgba(0, 16, 0, 0.4);
  transform: translateY(-.5em);
  transition: transform 750ms;
  z-index: 20;
}
.linked-item .caption span {
  display: inline-block;
  max-width: calc(100% - 2em);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.linked-item:hover .thumb {
  transform: scale(1.25);
}
@media (hover: hover) {
  .linked-item:hover::after {
    opacity: 1;
  }
  .linked-item:hover .caption {
    transform: translateY(0);
  }
}
.linked-item .thumb {
  display: inline-block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: unset;
  text-align: center;
  background-color: #111;
  transition: filter 500ms, transform 3500ms;
}
.linked-item .placeholder {
  filter: blur(20px);
}




.lightbox-wrapper {
  display: none;
  background-color: #111;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.lightbox {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: white;
}
.lightbox .lightbox-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: linear-gradient(to bottom, rgba(0,0,0,.7), rgba(0,0,0,0));
  color: #fff;
  #background-color: rgba(0, 0, 0, 0.3);
  padding: .1em;
  font-weight: 600;
  text-align: center;
  z-index: 20;
}
.lightbox .lightbox-header > * {
  opacity: .75;
}
.lightbox .lightbox-header span {
  display: inline-block;
  max-width: calc(100% - 2em);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.lightbox .lightbox-close {
  position: relative;
  height: 1.85rem;
  width: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  padding: 0;
  border: none;
}
.lightbox .lightbox-close::before, .lightbox .lightbox-close::after {
  position: absolute;
  content: "";
  height: 4px;
  width: 90%;
  background-color: #fff;
}
.lightbox .lightbox-close::before {
  transform: rotate(-45deg);
}
.lightbox .lightbox-close::after {
  transform: rotate(45deg);
}
.lightbox .lightbox-close:hover {
  opacity: 1;
}
.lightbox .lightbox-slides-wrapper {
  flex-grow: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}
.lightbox .lightbox-arrow {
  position: absolute;
  top: 50%;
  width: 4rem;
  height: 4rem;
  padding: .5rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.5em;
  opacity: .75;
  cursor: pointer;
  filter: drop-shadow(0 0 10px #222);
}
.lightbox .lightbox-arrow:hover {
  opacity: 1;
}
.lightbox .lightbox-arrow.arrow-left {
  left: 0;
  background-image: url("data:image/svg+xml,<svg width='38.789mm' height='43.648mm' version='1.1' viewBox='0 0 38.789 43.648' xmlns='http://www.w3.org/2000/svg'><g transform='translate(-8.4009 12.086)' fill='none' stroke='rgb(255,128,128)' stroke-linecap='round' stroke-linejoin='round'><path d='m43.452-8.3667-31.358 18.105 31.358 18.105' stroke-width='7.3856'/><path d='m45.321 0.68569-15.679 9.0524 15.679 9.0524' stroke-width='3.6928'/><path d='m46.256 5.2119-7.8396 4.5262 7.8396 4.5262' stroke-width='1.8464'/></g></svg>");
}
.lightbox .lightbox-arrow.arrow-right {
  right: 0;
  background-image: url("data:image/svg+xml,<svg width='38.789mm' height='43.648mm' version='1.1' viewBox='0 0 38.789 43.648' xmlns='http://www.w3.org/2000/svg'><g transform='translate(-8.4009 12.086)' fill='none' stroke='rgb(128,255,128)' stroke-linecap='round' stroke-linejoin='round'><path d='m12.139-8.3667 31.358 18.105-31.358 18.105' stroke-width='7.3856'/><path d='m10.27 0.68569 15.679 9.0524-15.679 9.0524' stroke-width='3.6928'/><path d='m9.3355 5.2119 7.8396 4.5262-7.8396 4.5262' stroke-width='1.8464'/></g></svg>");
}
.lightbox .lightbox-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  transition: all 0ms ease;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.lightbox .lightbox-slide[data-state="prev"] {
  transform: translateX(-100%);
  opacity: 0;
}
.lightbox .lightbox-slide[data-state="next"] {
  transform: translateX(100%);
  opacity: 0;
}
.lightbox .lightbox-image {
  display: none;
  max-width: 100%;
  max-height: 100%;
}
.lightbox .spinner {
  display: none;
}