*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #c4b673;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 0px;
}

.sidenav img{
  height: 180px;
  margin-left: -30px;
}

.sidenav i{
  font-size: 30px;
  margin: 5px;
}

.sidenav a {
  padding: 0px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: black;
  display: block;
  transition: 0.3s;
   font-family:  Felix Titling;
}

.sidenav a:hover {
  font-size: 27px;
  color: black;
  text-shadow: 2px 0px 2px white;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}


.closebtn:hover{
  font-size: 40px;
  color: black;
  text-shadow: 2px 0px 2px white;
}

#main {
  transition: margin-left .5s;
  padding: 8px 15px;
  text-shadow: 3px 0px 5px #363216 ;
  color: white;
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  background: rgba(165, 137, 92, .9);
  margin: 10px;
}






.projects{
  width: 100%;
  height: auto;
  margin-top: 10px;
  padding-top: 30px;
}

.projects h1{
  text-align: center;
  font-family:Felix Titling ;
  color: #AA8447;
  font-size: 52px;
  font-weight: bold;
  text-shadow: 3px 0px 3px black;
  margin: px;

}

.projects h2{
  text-align: center;
  font-family:Felix Titling ;
  color: black;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 3px 0px 3px white;
  margin: 10px;

}


.box1{
  width: 130px;
  height: 60px;
  background: #C4944C;
  float: left;
  text-align: center;
  margin: 20px;
  margin-left: 520px;
  border-radius: 30px 0px;
  border: 3px solid black;
}

.box1:hover{
  background:#c4a473 ;
}



.box2{
  width: 130px;
  height: 60px;
  background: #A5895C;
  float: left;
  text-align: center;
  margin: 20px;
  border-radius: 20px;
  border: 3px solid black;
}

.box2:hover{
  background:#c4a473 ;
}


.box3{
  width: 130px;
  height: 60px;
  background: #C4B673;
  float: left;
  text-align: center;
  margin: 20px;
   border-radius: 0px 30px;
   border: 3px solid black;
}

.box3:hover{
  background:#c4a473 ;
}

.code{
  font-size: 17px;
  text-align: center;
  font-family:Felix Titling ;
  font-weight: bold;
  margin: 15px 0px;
}

.all{
  font-size: 17px;
  text-align: center;
  font-family:Felix Titling ;
  font-weight: bold;
  margin: 15px 0px;
}

.word{
  font-size: 17px;
  text-align: center;
  font-family:Felix Titling ;
  font-weight: bold;
  margin: 15px 0px;
}

.portfolio{
     height: auto;
     width: 100%;
     padding: 10px 50px;
     display: flex;
     justify-content: center;
     flex-wrap: wrap;

}


.portfolio div {
     width: 250px;
     height: 400px;
     border-radius: 20px;
     box-shadow: 0px 0px 10px rgba(0, 0, 0, .4);
     margin: 40px 20px 40px 20px;
     background: white;
     overflow: hidden;
     border: 2px solid black;
     transition: 1s;

}

.portfolio div:hover{
  transform: scale(1.1);
}

.portfolio div img {
     width: 100%;
     height: auto;
     transition: 3s;
}

.portfolio div:nth-child(1):hover img{
     transform: translateY(-68%);
}


.portfolio div:nth-child(2):hover img{
     transform: translateY(-53%);
}

.portfolio div:nth-child(3):hover img{
     transform: translateY(-48%);
}

.portfolio div:nth-child(4):hover img{
     transform: translateY(-51%);
}




/*-----------------------------Contect Start---------------------------------*/

 .about2{
   width: 100%;
   height: auto;
   margin-top: 100px;
   background:#C4B673;
   box-sizing: border-box;
   padding-bottom: 20px;
}

.imgab{
     width: 60px;
     height: 60px;
     background:;
     margin-left: 40%;
     margin-bottom: 20px;
}

.imgab img{
     width: 280px;
     height: 230px;
     margin-top: -110px;
}

.co{
     text-align: center;
     padding-top: 30px;
     border-right: 2px solid black;
}

.co h1{
     color:  black;
     text-shadow: 2px 0px 3px white;
     font-weight: bold;
     font-family: Felix Titling;


}

.co h3{
     font-size: 20px;
     font-weight: bold;
     color: black;
     font-family: Felix Titling;

}

.co h3:hover {
  font-size: 21px;
  padding-left: 5px;
  color: black;
  text-shadow: 2px 0px 2px white;
}

.co p{
     font-weight: bold;
     color: black;
     font-family: Felix Titling;


}


.co h2{
     font-size: 26px;
     color:  black;
     text-shadow: 2px 0px 3px white;
     font-weight: bold;
     font-family: Felix Titling;


}


.co1{
     padding-top: 30px;
     text-align: center;
     border-right: 2px solid black;

}

.co1 h1{
     color:  black;
     text-shadow: 2px 0px 3px white;
     font-weight: bold;
     font-family: Felix Titling;


}



.co1 h2{
     font-size: 26px;
     color: black;
     text-shadow: 2px 0px 2px white;
     font-weight: bold;
     font-family: Felix Titling;


}



.co1 p{
     font-size: 18px;
     font-weight: bold;
     color: black;
     font-family: Felix Titling;


}



.co2{
     padding-top: 30px;
     text-align: center;
}

.co2 h1{
     color:  black;
     text-shadow: 2px 0px 3px white;
     font-weight: bold;
     font-family: Felix Titling;


}



.co2 h2{
     font-size: 26px;
     text-shadow: 2px 0px 2px white;
     font-weight: bold;
     color: black;
     font-family: Felix Titling;


}

.co2 p{
     font-size: 18px;
     font-weight: bold;
     color: black;
     font-family: Felix Titling;


}



.coo h1{
     padding-top: 60px;
     text-shadow: 2px 0px 3px white;
     font-size: 49px;
     text-align: right;
     color:  black;
     font-weight: bold;
     font-family: Edwardian Script ITC;


}

.coo i{
     padding-top: 60px;
     font-size: 30px;
     text-align: left;
     color:  black;
     margin: 12px;
     transition: 1s;

}

.coo i:hover{
    transform: scale(1.2);
}



/*----------------------------Contect End----------------------------------*/





@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}


@media screen and (max-width:992px){
  .box1{
    margin-left: 250px;
  }

.imgab{
     margin-left: 36%;
   }
}


@media screen and (max-width:786px){

/*-------------------------------Home Start-------------------------------------*/

.box1{
    width: 100px;
    margin-left: 50px;
  }

  .box2{
    width: 100px;
  }

  .box3{
    width: 110px;
  }

  .code{
    font-size: 15px;
  }

  .all{
    font-size: 15px;
  }

  .word{
    font-size: 15px;
  }

.about2{
    padding: 0px 60px;
}



.co{
    border-right: none;
}

.co1{
    border-right: none;
}

.imgab{
     margin-left: 10%;
   }

   .co h2{
    font-size: 22px;
   }

   .coo h1{
     padding-top: 50px;
     text-align: center;

}

.coo2 {
     text-align: center;

}


.coo2 i{
    padding-top: 0px;
}


}

