@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body{
    background: #1f242d;
    color: #fff;
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    padding: 20px 5%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;

}

.logo{
    font-size: 25px;
    color: white;
    text-decoration: none ;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

.navbar a{
    display: inline-block;
    font-size: 18px;
    color:white;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;

    animation-delay: calc(.2s * var(--i)) ;
}
.navbar a:hover, 
.navbar a.active{
    color: #0ef;
}

.home{
    position: relative;
    width: 90%;
    height: 80vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 90px 5% 0;
}




.about-home{
    position: relative;
    width: 90%;
    height: 80vh;
   
    justify-content: space-between;
    align-items: center;
    padding: 100px 10% 0;
    max-width: 1000px;
}


.home-content{
    max-width: 800px;
}

.home-content h3{
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;

}



.home-content h3:nth-of-type(2){
    margin-bottom: 30px;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
}

.home-content h3 span{
    color: #0ef;
   
}

.home-content h1{
    opacity: 0;
    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;

}



.home-content p{
    font-size: 16px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.social-media a{
    display:inline-flex ;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    margin: 40px 15px 30px 0;
    transition: .5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
    animation-delay: calc(.2s * var(--i));
}

.social-media a:hover{
    background: #0ef;
    color: #1f242d;
    box-shadow:  0 0 20px #0ef;
}

.btn{
    display: inline-block;
    padding: 12px 28px;
    background: #0ef ;
    border-radius: 40px;
    box-shadow: 0 0 10px #0ef;
    text-decoration: none;
    font-size: 16px;
    color: #1f242d;
    letter-spacing: 1px; 
    font-weight: 600;

    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;

}


.home-image img{
   width: 450px;
margin-right: -40px;

opacity: 0;
animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
animation-delay: 2s, 3s;

}

/* //.about-home */

.about-home p, h2, ul{
    font-size: 16px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}
.about-home h1{
    opacity: 0;
    font-size: 40px;
    font-weight: 700;
    margin: -3px 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;

}


/* skills */


.divtwo{
  flex: 1;
    
}

.divone{
    flex: 1;
}












/* KEYFRAMES ANIMATION */

@keyframes slideRight{
    0%{
        transform: translateX(-100px);
        opacity: 0;
    }

    100%{
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft{
    0%{
        transform: translateX(100px);
        opacity: 0;
    }

    100%{
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideTop{
    0%{
        transform: translateY(100px);
        opacity: 0;
    }

    100%{
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideBottom{
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }

    100%{
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn{
    0%{
        transform: scale(0);
        opacity: 0;
    }

    100%{
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatImage{
    0%{
        transform: translateY(0);
    }

    50%{
        transform: translateY(-24px);
    }
    0%{
        transform: translateY(0);
    }
}





/* portfolio */



.flashcard {
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

img {
    width: 100%;
    height: 300px;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;

}

.description {
    padding: 15px;
}

h2 {
    margin-top: 0;
}

p {
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

.my-porfolio{
    padding-left: 10%;
    padding-top: 30px;
     display: flex;
     opacity: 0;
     animation: slideRight 1s ease forwards;
     animation-delay: 1s;
 
 }
 
 
ul {
    
    padding: 10px;
}


.email {
    margin-left: 10px; /* Adjust the left margin as needed */
}


.contact-details{
    display: flex;

}
.divtw img{
    border-radius: 40px;
    padding: 40px;
    margin-top: -40px;
    opacity: 0;
    width: 450px;
    height: 200px;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;

}

.onemain{
    border: 1px solid;
    margin-top: 30px;
    width: 300px;
    margin-left: -165px;
    padding: 30px;
    padding-right: 30px;
    flex: 1;
    transition: 1s;
    
}

.skills-data{
   

}
.skills-data :hover{
    background-color: rgb(50, 56, 54);

} 


.skills-data{
    padding-left: 40px;
    width: 800px;
    padding-top: 10px;
     display: flex;
     transition: 1s;
     opacity: 0;
     animation: slideRight 1s ease forwards;
     animation-delay: 1s;
     margin-left: 15%;
     
 
 }
 

.twomain{
    border: 1px solid;
    margin-top: 30px;
    width: 300px;
   
    padding: 30px;
    padding-right: 30px;
    flex: 1;
    transition: 1s;
    
}

.arrea{
    width: auto;
    border: 3px solid;
    padding: 5px;
}
.line{
    width: 350px;
    background-color: red;
    height: 5px;
    padding: 5px;
    transition: 1s;
    
}
 
.line:hover{
    background-color: #0ef;
}

.line1:hover{
    background-color: #0ef;
}
.line2:hover{
    background-color: #0ef;
}
.line3:hover{
    background-color: #0ef;
}




.arrea1{
    width: auto;
    border: 3px solid;
    padding: 5px;
}
.line1{
    width: 370px;
    background-color: red;
    height: 5px;
    padding: 5px;
    transition: 1s;
    
}

.arrea2{
    width: auto;
    border: 3px solid;
    padding: 5px;
}
.line2{
    width: 320px;
    background-color: red;
    height: 5px;
    padding: 5px;
    transition: 1s;
    
}

.arrea3{
    width: auto;
    border: 3px solid;
    padding: 5px;
}
.line3{
    width: 300px;
    background-color: red;
    height: 5px;
    padding: 5px;
    transition: 0.5s;
    
}


#Codingskills{
    font-size: 30px;
}


#persontage{
    position:absolute;
    margin-top: -23px;
    margin-left: 380px;
}