.gallery2{
    columns: 4;
    padding:0 15px;
    margin:0 0 100px 0;

    }
    
    .gallery2 li {
        margin-bottom: 20px;
    list-style:none;
    }
    
    .gallery2 img{
        width:100%;
        height:auto;
        vertical-align: bottom;}
    
    @media only screen and (max-width: 900px) {
        .gallery2{
        columns:3;
        }	
    }
    
    @media only screen and (max-width: 768px) {
        .gallery2{
        columns: 2;
        }	
    }

.flipLeft{
    animation-name: flipLeft;
    animation-duration:0.5s;
    animation-fill-mode:forwards;
    perspective-origin: left center;
    opacity: 0;
    }
    
    @keyframes flipLeft{
      from {
       transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
      opacity: 0;
      }
    
      to {
      transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
      opacity: 1;
      }
    }