
div.gallery {
  margin-top: 2rem;
  height: auto;
    border: 1px solid #ccc;
  }
  
  div.gallery:hover {
    box-shadow:0 5px 10px 0 rgba(0, 0, 0, 0.336);
    transition: all 0.3s ease-in-out;
  }
  
  div.gallery img {
    width: 100%;
    height: auto;
  }
  
  div.desc {
    padding: 15px;
    text-align: center;
  }
  
  * {
    box-sizing: border-box;
  }
  
  .responsive {
    
    padding: 0 6px;
    float: right;
    width: 24.99999%;
  }
  @media only screen and (max-width: 768px) {
    div.gallery {
      height: auto !important;
    }|}
  @media only screen and (max-width: 700px) {
 
    .responsive {
      width: 49.99999%;
      margin: 6px 0;
    }
  }
  @media (width:1024px) {
    div.gallery {
      height: 15rem;
      }
  }
  @media only screen and (max-width: 500px) {
    .responsive {
      width: 100%;
    }
  }
  
  .clearfix:after {
    content: "";
    display: table;
    clear: both;
  }