*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;
}
li a::before {
    position: absolute;
    content: '';
    width: 0;
    left: 0;
    height: 5px;
    top:25px;
    border-radius: 1rem;
    transition: 0.3s ease-in-out;
    background: #0759b6e4;
}

li a:hover:before {
    width: 100%;
}
li a:hover{
    color: #0759b6e4;
}
#menu-icon{
    font-size: 2rem;
    display: none;
    padding: 5px;
    border-radius: 5px;
}
#menu-icon:hover {
  background-color: #efefef;
}
li a{
    position: relative;
}
section{
    min-height: 100vh;
    padding: 8rem 12%;
    width: 100%;
}
.about-container{
        animation: appearY 1.6s ease-in-out forwards;
}
@keyframes appearY {
    0% {
        opacity: 0;
        transform: translateY(-100px);

    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
@keyframes appearXL {
    0% {
        opacity: 0;
        transform: translateX(100px);

    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}
@keyframes appearX {
    0% {
        opacity: 0;
        transform: translateX(-100px);

    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}
.about-img{
    width: 30vw;
    border-radius:100%;
    background-color:#0759b6e4;
    
}
.skill-text{
    color: rgba(0, 0, 0, 0.639);
    font-size: 1.3rem;
   font-family: monospace;
    margin-inline:auto;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid;
    max-width: fit-content;
    animation:typing 4s steps(23) forwards, blink 1s step-end infinite;
}
@keyframes typing{
    from{
        width: 0%;
    }
    to{
        width: 100%;
    }
}
@keyframes blink{
    50%{
        border-color:transparent ;
    }
}
.btn{
    box-shadow: 3px 3px 10px #cccccc;
    border-radius: 3rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid black;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}
.btn:hover{
    background-color: black;
    color: white;
}
.fa-brands{
    font-size: 2.5rem;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    border:none;
    box-shadow: 3px 3px 10px #b9b9b9;
    padding: 6px;
    border-radius: 10px;
   
}
.skill{
  
    transition: 0.3s ease-in-out;
}
.skill:hover{
    transform: scale(1.3);  
}
.fa-brands:hover{
    transform: scale(1.2);
}
.fa-github:hover {
    color: white;
    background-color: black;
}
 .fa-linkedin-in:hover {
     color: white;
     background-color: #0077B5;
 }
.cert{
    transition: 0.3s ease-in-out;
    box-shadow: 3px 3px 10px #b9b9b9;
}
.grid-card{
    animation: appearXL 1.6s ease-in-out forwards;
    box-shadow: 3px 3px 10px #cccccc;
    border: 2px solid black;
    border-radius: 2rem;
    padding: 1.5rem;
   
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: left;
    cursor: pointer;
    transition: 0.2s ease-in-out;

}
.grid-card:hover{
 
    .cert{
        transform: scale(1.1);
    }
}
.grid-card i{
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0759b6e4;
}
.project-card{
 
    box-shadow: 3px 3px 10px #cccccc;
    padding:1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    border: 2px solid black;
    border-radius: 2rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    animation: appearX 1.6s ease-in-out forwards;
}
.project-img{
    transition: 0.3s ease-in-out;
}
.project-card:hover{
    .project-img{
transform: translateY(-10px) scale(1.02);
    }
   
}
.project-card img{
    box-shadow: 3px 3px 10px #b9b9b9;
    width: 50vw;
    height: 100%;
    border-radius: 1rem;

}
.project-card h3{
    font-size: 2rem;
    font-weight: 500;
}
.contact{
    animation: appearY 1.6s ease-in-out forwards;
}
footer ul li a{
    color: black;
    font-weight: 600;
}
.nav-links{
    display: flex;
    gap: 2rem;
}
@media (max-width: 640px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: transparent;
        text-align: left;
        width: 40%;
        position: absolute;
        top: 100%;
        left: 60%;
        font-weight: bold;
        color: #1f2937;
        border-radius: 1rem;
        gap:0;
    }

    .nav-links.active {
        display: flex;
    }

    #menu-icon {
        display: block;
        cursor: pointer;
    }

    .about-img {
        width: 80vw;
    }

    .nav-links li {
        margin-top: 1rem;
        padding: 1rem;
    }
}
