* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;


}

header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 3rem;
    z-index: 1000;
}

.logotop {
    color: wheat;
    font-size: 1.3rem;
    font-weight: 600;
    text-wrap: nowrap;
    transition: 0.3s ease-in-out;

}

.logotop:hover {
    transform: scale(1.1);

}

.navlink {
    display: flex;
    gap: 2rem;

}

li a {
    position: relative;
    color: white;
    font-weight: 300;
}

li a::before {
    position: absolute;
    content: '';
    width: 0;
    left: 0;
    height: 5px;
    top: 25px;
    border-radius: 1rem;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgb(0, 255, 153), rgb(153, 51, 255))
}

li a:hover::before {
    width: 100%;
}

.vsitgithub {
    padding: 0.8rem 1.5rem;
    border-radius: 3rem;
    border: none;
    font-weight: 500;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    text-wrap: nowrap;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to left, rgb(0, 255, 153), rgb(153, 51, 255));

}

.vsitgithub:hover {
    background: linear-gradient(to left, rgb(72, 209, 204), rgb(255, 127, 80));
    transform: scale(1.05);
}

#menuicon {
    font-size: 2rem;
    display: none;
}

section {
    min-height: 100vh;
    padding: 8rem 12%;
    width: 100%;
    position: relative;
}

.about {
    display: flex;
    align-items: center;
    justify-content: center;

}

.aboutcontain {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;

}

.about img {
    width: 25vw;
    border-radius: 50%;
}

.inform {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.inform h3 {
    font-size: 1.8rem;
    font-weight: 500;
    opacity: 0.8;
}

.inform h1 {
    font-size: 3.1rem;
    font-weight: 600;
}

.inform span {
    background: linear-gradient(to left, rgb(255, 140, 0), rgb(255, 20, 147));
    background-clip: text;
    color: transparent;
    font-size: 2rem;




}

.butngrp {
    display: flex;
    gap: 1rem;
}

.bt {
    border-radius: 3rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid black;
    font-weight: 500;
    text-wrap: nowrap;
    transition: 0.2s ease-in-out;
    cursor: pointer;

}

.bt:hover {
    transform: scale(1.1);
    background: linear-gradient(to right, rgb(255, 140, 0), rgb(255, 20, 147));
    color: white;
}

.socilaid {
    display: flex;
    gap: 2rem;
}

.socilaid i {
    font-size: 2rem;
    cursor: pointer;
    transition: 0.2 ease-in-out;

}

.socilaid i:hover {
    transform: scale(1.1);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.expinfom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.expinfom img {
    width: 24vw;
    border-radius: 3rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.gridcard {
    border: 2px solid black;
    border-radius: 3rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: left;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.gridcard:hover {
    transform: scale(1.06);
    background-color: black;
    color: wheat;
}

.gridcard i {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;

}

.gridcard span {
    font-size: 1.5rem;
    font-weight: 500;
    background: linear-gradient(to left, rgba(19, 26, 232, 0.866), rgb(234, 41, 16));
    background-clip: text;
    color: transparent;


}

.gapspan {
    margin-bottom: 1.9rem;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: linear-gradient(300deg, #00bfff, #ff4c68, #ef8172);
}

.projgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
    gap: 1.1rem;
}

.projcards {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    border: 2px solid black;
    border-radius: 3rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.projcards:hover {
    background-color: black;
    color: wheat;
    transform: translateY(-10px)scale(1.02);

}

.projcards img {
    width: 20vw;
    height: 26vh;
    border-radius: 0.8rem;
}

.projcards:hover .bt {
    border: 2px solid antiquewhite;
    background-color: white;
    color: black;


}

.projcards h3 {
    font-size: 2rem;
    font-weight: 600;

}

.input-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    margin-top: 5rem;
}

.input-box input {
    border-radius: 3rem;
    border: 2px solid black;
    padding: 2rem 8rem;
    font-size: 2rem;

}

.input-box input::placeholder {
    font-size: 2.25rem;

}

.input {
    position: relative;

}

.input i {
    position: absolute;
    font-size: 4rem;
    top: 50%;
    left: 10px;
    transform: translate(50%, -50%);

}

footer {
    bottom: 0;
    left: 0;
    height: 10rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;

}

footer ul {
    display: flex;
    align-items: center;
    gap: 3rem;

}

footer ul li a {
    color: black;
    font-weight: 600;
}

.copyright {
    font-weight: 300;
    margin-top: 2rem;
}

@media(max-width:1280px) {

    header {
        padding: 2rem 2rem;
        gap: 2rem;
    }

    .grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .about .aboutcontain {
        gap: 4rem;

    }

    .expinfom {
        flex-direction: column;
    }

    .input-box .input {
        font-size: 2.5rem;
    }

    .input input::placeholder {
        font-size: 2rem;
    }

    .input-box i {
        font-size: 3.5rem;
    }
}

@media(max-width:768px) {
    header {
        padding: 1rem 1rem;
        gap: 1rem;
    }

    header .logotop {
        font-size: 1rem;
    }

    header .vsitgithub {
        display: none;
    }

    .aboutcontain{
        flex-direction: column;
    }

    .input-box input {
        padding: 1rem 2rem;
        font-size: 1.8rem;
    }

    .input-box input::placeholder {
        font-size: 1.5rem;
    }
    .input-box i {
        display: none;
    }

    .grid{
        grid-template-columns: repeat(1,1fr);
    }
    .projcards img{
        width: 70vw;
    }
}

@media(max-width:600px){
    header #menuicon{
        display: block;
    }

    .navlink{
        position: absolute;
        top: 100%;
        margin-top: 1rem;
        width: 100%;
        padding: 1rem;
        color: white;
        display: flex;
        flex-direction: column;
        text-align: center;
        background:rgba(0, 0, 0, 0.9);
        border-radius: 3rem;
        display: none;


    }
    .navlink li{
        margin-top: 1.5rem;
        padding: 1rem;
    }
    .navlink.active{
        display: block;
    }

    header{
        padding: 1.5rem 5rem;
        gap: 5rem;
    }

    header .logotop{
        font-size: 1.5rem;
    }

    .aboutcontain img{
        width: 40vh;
    }

    .input-box input{
        padding: 0.5rem 3rem;
        width: 80%;
        font-size: 1.5rem;
    }
    .input-box input::placeholder{
        font-size: 1.1rem;


    }
    footer ul{
        gap: 1rem;
    }
    

}