@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&family=Ubuntu:wght@300;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&family=Roboto:wght@500&family=Ubuntu:wght@300;500;700&display=swap');
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
    scroll-behavior: smooth;
}
body{
    background-color: #1f1f38;
    color: white;
}
.container{
    max-width: 1200px;
    margin: auto;
}





/* navbar section */
.nav-bar{
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #1f1f38;
    border-bottom: .5px solid #ffffff52;
    line-height: 5rem;
    display: flex;
    justify-content: space-around;
}
.right-nav{
    display: flex;
    list-style: none;
}
.name{
    font-size: 2.2rem;
}
.name:hover{
    animation: shake 1.5s ease;
}
.nav-bar li a{
    padding: 0.7rem;
    text-decoration: none;
    color: white;
    font-size: 1.4rem;
}
.nav-bar li a:hover{
    background-color: white;
    color: #1f1f38;
    border-radius: 10px;
    transition: all ease-out;
    transition-duration: 0.4s;
}
#check{
    display: none;
}
.checkbtn{
    display: none;
}





/* hero section */
.hero{
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.left-side{
    width: 65%;
    padding: 20px;
}
.left-side h1, h5, h3{
    margin: 10px;
    letter-spacing:  5px;
}
.left-side h1{
    font-size: 4rem;
}
.left-side h5,h3{
    font-size: 1.5rem;
    color: #65656d;
}

.heroimg{
    position: relative;
    width: 300px;
    margin-top: 70px;
    border-radius: 50%;
    margin-left: 60px;
    border: 10px solid #2e2e83;
    animation: borderchange 5s ease infinite;
}

.heroimg:hover{
    animation: borderchange 5s ease infinite;
    animation: bounce 2s ease infinite;
}
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-70px);}
	60% {transform: translateY(-15px);}
}
@keyframes borderchange {
    0%{
        border: 10px solid skyblue;
        
    }
    25%{
        border: 10px solid lightgreen;
        
    }
    50%{
        border: 10px solid orange;
    }
    100%{
        border: 10px solid orangered;
    }
}
.buttons{
    display: inline;
}
.btn{
    width: 100px;
    height: 50px;
    border-radius: 0.7rem;
    margin: 10px;
    background: transparent;
    color: white;
    border-color: skyblue;
}
.button2{
    background-color: skyblue;
    color:#1f1f38;
}
.button1:hover{
    background-color: skyblue;
    color: #1f1f38;
    transition: all ease-out;
    transition-duration: 0.5s;
}
.button2:hover{
    background: transparent;
    border-color: skyblue;
    color: white;
}





/* About Me */
.title{
    text-align: center;
    font-size: 1.7rem;
    margin: 40px;
}
.about-container img{
    width: 450px;
    height: 550px;
    margin: 30px;
    border-radius: 50px;
    border: 10px solid #2e2e83;
    animation: borderchange 5s ease infinite;
}
.about-content{
    width: 650px;
    border-radius: 50px;
    padding: 30px;
    background-color: #2e2e83;
    margin: 30px auto;
}
.about-content>*{
    margin: 20px;
}
.about-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.about-container h1{
    font-size: 2rem;
}
.about-container p{
    font-size: 1.3rem;
    font-family: poppins;
}





/* skills section */
.skills-container{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
   
}
.skills-right img{
    width: 380px;
    position: relative;
    
}
.skills-right img:hover {
    animation: shake 1.5s ease;
}
@keyframes shake {
    30% { transform: scale(1.2); }
    40%, 60% { transform: rotate(-20deg) scale(1.2); }
    50% { transform: rotate(20deg) scale(1.2); }
    70% { transform: rotate(0deg) scale(1.2); }
    100% { transform: scale(1); }
}  
.skills-left{
    width: 600px;
    border-radius: 50px;
    padding: 30px;
}
.skills-left .bar{
    margin: 30px 0;
}
.skills-left .bar:first-child{
    margin-top:0;
}

.skills-left .bar .progress-line{
    position: relative;
    height: 10px;
    width: 100%;
    background: #c8c7c7;
    border-radius: 10px;
    
}

.bar .progress-line span{
    height: 100%;
    width: 80%;
    background: skyblue;
    position: absolute;
    border-radius: 10px;
    transform: scaleX(0);
    animation:1s forwards;
    transform-origin:left;
    animation-name: animate;
}
@keyframes animate {
    100%{
        transform: scaleX(1);
    }
}
.bar .progress-line span::before{
    position: absolute;
    content: "";
    height: 0;
    right: 0;
    width: 0;
    top:-10px;
    border: 7px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-top-color: white;
}

.bar .progress-line span::after{
    position: absolute;
    content: "10%";
    width: 40px;
    right: 0;
    top:-28px;
    background: white;
    color: black;
    border-radius: 10px;
    padding:2px;
}

.bar .progress-line.python span{
    width: 90%;
}
.bar .progress-line.c span{
    width: 50%;
}
.bar .progress-line.sql span{
    width: 80%;
}
.bar .progress-line.mongodb span{
    width: 70%;
}.bar .progress-line.web span{
    width: 70%;
}
.bar .progress-line.iot span{
    width: 70%;
}



.bar .progress-line.python span::after{
    content: "90%";
}
.bar .progress-line.c span::after{
    content: "50%";
}
.bar .progress-line.sql span::after{
    content: "80%";
}
.bar .progress-line.mongodb span::after{
    content: "70%";
}
.bar .progress-line.web span::after{
    content: "70%";
}
.bar .progress-line.iot span::after{
    content: "70%";
}





/* Projects Section */
.all-projects{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.project{
    width: 20rem;
    background-color: #2e2e83;
    border-radius: 50px;
    margin: 1rem 1rem 1rem 1rem;
}
.project h1{
    text-align: center;
    margin: 1rem;
}
.project img{
    width: 100%;
    height: 45%;
    border-radius: 50px;
}
.project p{
    text-align:center;
    font-family: poppins;
    font-size: 0.8rem;
    margin: 10px;
}
.project-buttons{
    display: flex;
    justify-content: center;
    bottom: 0;

}





/* contact section*/
.form{
    max-width: 350px;
    margin: 0 auto;
    padding: 10px;
}
.form input{
    width: 100%;
    height: 40px;
    background: transparent;
    color: #868693;
    border-radius: 10px;
    border:5px solid #2f537d;
    padding: 5px;
}
textarea{
    width: 100%;
    background: transparent;
    color: #868693;
    border-radius: 10px;
    border:5px solid #2f537d;
    padding: 5px;
}
form > *{
    margin: 15px 0;
}

.formbtn{
    width: 100%;
    border:5px solid #2f537d;
    margin: 0;
}





/* footer  section*/
.footer{
    width: 100%;
    height: 200px;
    background-color:#2e2e83;
}
.footer-nav{
    display: flex;
    justify-content: center;
    gap: 20px;
}
.footer-nav li a{
    text-decoration: none;
    color: white;
    font-family: poppins;
    
}
.footer-nav li{
    list-style: none;
    margin-top: 20px;
}
.footer h2{
    text-align: center;
    font-family: poppins;
    margin-top: 20px;
}
.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    list-style: none;
    font-size: 2rem;
}
.social-media li i{
    background-color: white;
    margin: 1.5rem 1.5rem 0;
    
}
.linkedin{
    padding: 5px;
    color: #0077b5;
    border-radius: 10px;
}
.github{
    padding: 5px;
    color: black;
    border-radius: 10px;
}
.instagram{
    background:radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);;
    padding: 5px;
    color: white;
    border-radius: 10px;
}
.gmail{
    padding: 4px;
    color: black;
    border-radius: 10px;
}


/* scroll-top */
#scroll-top {
    background-color: #4db5ff;
    color: #151527;
    padding: 9px;
    border-radius: 9px;
    width: 35px;
    height: 35px;
    position: fixed;
    bottom: 1rem;
    right: 4%;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2000;
}





