/*body {
  background-color: #eee;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}*/

#gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 75vw;
  margin: 20px auto;
}

figure {
  cursor: zoom-in;
  margin: 10px;
  padding: 0px;
  position: relative;
}

figure img {
  width: 100%;
}

img {
  filter: hue-rotate(10);
  padding: 0px;
  border: 3px solid #fff;
  box-shadow: 0px 0px 3px #ccc;
  z-index: -1;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.colorturn {
  filter: hue-rotate(330deg) saturate(0.8);
}

figcaption {
  background-color: rgba(255, 255, 255, 0.5);
  width: 100%;
  text-align: center;
  color: #5e423f;
  z-index: 1;
  padding: 9px 0px 11px 0px;
  text-transform: uppercase;
  font-size: 1vw;
  position: absolute;
  bottom: 6px;
}

@media screen and (max-width: 600px) {
  figcaption {
    font-size: 3vw;
  }
  #gallery {
    grid-template-columns: 1fr;
    width: 90vw;
  }
}

.heart::before {
  font-family: "FontAwesome";
  content: "\f004";
  top: 0.4em;
  left: 0.5em;
  color: #fff;
  z-index: 1000;
  font-size: 2vw;
  position: absolute;
  opacity: 0;
  transform: scale(0);
  animation: animat 4.5s ease-in-out forwards;
}

.dark::before {
  color: #5e423f;
}

@keyframes animat {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  10% {
    opacity: 1;
    transform: scale(1.2);
  }

  20% {
    opacity: 1;
    transform: scale(1);
  }
  
  90% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* 
POP BOX 
*/
#pop {
  position: fixed;
  z-index: 999999;
  color: #fff;
  background: rgba(0, 0, 0, 0.6) none no-repeat 50% 50%;
  box-shadow: 0 0 0 24px rgba(0, 0, 0, 0.6);
  left: 24px;
  top: 24px;
  right: 24px;
  bottom: 24px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

#pop.loading:after {
  content: "Loading...";
  position: absolute;
  top: 50%;
  left: 44%;
}

#pop.visible {
  visibility: visible;
  opacity: 1;
}

#popClose {
  cursor: zoom-out;
  width: 100%;
  height: 100%;
  position: absolute;
}
.popClose{
  cursor: grab;
  position: absolute;
  top: 10px;
  right: 50px;
  font-size: 8em;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.8);
  }