@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&display=swap');

:root{

--yellow: #ffcc0d;
--black: #000;
--white: #fff;
--light-bg: #eee;
--border-bold: .5rem solid var(--black);
--border-light: .2rem solid var(--black);
}
*{
    font-family: 'Rubik' , sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border:none;
    text-decoration: none;
    text-transform: capitalize;
    color: var(--black);
}
 *::selection{
      background-color: var(--black) ;
      color : var( --yellow);
  }
 *::-webkit-scrollbar{
      height: .5rem;
      width: 1rem;
  }
 *::-webkit-scrollbar-track{
      background-color: transparent;
  }
 *::-webkit-scrollbar-thumb{
 	background-color: var(--yellow);
 }
 html{
     font-size: 62.5%;
     overflow-x: hidden;
     scroll-behavior: smooth;
 }
 body{
     overflow: hidden;
     transition: .2s linear !important;
 }
body.active{
     padding-left: 35rem;
}
section{
     padding: 3rem 2rem;
     margin: 0 auto;
     max-width: 1200px;
     text-align: center;
}
.heading{
     margin-bottom: 3rem;
     text-align: center;
}

.heading span{
     text-transform: uppercase;
     font-size: 6.5rem;
     border-bottom: var(--border-bold);
}
.btn{
     display: inline-block;
     margin-top: 1 rem;
     cursor: pointer;
     padding: 1rem 3rem;
     border: var(--border-light);
     font-size: 2rem;
}
.btn:hover{
     background-color: var(--black);
     color: var(--white);
}
 .header{
     position: fixed;
     top:0; left:-35rem;
     height: 100vh;
     background-color: var(--white);
     border-right: var(--border-bold);
     width: 35rem;
     padding: 3rem 2rem;
     padding-bottom: 9rem;
     text-align: center;
     display: flex;
     align-items: center;
     justify-content: space-between;
     flex-flow: column;
     transition: .2s linear !important;
     text-align: center;
 }
 .header .logo{
    text-transform: uppercase;  
    border-bottom: var(--border-bold);
    font-weight: bolder;
    font-size: 4.5rem;
 }
 .header .navbar{
     width: 100%;
 }

 .header .navbar a{
     display: block;
     font-size: 2.5rem;
     padding: 1.5rem;
     margin: .5rem;
 }

 .header .navbar a.active,
 .header .navbar a:hover{
     background-color: var(--yellow);
 }
 .header .follow a{
    font-size: 3rem;
    margin:0 1rem;
    cursor: pointer; 
    transition: .6s linear !important;
 }

 .header .follow a:hover{
     transform: rotate(360deg);
 }
 #menu-btn{
     position: absolute;
     top: 0; right: -5.5rem;
     height: 4.5rem;
     line-height: 4.5rem;
     width: 5rem;
     font-size: 2.5rem;
     cursor: pointer;
     background-color: var(--black);
     color: var(--white);
 }
.header.active{
     left: 0;
}

       /*home section*/

.home{
     display: flex;
     align-items: center;
     flex-wrap: wrap;
     gap: 2rem;
     min-height: 100vh;
}       

.home .image{
     flex: 1 1 40rem;
}

.home .image img{
     height: 65rem;
     padding: 2rem;
     border: var(--border-bold);
}
.home .content{
     flex: 1 1 20rem;
}
.home .content h3{
     text-transform: uppercase;
     font-size: 4.2rem;
     font-weight: 500;
      margin: 3rem 0;
     margin-bottom: .2rem;
}
.home .content .h3 br{
     font-size: 8rem;
      margin: 3rem 0;
}
.home .content span{
     display: inline-block;
     padding: 3rem 2rem;
     background-color: var(--yellow);
     font-size: 3.5rem;
     margin: 3rem 0;
     font-weight: 400;
}
/*.home .content p{
     font-size: 1.7rem;
     line-height: 2;
     padding: 1rem 0;
}*/

.about .biography p{
     margin: 2rem auto;
     max-width: 70rem;
     line-height: 2;
     font-size: 1.7rem;
}
.about .biography .bio{
     margin: 1rem 0;
}
.about .biography .bio h3{
     padding: 1rem 2rem;
     display: inline-block;
     margin: 1rem;
     background-color: var(--light-bg);
     border: var(--border-light);
     word-break: break-all;
     font-size: 2.5rem;
     font-weight: normal;
     text-transform: none;
}
.about .biography .bio h3 span{
     font-weight: lighter;
}

            /* home section ends*/


          /*about section starts*/

#about{
     padding: 80px 0;
     color: #ababab;
}
.row{
     display: flex;
     justify-content: space-between;
     flex-wrap: wrap;
}
.about-col-1{
     flex-basis: 35%;
}
.about-col-1{
     width: 100%;
     border-radius: 15px;
}
.about-col-2{
     flex-basis: 60%;
}
.sub-title{
     font-size: 60px;
     font-weight: 600;
     color: #fff;
}

          /*about section ends*/



         /*skill section starts*/

.about .skills{
   margin: 3rem 0;  
}
.about .skills .progress{
     margin-top: 1rem;
}
.about .skills .progress .bar{
     margin: 1rem auto;
     max-height: 9rem;
     max-width: 70rem;
     border: var(--border-bold); 
     padding: 1rem;
}
.about .skills .progress .bar h3{
 
     display: flex;
     align-items: center;
     justify-content: space-between;
     font-size: 2rem;
     padding: 1rem;
     background-color: var(--yellow);
}
.about .skills .progress .bar span{
    font-weight: normal;
}
.about .skills .progress .bar:nth-child(1) h3{
     width: 85%;
}
.about .skills .progress .bar:nth-child(2) h3{
     width: 80%;
}
.about .skills .progress .bar:nth-child(3) h3{
     width: 70%;
}
.about .skills .progress .bar:nth-child(4) h3{
     width: 40%;
}

.about .skills .progress .bar:nth-child(5) h3{
     width: 65%;
}
.about .skills .progress .bar:nth-child(6) h3{
     width: 70%;
}









/*.skills-containar{
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     align-items: center;
     gap: 2rem;
     margin-top: 4rem;
}
.skills-img{
     width: 80%;
     padding-left: 4rem;
     object-position: center;
}
.bars-box{
     position: relative;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 1rem 0;
     margin-bottom: 1rem;
}
.bars-box h3,span{
     font-size: 1.2rem;
     font-weight: 500;
}
.light-bar {
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 0.5rem;
     background: hsla(260, 100%, 44%, 0.4);
     border-radius: 0.5rem;
}
.percent-bar {
     position: absolute;
     bottom: 0;
     left: 0;
     height: 0.5rem;
     background: var(--main-color);
     border-radius: 0.6rem;
}
.percent-bar:nth-child(1) h3{
     width: 80%;   
}
.css-bar{
     width: 70%;   
}
.javascript-bar{
     width: 40%;   
}
.php-bar{
     width: 30%;   
}
*/
       /*        services section starts*/

.services .box-container{
     display: grid;
     grid-template-columns: repeat(auto-fit,minmax(30rem, 1fr));
     gap: 1.5rem;
     align-items: flex-start;
}

.services .box-container .box{
     padding: 3rem 2rem;
     border: var(--border-light);
}

.services .box-container .box i{
     font-size: 4rem;
     margin-bottom: 2rem;
}

.services .box-container .box h3{
     margin: 1rem 0;
     font-size: 2rem;
     padding: 1.5rem;
     background-color: var(--yellow);
     font-weight: normal;
}

.services .box-container .box p{
     line-height: 2;
     font-size: 1.7rem;

}

.services .box-container .box:hover{
     background-color: var(--black);
}
.services .box-container .box:hover i{
     color: var(--white);
}
.services .box-container .box:hover p{
     color: var(--white);
}




       /*       services section ends*/




            /*        Contact Section Starts*/

.contact form{
     max-width: 70rem;
     margin: 0 auto;
}
.contact form .box{
     width: 100%;
     padding: 1.4rem;
     font-size: 2rem;
     text-transform: none;
     border: var(--border-light);
     margin: 1rem 0;
}
.contact form textarea{
     height: 20rem;
     resize: none;
}
.contact form .flex{
     display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
}
.contact form .flex .box{
     width: 49%;
}

.contact .box-container{
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 2rem;
}
.contact .box-container .box{
     padding: 3rem 2rem;
     border: var(--border-light);
     background-color: var(--light-bg);
}
.contact .box-container .box i{
     font-size: 2rem;
     height: 5rem;
     width: 5rem;
     line-height: 5rem;
     color: var(--white);
     background-color: var(--black);
}

.contact .box-container .box h3{
     margin: 1.5rem 0;
     font-size: 2.5rem;
}
.contact .box-container .box p{
     font-size: 1.7rem;
     text-transform: none;
}







           /*            Contact Section ends*/


.credit{
     text-align: center;
     background-color: var(--black);
     padding: 3rem;
     font-size: 2rem;
     color: var(--white);
}

.credit span{
     color: var(--yellow);
}

















/*media queries*/

@media (max-width:991px){

     html{
          font-size: 55%;
     }
     body.active{
          padding-left: 0;
     }
}

@media (max-width:450px){

     html{
          font-size: 50%;
     }

     .header.active{
          padding-top: 7rem;
     }

     #menu-btn.fa-times{
          right: 0;
     }
     .home .image img{
         height: auto; 
         width: 100%;
     }

     .heading span{
          font-size: 4rem;
     }
     .about .biography .bio h3{
          font-size: 2rem;
     }
     .contact form .flex .box{
     width: 49%;
}
}

