.row1 {
 
    display: grid;
    grid-template-columns: repeat(3, 1fr);    
    width: 100%;
    grid-column-gap: 1%;
    background-attachment: fixed;
}
.thumbnail{
  justify-self:center;
  transition:.5s;
  height: 350px;
}
.photoContainer{
  border: 3px solid #1f9b3c;
  text-align:center;
  height: 350px;
  position:relative;
  transform:perspective(500px) rotateY(5deg) ;
}
.photoContainer:hover{
  animation-name:thumbTitle;
  animation-duration: 1s;
  animation-fill-mode:both;
  transition-timing-function: ease-in;
}

@keyframes thumbTitle{
  0% {
    transform:perspective(500px) rotateY(5deg) scale(1) ;
  }
  20% {
    transform:perspective(500px) rotateY(-10deg) scale(1.1);
  }
  100%{
    transform:perspective(500px) rotateY(0deg) scale(1.2);
  }
}
.photoContainer:hover .photoInfo{
  animation-name:infoSlide;
  animation-duration: 1s;
  animation-fill-mode:both;
  transition-timing-function: ease-in;
}
@keyframes infoSlide{
  0%{
    opacity:0;
    transform: translateX(2.4em);
  }
  100%{
    opacity:1;
    transform: translateX(0);
    visibility:visible;
  }
}
.photoContainer a{
  display:block;
  text-decoration: none;
  height: 350px;
}
.photoContainer a img{
  opacity:.5;
  height: 340px;
}
.photoContainer a img:hover{
  animation-name:imgTransparency;
  animation-duration: 1s;
  animation-fill-mode:both;
  transition-timing-function: ease-in;
}
@keyframes imgTransparency{
  0% {
    opacity:.5;
  }
  100% {
    opacity: 1;
  }
}
.photoInfo{
  background-color:#085796;
  position:absolute;
  bottom:0px;  
  text-align:center;
  visibility:hidden;
}

.photoInfo h4{
  margin:7px 10px;
  color: #ffffff;
  font-weight:normal;
}


