@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&family=Ubuntu:wght@300&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;

}
:root{
    /* --primary-color:#ff8882; */
    --primary-color:#9782ff;
    --black-color: #0E2431;
    --white-colot: #fff;

}
body{
    font-family: 'Ubuntu', sans-serif;
   

}
::-webkit-scrollbar{
    width: 5px;
}
::-webkit-scrollbar-track{
    background: #f1f1f1;

}
::-webkit-scrollbar-thumb{
    background:var(--primary-color);
    border-radius: 12px;
    transition: all 0.3s ease;

}
::-webkit-scrollbar-thumb:hover{
    background: var(--primary-color);
}

/* navbar */
nav{
    position: fixed;
    width:100%;
    padding: 20px 0;
    z-index: 999;
    transition: all 0.3s ease;
    
}
nav.sticky{
    background: var(--primary-color);
    padding: 13px 0;

}
nav .navbar{
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin:auto;

}
nav .navbar .logo a{
    font-weight: 500;
    font-size:28px;
    color: var(--primary-color);

}
nav.sticky .navbar .logo a{
    color: var(--white-color);

}
nav .navbar .menu{
    display: flex;
    position: relative;

}
nav .navbar .menu li{
    list-style: none;
    margin:0 8px;
     
}
nav .navbar .menu a{
    font-size: 18px;
    font-weight: 500;
    color: var(--black-color);
    padding: 6px 0; 
    transition: all 0.4s ease;
}
.navbar .menu a:hover{
    color:var(--primary-color);
}
nav.sticky .menu a{
    color:var(--white-color);
}
.nav .sticky .menu a:hover{
    color: var(--black-color);

}
.navbar .media-icons a{
     color: var(--primary-color);
     font-size: 35px;
     margin:0 6px;

}
nav .sticky .media-icons a{
    color: var(--white-color);
}


/* mobile bar*/
nav .menu-btn, .navbar .menu .cancel-btn{
    position:absolute;
    color: var(--white-color);
    right: 30px;
    top: 20px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
     

}
nav .menu-btn{
    color: var(--primary-color);

}
nav .sticky .menu-btn{
    color: var(--white-color);
}
.navbar .menu .menu-btn{
    color: var(--white-color);
}
  /* background: url("images/aryan.jpg")  no-repeat; */
 .home{
    height: 100vh;
   
    width: 100%;
    background: url("images/aryan.jpg")  no-repeat;
    background-size: 480px;
    background-position: 88% 50%;
    background-attachment: fixed;
    

   
}
.home #particles-js {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }

  .home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }




/* .home .button{
    margin: 14px 0;
}
.home .button button{
    outline: none;
    padding: 8px 7px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 400;
    background-color: var(--primary-color);
    color:var(--white-color);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}
 */
/* .home .button button:hover{
    border-color: var(--primary-color);
    background-color: var(--white-color);
    color: var(--primary-color);
    
} */




.home .home-content{
     width: 90%;
     height:100%;
     margin: auto;
     display: flex;
     flex-direction: column;
     justify-content: center;
      
}

.home .text-one{
    font-size: 55px;
    color:var(--black-color)
}

.home .text-two{
    font-size: 69px;
    color:var(--black-color);
    font-weight: 600;
    margin-left:-3px;

}
.home .text-three{
    font-size: 69px;
    color:var(--black-color);
    font-weight: 600;
    margin-left:-3px;

}

/*About Section*/
section{
    padding-top:40px;
}
section .content{
    width: 80%;
    margin: 40px auto;
    font-family: 'Poppins', sans-serif;

}
section .title{
    display:flex;
    justify-content: center;
    margin-bottom: 40px;

}
section .title span{
    color: var(--black-color);
    font-size: 25px;
    font-weight: bold;
    position: relative;
    padding-bottom: 8px;

}
section .title span::before, section .title span::after{ 
    content: '';  /*underline*/
    position:absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    left:0;
    bottom: 0;
     
}
section .title span::after{
    bottom:-7px;
    width:70%;
    left:50%;
    transform:translateX(-50%);
}
.about .about-details{
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.about .about-details .left{
    width:45%;

}
.about .left img{
    height: 280x;
    width:280px;
    object-fit:cover;
    border-radius: 12px;
}
.about .about-details .right{
    width:55%;
}
section .topic{
    color:var(--black-color);
    font-size: 19px;
    font-weight: 1000;
    margin-bottom: 10px;
}
.about .details .right p{
   text-align: justify;
   color:var(--black-color);
   font-size: 5px;
}
section .button{
    margin:16px 0;
}
#par{
    font-weight: 1000;
}
section .button button{
    outline:none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 400;
    background:var(--primary-color);
    color: var(--white-color);
    border: 2px solid transparent;
    cursor:pointer;
    transition: all 0.4s ease;
}
section .button button:hover{
    border-color: var(--primary-color);
    background-color: var(--white-color);
    color: var(--primary-color);

}

/*My Skills*/
.skills{
    background: #f0f8ff;
}
.skills .content{
    padding:40px 0;
}
.skills .skills-details{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.skills-details .text{
    width:50%;
}
.skills-details p{
    color:var(--black-color);
    text-align: justify;
}
.skills  .skills-details .experience{
    display: flex;
    align-items: center;
    margin:0 10px;
}
.skills-details .experience .num{
    color:var(--black-color);
    font-size: 80px;

}
.skills-details .experience .exp{
    color:var(--black-color);
    margin-left: 20px;
    font-size: 15px;
    font-weight: bold;
    margin: 0 6px;
}
.skills-details .boxes{
    width:45%;
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;

}
.skills-details .box{
    width: calc(100% / 2 - 20px);
    margin:20px 0;
}
.skills-details .boxes .topic{
    font-size:  20px;
    color: var(--primary-color);

}
.skills-details .boxes .per{
    font-size: 50px;
    color:var(--primary-color);
}


.extra .boxes{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}
.extra .boxes .box{
    margin:20px 0;
    width:calc(100% / 2.5 - 20px);
    text-align:center;
    border-radius: 12px;
    padding:30px 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.12);
    cursor:default;
    transition: all 0.4s ease;

}
.extra .boxes .box:hover{
    background: var(--primary-color);
    color:var(--white-color);

}
.extra .boxes .box .icon{
    height:50px;
    width:50px;
    background: var(--primary-color);
    border-radius: 50%;
    text-align:center;
    line-height: 50px;
    font-size:18px;
    color:var(--white-color);
    margin:0 auto 10px auto;
    transition:all 0.4s ease;

}
.boxes .box:hover .icon{
    background: var(--white-color);
    color:var(--primary-color); 
}
.extra .boxes .box:hover .topic, .services.boxes.box:hover p{
    color:var(--white-color);
    transition: all 0.4s ease;

}


 /* Contact Me CSS */
 .contact{
   background: #f0f8ff;
 }
 .contact .content{
   margin:0 auto;
   padding:30px 0;
 }
 .contact .text{
   width:80%;
   text-align: center;
   margin:auto;
 }
 

.contact{
    background: #f0f8ff;
}
.contact .content{
    margin:0 auto;
    padding:30px 0;

}
.contact .text{
    width:80%;
    text-align: center;
    margin: auto;

}


/*Footer*/
footer{
    background: var(--primary-color);
    padding:15px 0;
    text-align: center;
    font-family: 'Poppins',sans-serif;

}
footer .text span{
    font-size: 17px;
    font-weight:400;
    color:var(--white-color);
}
footer .text .span a{
    font-weight: 500;
    color:var(--white-color);
}

/*Up button*/
.scroll-button a{
   position: fixed;
   bottom:20px;
   right:20px;
   color:var(--white-color);
   background-color: var(--primary-color);
   padding:10px 12px;
   font:18px;
   border-radius: 6px;
   box-shadow: rgba(0,0,0,0.15);    
   display:none;
}

.about .button{
    margin: 14px 0;
}
.about .button a{
    color: var(--white-color);
}
.about .button button {
    outline: none;
    padding: 8px 7px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 400;
    background-color: var(--primary-color);
    color:var(--white-color);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

 .about .button button:hover{
    border-color: var(--primary-color);
    background-color: var(--white-color);
    color: var(--primary-color);
 }
 a:hover{
    background-color: var(--white-color);
 }




/*container class*/
.container{
    width:100%;
    height: 100vh;
    background:var(--white-color); 
    display:flex;
    align-items:center;
    justify-content: center;
    margin-top: -109px;

}
form{
    background: var(--white-color);
    display: flex;
    flex-direction: column;
    padding:2vw 4vw;
    width:90%;
    max-width:600px;
    border-radius:10px;    
}
form input, form textarea{
    border:0;
    margin:10px 0;
    padding:20px;
    outline:none;
    background:#f5f5f5;
    font-size:16px;

}
form button{
    outline:none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 400;
    background:var(--primary-color);
    color: var(--white-color);
    border: 2px solid transparent;
    cursor:pointer;
    transition: all 0.4s ease;

}
form button:hover{
    border-color: var(--primary-color);
    background-color: var(--white-color);
    color: var(--primary-color);
}




/*Responsive media query*/
@media(max-width:1190px){
    section .content{
        width:85%;

    }
}
@media(max-width:1000px){
    .about .about-details{
        justify-content: center;
        flex-direction: column;
    }
    .about .about-details .left{
        display:flex;
        justify-content: center;
        width:100%;
    }
   .about .about-details .right{
        width:90%;
        margin: 40px 0;
    }
    .extra.boxes .box{
        margin: 20px 0;
         width:calc(100% / 2 - 20px);
    }
}
@media(max-width:750px){
    nav .navbar{
        width: 90%;
    }
    nav .navbar .menu{
        position:fixed;
        left:-100%;
        top:0;
        background:var(--primary-color);
        height:100vh;
        max-width: 400px;
        width:100%;
        padding-top:60px;
        flex-direction: column;
        align-items: center;
        transition: all 0.5 ease;
    }
   .navbar.active .menu{
    left:0;
   } 
   nav .navbar .menu a{
    font-size:23px;
    display: block;
    color:var(--white-color);
    margin: 10px 0;
   }
   nav.sticky .menu a:hover{
    color:var(--primary-color);
   }
   nav .navbar .media-icons{
    display:none;
   }
   nav .menu-btn, .navbar .menu .cancel-btn{
    display: block;
   }
   .home .text-two{
    font-size:37px;

   }
   .home .text-three{
    font-size:35px;
    
   }
   .home{
    height: 100vh;
   
    width: 100%;
    background: url("images/aryan.jpg")  no-repeat;

    background-size: 245px;
    background-position: 97% 50%;
    background-attachment: fixed;
}

.skills .skills-details{
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.skills-details .text{
     width:100%;
     margin-bottom: 50px;
}
.skills-details .boxes{
    justify-content: center;
    align-items: center;
    width:100%;
}
.extra .boxes .box{
    margin:20px 0;
    width:100%;
}
.contact .text{
    width:100%;

}
.scroll-button a{
    position: fixed;
    bottom:20px;
    right:20px;
    color:var(--white-color);
    background-color: var(--primary-color);
    padding:10px 12px;
    font:18px;
    border-radius: 6px;
    box-shadow: rgba(0,0,0,0.15);    
    display:none;
 }

}
/* @media (max-width:750px){
    nav .navbar{
      width:90%;
    }
    nav .navbar .menu{
      position:fixed;
      left:-100%;
      top:0;
      background:var(--primary-color);
      height:100vh;
      max-width: 400px;
      width:100%;
      padding-top:60px;
      flex-direction: column;
      align-items:center;
      transition: all 0.5s ease;
    }
    .navbar.active .menu{
      left:0;
    }
    nav .navbar .menu a{
      font-size:23px;
      display:block;
      color:var(--white-color);
      margin:10px 0;
    }
    nav.sticky .menu a:hover{
      color:var(--primary-color);
    }
    nav .navbar .media-icons{
      display:none;
    }
    nav .menu-btn,
    .navbar .menu .cancel-btn{
      display:block;
    }
 
    .home .text-two{
      font-size: 65px;
    }
    .home .text-three{
     font-size: 35px;
   }

   .skills .skills-details{
     align-items: center;
     justify-content: center;
     flex-direction: column;
   }
   .skills-details .text{
     width:100%;
     margin-bottom:50px;
   }
   .skills-details .boxes{
     justify-content:center;
     align-items: center;
     width:100%;
   }
 
   .services .boxes .box{
     margin:20px 0; 
     width:100%;
   }
 
   .contact .text{
     width:100%;
   }
 } */

@media(max-width:500px){
    .home .text-two{
        font-size:25px; 
    }
    .home.text-three{
        font-size:22px; 
    }
    .skills-details .boxes .per{
        font-size:50px;
        color:var(--primary-color);

    }
    .home{
        height: 90vh;
       
        width: 100%;
        /* background: url("images/aryan.jpg")  no-repeat; */
        background-size: 245px;
        background-position: 180% 55%;
        background-attachment: fixed;
    }
    .scroll-button a{
        position: fixed;
        bottom:20px;
        right:20px;
        color:var(--white-color);
        background-color: var(--primary-color);
        padding:10px 12px;
        font:18px;
        border-radius: 6px;
        box-shadow: rgba(0,0,0,0.15);    
        display:none;
     }

}
/*media Icons*/
 .media-icons{
    color: var(--primary-color);
    font-size: 35px;
    margin:0 6px;
    margin-top: 350px;
    position: absolute;
}
.home .text-three{
    font-size: 20px;
    margin:5px 0;
    color:var(--primary-color);
  }
  .home .button{
    margin: 14px 0;
    position: absolute;
}
.home .button button{
    outline: none;
    padding: 8px 7px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 400;
    background-color: var(--primary-color);
    color:var(--white-color);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.home .button button:hover{
    border-color: var(--primary-color);
    background-color: var(--white-color);
    color: var(--primary-color);
    
}








