 
.work-page{
    padding: 120px 60px 40px;
  }
.work_page{
  padding: 120px 60px 40px;
}
.workclass1 h1{
  font-size: 35px;
  color: #000;
  
}
.workclass1 p{
  padding-top: 1vw;
  color: #000;
 font-size: 18px;
}
.workclass2 h1{
  font-size: 35px;
  color: #000;
}


/*Gallery*/

.home-gallery{
    margin-top: 0;
}
.masonry 
{ 
   
 width: 100%;
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 3fr));
 grid-gap: 0px;
 position: relative;

}

.item 
{
white-space: nowrap;
display: flex;
flex-direction: column;
width: 100%;
overflow: hidden;
position: relative;
}
.item img
{
max-width:100%;
}
.content-two{
    position: absolute;
    top: 50%;
    left: 32%;
    transform: translate(-50%, -50%);
     -ms-transform: translate(-50%, -50%);
     color: #000;
     font-size: 16px;
     white-space: nowrap;
     overflow: hidden;
  }
  .content-third{
    position: absolute;
    top: 50%;
    left: 38%;
    transform: translate(-50%, -50%);
     -ms-transform: translate(-50%, -50%);
     color: #000;
     font-size: 16px;
     white-space: nowrap;
     overflow: hidden;
  }
.content{
    position: absolute;
    top: 50%;
    left: 43%;
    transform: translate(-50%, -50%);
     -ms-transform: translate(-50%, -50%);
     color: #000;
     font-size: 16px;
     white-space: nowrap;
     overflow: hidden;
  }
  .contents span{
    font-size: 12px;
    
    }
.overlay 
{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fffffffe;
    width: 100%;
    height: 0;
    transition: .3s ease;
    overflow: hidden;
}

.item:hover .overlay 
{
/* opacity: 1; */
height: 45%;
}
/*btn*/
.img-button{
    margin-top: 10px;
  border-radius: 0;
  background-color: transparent;
  border-color: #000;
  color: #FFFFFF;
  text-align: center;
  font-size: 15px;
  padding: 3px;
  width: 150px;
  transition: all 0.5s;
  cursor: pointer;
 
}
.img-button a {
  color: #000 ;
  text-decoration: none;
}
.img-button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.img-button span:after {
  white-space: 10px;
  content:'\27F6';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -30px;
  transition: 0.5s;
}

.img-button:hover span {
  padding-right: 30px;
}

.img-button:hover span:after {
  opacity: 1;
  right: 0;
}
/*end btn*/
.see-more-work{
  padding: 20px;
  float: left;
}

/*----------------------------------------Media Queries----------------------------------------------*/
@media screen and (max-width:48em) {
  /* .cont-work{
    padding: 90px 25px 10px;
  }*/
  .work_page{
     padding: 100px 25px 10px;
  }
.workclass1 h1{
  font-size: 23px;
  color: #000;
  
}
.workclass1 p{
  padding-top: 1vw;
  color: #000;
 font-size: 16px;
}
.workclass2 h1{
  font-size:23px;
  color: #000;
}


/*gallery*/

.img-gallery{
   width: 100%;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   grid-gap: 0px;
}
.img-gallery img{
   width: 100%;
   cursor: pointer;
 }
}
  

@media screen and (max-width: 366px) and (max-device-height: 499px)  {

.work_page{
     padding: 100px 25px 10px;
  }
.workheading1 h1{
  color: #fff;
  font-size: 20px;
} 
.workheading1 p{
  color: #fff;
  font-weight: 0;
} 

.workheading2 {
   margin-left: 55%;
}
 .workheading2 h1{
  color: #fff;
  font-size: 20px;

} 
.workheading2 p{
  color: #fff;
  font-weight: 0;
} 
/*gallery*/

.img-gallery{
   width: 100%;
   padding: 0 30px;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   grid-gap: 0px;
}
.img-gallery img{
   width: 100%;
   cursor: pointer;\
 }
}