@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins',sans-serif;
    scroll-behavior: smooth;
}
:root{
    --sideBGcolor:#040b14;
    --themeColor:#00a78e;
    --iconBGcolor:#525252;
    --textColor:#2c2f3f;
    --bgColor:#f7f7f7;
}
header{
    height: 100vh;
    width: 300px;
    padding: 15px 30px;
    background-color: var(--sideBGcolor);
    overflow: auto;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transition: 0.4s;
    z-index: 99;
}
header .profile{
    text-align: center;
    margin: 10px 0; 

 }
 header .profile img{
    width: 150px;
    border-radius: 80%;
    border: 10px solid var(--iconBGcolor);
 }
 header h1{
    color: white;
    font-family:Informal Roman;
    font-size: 600;
 }
 header .profile .social-icons a{
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50px;
    text-align: center;
    line-height: 36px;
    background-color: var(--iconBGcolor);
    color: white;
    font-size: 18px;
    margin: 1.5px;
    transition: 0.4s;
 }
 header .profile .social-icons a:hover{
    background-color:var(--themeColor);
 }

 header nav{
    margin-top: 30px;
 }
 header nav ul li {
    list-style: none;
 }
 header nav ul li a{
    display: inline-block;
    text-decoration: none;
    padding: 7px 10px;
    color: lightgray;
    font-size: 14px;
    letter-spacing: 0.6; 

 }
 header nav ul li a i{
    margin-right: 10px;
    font-size: 20px;
    transition: 0.4s;

 }

 header nav ul li a:hover i{
    color: var(--themeColor);
 }
 header nav ul li .active i{
    color: var(--themeColor);
 }
 header .footer{
    text-align: center;
    background-color: var(--sideBGcolor);
    width: 300px;
    color:  lightblue;
    font-size: 18px;
    letter-spacing: 0.6px;
    padding: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    transition: 0.4s;
 }
 header .footer p a{
    color: var(--themeColor);
 }
 #menuBtn{
    position: fixed;
    top: 25px;
    right: 25px;
    font-size: 20px;
    width: 40px;
    height: 40px;
    color: white;
    background-color: var(--themeColor);
    text-align: center;
    line-height: 42px;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 0, 0,20%);
    display: none;
    z-index: 999;
 }
 @media only screen and (max-width: 1050px) {
    header{
        left: -300px;
    }
    header .footer{
        left: -300px;
    }
    #menuBtn{
        display: block;
    } 
 }
 .mobile-nav-active header{
    left: 0;
 } 
 .mobile-nav-active #header .footer{
    left: 0;
 } 
 main{
   margin-left: 300px;
   background-color: var(--bgColor);
   transition: 0.3s;

 }

 @media only screen and (max-width: 1050px){
   main{
      margin-left: 0;
   }
 }

 #home{
   height: 100vh;
   width: 100% ;
   background-image:url(backg.jpg);
   background-size: cover;
   background-attachment: fixed;
   display: flex;
   direction: column;
   justify-content:left;
   padding: 70px;
   position: relative;
 }
 #home::before{
   content: '';
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.208);
   position: absolute;
   top: 0;
   left: 0;
 }
 #home .home-row{
   z-index: 1;
 }
 #home .home-row h1{
   font-size: 60px;
   color: black;
   font-weight: 600;
   letter-spacing: -1px;
   margin-bottom: 10px;
   line-height: 70px;
 }
 #home .home-row h1 span{
   color: var(--iconBGcolor);

 }
 #home .home-row p{
   color: rgb(53, 32, 32);
   font-size: 30px;
   font-weight: 500;
 }
 #home .home-row p span{
   border-bottom:4px solid var(--themeColor);
 }
 @media only screen and (max-width: 670px){
   #home{
      padding: 30px;
   }
   #home .home-row h1{
      font-size: 35px;
      letter-spacing: 0;
      line-height: 50px;
   }
   #home .home-row h1 br{
      display: none;
   }
   #home .home-row p{
      color: rgb(53, 32, 32);
      font-size: 20px;
      font-weight: 400;
    }
 }


 #about{
   padding: 70px 30px;
 }
 .sub-heading{
   color: black;
   font-size: 30px;
   margin-bottom: 10px;
 }

 .divider{
   width: 80px;
   height: 4px;
   background-color: var(--themeColor);
   border-radius: 3px;
 }

 .sub-para{
   color: var();
   font-size: 15px;
   letter-spacing: 0.5px;
   font-weight: 400px;
   margin-top: 15px;

 }
 #about .about-col{
   display: flex;
   gap: 20px;
   margin-top: 25px;
 }
 #about .about-col .img-col{
   flex-basis: 35%;
   text-align: center;
 }
 #about .about-col .img-col img{
    width: 100%;
 }
 #about .about-col .info-col{
   flex-basis: 70%;

 }
 #about .about-col .info-col h2{
   color: lightseagreen;
   font-weight: 700;
   font-size: 35px;
   letter-spacing: 0.5px;
   margin-top: -10px;
 }
 #about .about-col .info-col p{
   color: var(--iconBGcolor);
  font-size: 15px;
  letter-spacing: 0.5px;
  font-style: italic;
 }
 #about .about-col .info-col .icon-list-col{
   display: flex;
   margin-top:  20px;
   gap: 40px;
 }
 #about .about-col .info-col .icon-list-col .icon-list ul li {
   list-style: none;
   margin: 15px 0;
 }
 #about .about-col .info-col .icon-list-col .icon-list ul li i{
   color: lightgreen;
 } 
 #about .about-col .info-col .icon-list-col .icon-list ul li strong{
   color: var(--textColor);
   font-weight: 500n;
   font-size: 15px;
   
 }

 #about .about-col .info-col .icon-list-col .icon-list ul li span {
   color: var(--sideBGcolor);
   font-weight: 600;
   font-size: 15px;
 }
 @media only screen and (max-width: 850px){
   #about{
      padding: 50px 10px;
 }
 #about .divider ~ p{
   color: var();
   font-size: 14px;
   letter-spacing: 0px;
   text-align:justify ;
 }
 #about .about-col{
   flex-direction: column;
}
#about .about-col .img-col img{
   width: 50%;
}
#about .about-col .info-col h2{
  font-weight: 600;
  font-size: 25px;
  letter-spacing: 0px;
}
#about .about-col .info-col p{
  font-size: 14px;
  letter-spacing: 0px;
 }
 #about .about-col .info-col .icon-list-col{
   flex-direction: column;
   gap: 0px;
 }
 #about .about-col .info-col .icon-list-col .icon-list ul li {
   margin: 15px 0;
 }
 #about .about-col .info-col .icon-list-col .icon-list ul li strong{
   font-weight: 500n;
   font-size: 0px;
   
 }
 #about .about-col .info-col .icon-list-col .icon-list ul li span { 
   font-weight: 400;
   font-size: 13px;
 }
}

@media only screen and (max-width: 400px){
   
   #about .about-col .img-col img{
      width: 90%;
   }

}

#fact{
   padding: 50px 30px;
   background-color: white;
   
}
#fact .fact-row{
   display: grid;
   grid-template-columns: repeat(1,1fr);
   grid-gap: 2px;
   margin-top: 50px; 

}
#fact .fact-row .fact-box i{
   color: aqua;
   font-size: 30px;
}
#fact .fact-row .fact-box strong{
  color: var(--sideBGcolor);
  font-size: 30px;
  margin-left: 5px;
  font-weight: 600;
}
#fact .fact-row .fact-box p{
  color: var(--textColor);
  font-weight: 500;
  font-size: 16px;
}

@media only screen and (max-width:700px){
  #fact{
    padding: 40px 15px;
    
 }
 #fact .fact-row{
  grid-template-columns: repeat(1,1fr);
  grid-gap: 10px;

}
} 
@media only screen and (max-width: 370px){
  #fact .fact-row .fact-box i{
    font-size: 30px;
 }
 #fact .fact-row .fact-box strong{
   font-size: 20px;
 }
 #fact .fact-row .fact-box p{
   font-weight: 400;
   font-size: 14px;
 }
}
#skill{
  padding: 70px 30px;
}
#resume{
  padding: 70px 30px;
  background-color: var(white);
}
#resume .resume-row{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 35px;
}
#resume .resume-row .resume-cols{
  flex-basis: 50%;
}
#resume .resume-row .resume-cols h2{
  color: var(--sideBGcolor);
  font-weight: 600;
  font-size: 25px;
  margin: 15px 0;
}
#resume .resume-row .resume-cols .my-info{
  padding: 0 20px 0 20px;
  margin: 20px 0;
  border-left: 2px solid var(--themeColor);
  position: relative;
}
#resume .resume-row .resume-cols .my-info::before{
  content: '';
  position: absolute;
  top: 0px;
  left: -10px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--themeColor) ;
  background-color: white; 
}
#resume .resume-row .resume-cols h3{
  color: var(--sideBGcolor);
  font-size: 17px;
  font-weight: 600;
}
#resume .resume-row .resume-cols .my-info p{
  color: var(--textColor);
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  margin: 10px 0;
}
#resume .resume-row .resume-cols .sp-box{
  padding: 4px 22px;
  background-color: lightblue;
  color: var(--textColor);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  margin: 15px 0;
  display: inline-block;
}

@media only screen and (max-width:820px){
  #resume{
    padding: 50px 15px;
  }
  #resume .resume-row{
    flex-direction: column;
  }
  #resume .resume-row .resume-cols{
    flex-basis: 100%;
  }
}
#resu a{
  background: #212121;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  display: inline-block;
  margin: 30px 0;
  border-radius: 5px;
}
#contact{
  padding: 70px 30px;
  
}
#contact .contact-row{
  margin-top: 50px;
  display: flex;
  gap: 20px;
  width: 100%;
}
#contact .contact-row .contact-left{
  flex-basis: 40%;
  min-width: 40%;
  background-color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0,20%);
  border-radius: 30px;
  padding: 30px;
}
#contact .contact-row .contact-left .icon-box{
  display: flex;
  gap: 15PX;
  align-items: center;
  margin: 30PX 0 ;
}
#contact .contact-row .contact-left .icon-box .icon i{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--themeColor);
  text-align: center;
  line-height: 47px;
  font-size: 20px;
  color: var(--themeColor);
  transition: 0.5s;
}
@media only screen  and  (max-width: 800px){
#contact{
  padding: 50px;
}
#contact .contact-row{
  flex-direction: column;
  gap: 10px;
}
}
.res {
    background: #212121;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    display: inline-block;
    margin: 30px 0;
    border-radius: 5px;
}