.portfolio {
margin-top: 50px;
    
}
.boxy{
  position: relative;
    display: block;
  width: 40%;
  height: 300px;
  margin: 0 auto 2em;
  padding: 0;
  background-size: cover;
  border-radius: 10px;
  box-shadow:0px 25px 50px rgba(0,0,0,.5);
  overflow:hidden;
  transition:all .4s ease;
}
.portfolio h3{
  margin-bottom: 30px;
  color: grey;
  font-family:"Dancing Script";
    font-size: 7em;
}
.figure{
  color: white;
  font-family: "Dancing Script";
  font-size: 3em; 
  padding: 5%;
  
  
}
.overlay_1{
   width: 100%;
  height: 100%;
  position: absolute;
  top:0;
  z-index:10;
}
.overlay_1:after {
  content: '';
  width: 200%;
  border-radius: 10px;
  height: 100%;
  background-color: #202020;
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: -10;
  left: 0;
  transition: all .3s ease;
}
.overlay-text {
    position: relative;
    top:-200px;
    margin-bottom:1em;
    margin-top:3em;
  font-family: "Montserrat";
    font-size: 18px;
    font-weight: 200;
    color:white;
    text-align: center;
    letter-spacing:5px;
    transition:all .3s cubic-bezier(.3, 0, 0, 1.3);
  }
.overlay-link{
  position: relative;
  display: block;
  width:18%;
  height: 16%;
/*  top: 220px;*/
  padding: 10px;
  margin: 0 auto;
  font-family: "Montserrat";
  color: white;
  letter-spacing: 3px;
  text-decoration: none;
  text-align: center;
  border: 2px solid white;
  border-radius: 3px;
  font-size: 1.25em;
  transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3);
}
.overlay-link:hover{
  background-color: white;
      color:#202020;
  text-decoration: none;
}


.boxy:hover .overlay-text {
  top: 0;
}
.boxy:hover .overlay-link{
  top: 0;
}
.boxy:hover .overlay_1:after {
  opacity: .75;
}




h3{
  text-align: center;
}















.box_1{
  background-image: url(assets/img/city/city-20.jpg);
}

.box_2{
   background-image: url(assets/img/onelands/1.jpg);
}
.box_3{
   background-image: url(assets/img/greengrove/2.jpg);
}
.box_4{
   background-image: url(assets/img/srikaram/4.jpg);
}
.box_5{
   background-image: url(assets/img/srikaram/1.jpg);
}
.box_6{
   background-image: url(assets/img/fairland/1.png);
}
.box_7{
   background-image: url(assets/img/pacifica/1.jpg);
}
.box_7{
   background-image: url(assets/img/pacifica/1.jpg);
}



