@media screen and (max-width:992px){


.frish{
     margin: 150px 0px 0px 20px;
     background:red;

 }


.frish h1{
  font-size: 38px;

}


.frish h2{
  font-size: 25px;
}

.frish p{
	font-size: 15px;
}

.imgbox{
  margin:180px 120px;
 
}

.img{
	margin: -475px 0px 0px 120px;

}



.sert{
  padding-top: 130px;
}

.sert h1{
  font-family:Felix Titling ;
  padding-left:0px;
  color: #AA8447;
  font-size: 52px;
  text-shadow: 3px 0px 3px black;

}


.sert p{
  font-family:Californian FB  ;
  font-size: 22px;
  font-weight: bold;
  padding-top: 20px;
  padding-left: 0px;

}


 .btn3{
     width: 150px;
     height: 60px;
     margin: 10px 0px 0px 0px;
     border: 3px solid black;
     border-radius: 30px 0px;
     background:#AA8447;
  } 



.service{
     width: 100%;
     height: 100vh;
     padding:70px 0px 0px 0px;
     position: relative;
     display: flex;
     flex-wrap: wrap;

}

.service div{
     position: absolute;
     width: 190px;
     height: 180px;
     text-align: center;
     transition: 1s;
     padding: 4px;
     font-family: Californian FB ;


}

.service div p1{
   font-size: 13px;

}


.service div:nth-child(3){
     display: none;
     
}
    

.service div:nth-child(1){
     left: 31%;
   
}


.service div:nth-child(2){
     left: 61%;
     
}



.service div:nth-child(4){
     left: 1%;
     
}

.service div:nth-child(5){
     left: 13%;
     top: 62%;
     
}


.service div:nth-child(6){
     left: 54%;
     top: 62%;

}

.skills-section h1 {
     font-size: 47px;
     margin-bottom: 50px;

    }

.skill-box {
      height: 140px;
    }

    .skill-title {
      font-size: 26px;
      margin-bottom: 5px;
     
    }

    .bla {
      font-size: 25px;

    }

    .skill-description {
      font-size: 18px;
      margin-top: 0px;
    }

    .progress-line {
      margin-top: 20px;
    }

.imgab{
     margin-left: 36%;
   }
   
  }


@media screen and (max-width:400px){

/*-------------------------------Home Start-------------------------------------*/


.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: 40px;
  margin: 3px;
}

.sidenav a {
  padding: 0px 8px 8px 32px;
  text-decoration: none !important;
  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;
  text-decoration: none;
}

.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;
}





.hero{
     width: 400px;
     height: 100vh;
     background: linear-gradient(rgb(0, 20, 0 ,.7),rgba(0, 0, 0, .8)),url(img/112.jpg);
     background-position: center;
     background-attachment: fixed;
     background-size: cover;
     background-repeat: no-repeat;
     color: white;
     margin: 0px 0px;
     overflow: hidden;
}

.frish{
     width: 400px;
     height: 310px;
     margin:80px 10px 10px 10px;
     padding-top: 0px;
     box-sizing: border-box;
     text-shadow: 3px 0px 5px #70642a ;

 }


.frish h1{
  font-size: 34px;
  padding: 5px 0px 5px 20px;
  color:white;
  font-family:  Felix Titling;
  
}


.frish h2{
  padding-right: 25px;
  font-size:24px;
  padding-left:20px;
  font-family:  Felix Titling;
}

.frish p{
  font-size: 15px;
  padding: 5px 20px 0px 20px;
  font-family:  Felix Titling;
  margin-bottom: 0px;
}

 .btn1{
     width: 120px;
     height: 55px;
     margin: -30px 0px 0px 20px;
     border: 3px solid white;
     border-radius: 30px 0px;
     background:none;
  } 

.btn1 a{
     text-decoration: none;
     font-size: 16px;
     color: white;
     font-family: Felix Titling;
 }

 .btn1:hover a{
     color: white;
 }

  .btn1:hover {
     background: #9B845A;
 }


 .btn2{
     width: 130px;
     height: 55px;
     margin: 20px 0px 0px 10px;
     border: 3px solid white;
     border-radius: 0px 30px;
     background:none;
  } 

.btn2 a{
     text-decoration: none;
     font-size: 16px;
     color: white;
     font-family: Felix Titling;
 }

 .btn2:hover a{
     color: white;
 }

   .btn2:hover {
     background: #9B845A;
 }

 


.imgbox{
  width: 280px;
  height: 280px;
  border-radius: 100%;
  margin: 10px 50px !important;
  border-left: 7px solid white;
  animation-name: me;
  animation-duration: 1s;
  box-shadow: -3px 0px 2px #70642a;
  animation-iteration-count: infinite;
 
}

@keyframes me{
  from{
    transform: rotate(0deg);
  }

  to{
    transform: rotate(360deg);
  }

}

.img{
  width: 280px;
  height: 280px;
  background: url(img/17.jpg);
  background-position: center;
  background-size: cover;
  border-radius: 100%;
  margin: 0px 0px 0px 0px;
}



.img{
    margin: -300px 0px 0px 50px;

}


.service1{
  
  height: auto;
}


.sert{
  padding: 70px 0px 0px 20px;
}

.sert h1{
  font-size: 50px;

}


.sert p{
  font-size: 20px;
  width: 400px;

}



.service{
    margin-left: 0px;
    margin-top: 100px;
     padding:0px;

     
}

.service div{
   width: 215px;
   height: 205px;
}


.service div p1{
    font-size: 13px;
}

.service div:hover{
    transform: none;
}
    

.service div:nth-child(1){
     left: 18%;
     top: 4%;
   
}


.service div:nth-child(2){
     left: 41%;
     top: 54%;
     
}



.service div:nth-child(4){
     left: -8%;
     top: 33%;
     
}

.service div:nth-child(5){
     left: -8%;
     top: 75%;
     
}


.service div:nth-child(6){
     left: 41%;
     top: 97%;

}

.skills-section{
    margin-top:180px ;
    height: auto;
    padding: 50px;
}

.skills-section h1 {
     font-size: 37px;
     margin-bottom: 50px;
     padding-top: 30px;

}


.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;
}


}