.masonry { /* Masonry container */
    -webkit-column-count: 4;
  -moz-column-count:4;
  column-count: 4;
  -webkit-column-gap: 1em;
  -moz-column-gap: 1em;
  column-gap: 1em;
   margin: 1.5em;
    padding: 0;
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: 1.5em;
    font-size: .85em;
}

.item {
  display: inline-block;
  background: #fff;
  padding: 1em;
  margin: 0 0 1.5em;
  width: 100%;
  -webkit-transition: 1s ease all;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-shadow: 2px 2px 4px 0 #ccc;
}
.item img{max-width:100%;}

@media only screen and (max-width: 320px) {
  .masonry {
      -moz-column-count: 1;
      -webkit-column-count: 1;
      column-count: 1;
  }
}

@media only screen and (min-width: 321px) and (max-width: 768px){
  .masonry {
      -moz-column-count: 2;
      -webkit-column-count: 2;
      column-count: 2;
  }
}
@media only screen and (min-width: 769px) and (max-width: 1200px){
  .masonry {
      -moz-column-count: 3;
      -webkit-column-count: 3;
      column-count: 3;
  }
}
@media only screen and (min-width: 1201px) {
  .masonry {
      -moz-column-count: 4;
      -webkit-column-count: 4;
      column-count: 4;
  }
}

.page-title{
    height:100%;
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 0 solid transparent;
    margin-top: 75px;
}



body{
    background-color: #f1f1f1;
}

html,body{
    overflow-x: hidden;
}

.page-wrapper, .page-outer{
    background-color: #f1f1f1;
}

.page-content{
    width: 1100px;
    margin: 50px auto 0 auto;
}

.section1 h3{
    color: #1e1e1e;
    font-family: "DM Sans";
    font-size: 30px;
    line-height: 1.13889em;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0px;
    text-transform: capitalize;
}

.section1, .section2{
    margin-bottom: 50px;
}


.section2 h3{
  color: #1e1e1e;
    font-family: "DM Sans";
    font-size: 25px;
    line-height: 1.13889em;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0px;
    text-transform: capitalize;
}
.page-content p{
    margin: 0.5em 0 0;
    font-family: "DM Sans";
    font-size: 17px;
    font-weight: 500;
}

.title-image2{
    display: none;
}

@media only screen and (min-width: 1441px){
    .page-content{
        width: 1100px;
    }}

    @media only screen and (max-width: 1200px){
        .page-content {
            width: 960px;
        }
    }

   
        
    @media only screen and (max-width: 1024px){
        .page-content {
            width: 845px;
        }

        .page-title{
            margin-top: 0 !important;
        }

        .title-image2{
            display: block;
        }

        .title-image1{
            display: none;
        }
    }


     @media only screen and (max-width: 900px){
        .page-content {
            width: 720px;
        }}

    @media only screen and (max-width: 768px){
        .page-content {
                width: 80%;
        }}



.right:hover{
    transform: scale(1.05);
    transition: .2s ease-out;
}

.left{
    padding: 0 0 0 0;
    margin: 0 25px 0 0;
    width: 100%;

}       
