* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
  }
 
  #wrap {
    width: 90%;
    max-width: 1100px;
    margin: 50px auto;
  }
  .columns_2 figure {
    width: 49%;
    margin-right: 1%;
  }
  .columns_2 figure:nth-child(2) {
    margin-right: 0;
  }
  .columns_3 figure {
    width: 32%;
    margin-right: 1%;
  }
  .columns_3 figure:nth-child(3) {
    margin-right: 0;
  }
  .columns_4 figure {
    width: 24%;
    margin-right: 1%;
  }
  .columns_4 figure:nth-child(4) {
    margin-right: 0;
  }
  .columns_5 figure {
    width: 19%;
    margin-right: 1%;
  }
  .columns_5 figure:nth-child(5) {
    margin-right: 0;
  }
  #columns figure:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
  }
  #columns:hover figure:not(:hover) {
    opacity: 0.4;
  }
  div#columns figure {
    display: inline-block;
    background: #009346;
  
    box-shadow: 0 1px 2px rgba(34, 25, 25, 0.4);
    margin: 0 0px 15px;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    column-break-inside: avoid;
    padding: 15px;
    padding-bottom: 5px;
    background: #009346;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  
  div#columns figure img {
    width: 100%;
    border-bottom: 1px solid #000;
    padding-bottom: 15px;
    margin-bottom: 5px;
  }
  
  div#columns figure figcaption {
 
    color: #fff;
    line-height: 2.5;
    font-size: larger;
    font-weight: 500;
    text-overflow: ellipsis;
    text-align: center;
  }
  
  a.button {
    padding: 10px;
    background: #000;
    margin: 10px;
    display: block;
    text-align: center;
    color: #fff;
    transition: all 1s linear;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    border-bottom: 3px solid #fff;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  }
  a.button:hover {
    background: #fff;
    border-bottom: 3px solid #000;
    color: #000;
  }
  @media screen and (max-width: 960px) {
    #columns figure {
      width: 24%;
    }
  }
  @media screen and (max-width: 767px) {
    #columns figure {
      width: 32%;
    }
  }
  @media screen and (max-width: 600px) {
    #columns figure {
      width: 49%;
    }
  }
  @media screen and (max-width: 500px) {
    #columns figure {
      width: 100%;
    }
  }
  