@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");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;

    text-decoration: none;
}

:root {
    --text-color: #f5f5f5;
    --hover-color: #db1ee9;
    --bg-color: #121426;
    --secon-bg-color: #292e33;

    --aboutme-bg-color: black;
    --big-font: 2.5rem;
    --norma-font: 2rem;
    --neon-box-shadow: 0 0 10px rgb(125, 17, 145), 0 0 20px rgb(125, 10, 92),
        0 0 30px rgb(125, 27, 95);
    --h2-font: 3rem;
    --font-neon-text-shadow: 0 0 10px rgba(18, 247, 255, 0.3),
        0 0 20px rgba(18, 247, 255, 0.3), 0 0 30px rgba(18, 247, 255, 0.3),
        0 0 40px rgba(18, 247, 255, 0.3), 0 0 70px rgba(18, 247, 255, 0.3),
        0 0 80px rgba(18, 247, 255, 0.3), 0 0 100px rgba(18, 247, 255, 0.3),
        0 0 150px rgba(18, 247, 255, 0.3);
}


::-webkit-scrollbar{
    height: 0;
    width: .5rem;

}

::-webkit-scrollbar-track{
    background: var(--aboutme-bg-color);

}

::-webkit-scrollbar-thumb{
    background: var(--hover-color);
    border-radius: 5rem;
}




body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom : 1px solid var(--aboutme-bg-color) ;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 5%;
    
}



  



 header .sticky{
    background: var(--bg-color);
    border-bottom: 1px solid var(--aboutme-bg-color) ;
    padding: 12px 5%;


} 



.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 20px 10%;
}

span {
    color: var(--hover-color);
}

.navlist {
    display: flex;
    padding: 20px 10%;
   
}

.navlist .sticky{
    padding:12px 5% ;
}
.navlist a {
    display: inline-block;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 20px;
    animation: slideAnimation 1s ease forwards;
    animation-delay: calc(.3s * var(--i));
    opacity: 0;
}

.navlist a:hover {
    color: var(--hover-color);
    transition: 0.5s;
    text-shadow: 0 0 10px rgb(125, 17, 145), 0 0 20px rgb(125, 10, 92),
        0 0 30px rgb(125, 27, 95), 0 0 40px rgb(125, 27, 95),
        0 0 70px rgb(125, 27, 95), 0 0 80px rgb(125, 27, 95),
        0 0 100px rgb(125, 27, 95), 0 0 150px rgb(125, 27, 95);
}

.navlist a.active{
    color: var(--hover-color);
}



#menu-icon {
    font-size: 1.8rem;
    z-index: 10001;
    cursor: pointer;
    margin-left: 25px;
    background-color: var(--hover-color);
    border-radius: 3px;
    color: var(--aboutme-bg-color);
    display: none;
}

section {
    padding: 100px 10%;
}

.home {
    min-height: 100vh;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 4em;
}

.home-content {
    max-width: 600px;
}

.home-content h1 {
    font-size: var(--big-font);
    font-weight: 700;
}

.change-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.change-text h3 {
    display: inline-flex;
    margin: 0;
    vertical-align: top;
}

.change-text h3 .word {
    position: absolute;
    display: flex;
    opacity: 0;
}

.change-text h3 .word .letter {
    transform-origin: center center 25px;
}

.change-text h3 .word .letter.out {
    transform: rotateX(90deg);
    transition: 0.32s cubic-bezier(0.6, 0, 0, 7, 0.2);
}

.change-text h3 .word .letter.in {
    transition: 0.38s ease;
}

.change-text h3 .word .letter.behind {
    transform: rotateX(-90deg);
}

.home-content p {
    color: #bdbdbd;
    line-height: 1.6;
}

.info-box {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 300px;
    margin: 1rem 0 2rem;
}

.info-box h5 {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1 rem;
}

.info-box span {
    font-size: 0.9rem;
    color: #bdbdbd;
}

.btn-box {
    display: flex;
    justify-content: space-between;
    width: 320px;
    height: 45px;
}

a.btn:hover {
    color: var(--hover-color);
}

.btn-box .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: var(--hover-color);
    font-size: 1rem;
    color: var(--text-color);
    letter-spacing: 1px;
    transition: 0.6s;
    font-weight: 600;
    box-shadow: var(--neon-box-shadow);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--hover-color);
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: 0.4s;
}

.btn:hover::before {
    width: 100%;
}

.btn:nth-child(2) {
    background: var(--bg-color);
    color: var(--hover-color);
}

.btn:nth-child(2):hover {
    color: var(--bg-color);
}

.btn:nth-child(2):before {
    background: var(--hover-color);
}

.social-icon {
    margin-top: 8rem;
    display: flex;
    justify-content: space-between;
    width: 220px;
    height: 40px;
}

.social-icon a {
    display: inline-flex;
    width: 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    color: var(--hover-color);
    border: 2px solid var(--hover-color);
    transition: 0.6s;
    box-shadow: 0 0 0.3rem #db1ee9;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin: 3px;
}

.social-icon a i {
    font-size: 1.5rem;
}

.social-icon a:hover {
    color: var(--bg-color);
}

.social-icon a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--hover-color);
    transition: 0.6s;
    z-index: -1;
}

.social-icon a:hover::before {
    width: 100%;
}

.home-image {
    position: relative;
}

.img-box {
    text-align: center;
    height: 200px;
    width: 300px;
   
}

.img-box img {
    margin-left: 5rem;
    margin-top: -110px;
    border-radius: 50%;
    border: 2px solid var(--hover-color);
    padding: 10px;
    background-color:var(--bg-color);

   
}
   


.liquid-shape {
    position: absolute;
    width: 475px;
    height: 475px;
    z-index: -1;
    margin-top: -350px;
    margin-left: 50px;
    margin-right: auto;
    
 

}


.liquid-shape:nth-child(2) {
    filter: blur(50px);
}

/*About Section css ................................... */

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 1rem;
    background: var(--aboutme-bg-color);
}

.about .img-about {
    text-align: center;
    position: relative;
}

.about .img-about img {
    max-width: 700px;
    height: auto;
  

}

.about-content span {
    color: #fdfdfd;
    font-size: 0.8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
    
}

.about-content h2 {
    font-size: var(--norma-font);
    font-weight: 700;
    color: var(--hover-color);
}

.about-content p {
    color:#bdbdbd;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.info-about1,
.info-about2,
.info-about3 {
    background: var(--bg-color);
    font-size: 0.8rem;
    position: absolute;
    padding: 10px;
    width: 90px;
    height: 90px;
    border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;
    display: block;
    box-shadow: var(--neon-box-shadow);
    border: 1px solid var(--hover-color);
    outline: 2px solid var(--bg-color);
    z-index: 100;
    animation: morph 6s linear infinite;
}

.info-about1 {
    left: 10%;
    top: 34%;
}

.info-about2 {
    left: 66%;
    top: 15%;
}

.info-about3 {
    left: 61%;
    top: 70%;
}

.img-about span {
    color: var(--hover-color);
    font-size: 1rem;
    font-weight: 600;
}

/* services section css...................................... */

.main-text {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--hover-color);
}

.main-text h2 {
    font-weight: 700;
    font-size: var(--norma-font);
}

.main-text span {
    color: #fdfdfd;
    font-size: 0.8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-services {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 2rem;
}

.section-services .service-box {
    flex: 1 1 18rem;
    padding: 2rem 1rem 2rem;
    text-align: center;
    background-color: var(--aboutme-bg-color);
    transition: transform 0.4s;
    border-radius: 10px;
}

.service-btn {
    width: auto;
    justify-content: center;
}

.service-box:hover {
    transform: translateY(-0.7rem);
}

.service-icon {
    border: 2px solid var(--hover-color);
    padding: 2rem;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    font-size: 4rem;
    border-radius: 50%;
    position: relative;
    color: var(--hover-color);
    box-shadow: var(--neon-box-shadow);
    outline: 3px solid var(--bg-color);
}

.service-box h3 {
    margin-top: 10px;
    font-size: 1.5rem;
}

.service-box p {
    margin: 0.5rem 0 1.5rem 0;
    font-weight: 300;
    letter-spacing: 1px;
    color: #bdbdbd;
    line-height: 1.6;
}

/* skills section css ....................... */

.skills {
    background: var(--aboutme-bg-color);
    
}

.skill-main {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 30px;
    grid-column-gap: 50px;
}

.skill-bar {
    margin-bottom: 2.3rem;
}

.skill-main h3 {
    margin-bottom: 2rem;
    font-size: var(--norma-font);
}

.skill-left .skill-bar .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.skill-left .skill-bar .bar {
    width: 100%;
    height: 10px;
    background-color: var(--bg-color);
    border-radius: 25px;
    margin-top: 10px;
    position: relative;
}

.skill-bar .bar span {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    background: var(--hover-color);
    border-radius: 25px;
    box-shadow: var(--neon-box-shadow);
}

.skill-bar .bar .html {
    width: 84%;
    animation: html 3s;
}

.skill-bar .bar .figma {
    width: 92%;
    animation: figma 4s;
}

.skill-bar .bar .javascript {
    width: 71%;
    animation: javascript 3s;
}

.skill-bar .bar .css {
    width: 79%;
    animation: css 3s;
}

/* skill right */

.professional {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.box {
    margin: 10px 0;
    flex: 1 1 15rem;
    position: relative;
}

.box .text {
    text-align: center;
    color: #fff;
    font-size: 1rem;
}

.box .text big {
    font: 400;
    letter-spacing: 1px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.box .text small {
    display: block;
    font-weight: 600;
}

.circle {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle .points {
    width: 2px;
    height: 10px;
    background-color: var(--bg-color);
    position: absolute;
    border-radius: 3px;
    transform: rotate(calc(var(--i) * var(--rot))) translateY(-45px);
}

.points.marked {
    animation: glow 0.04s linear forwards;
    animation-delay: calc(var(--i) * 0.05s);
}

/* Portfolio section css ............................... */

.fillter-buttons {
    margin: 2rem;
    text-align: center;
}

.fillter-buttons .btn {
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-left: 1.3rem;
    color: var(--text-color);
}

.fillter-buttons .btn:hover {
    color: var(--hover-color);
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.port-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background-color: #292e33;
    display: flex;
    grid-template-rows: 1fr auto;
    align-items: center;
    border: 2px solid var(--hover-color);
    box-shadow: var(--neon-box-shadow);
}

.port-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.port-image img {
    width: 100%;
    opacity: 0.5s;
    height: 100%;
    transition: 0.5s;
}

.port-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), var(--hover-color));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    transition: 0.5s;
    padding: 0 2rem;
}

.port-box:hover .port-content {
    opacity: 1;
}

.port-box:hover .port-image img {
    transform: scale(1.1);
}

.port-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.port-content p {
    font-size: 0.8rem;
    margin: 5px 0 15px 0;
}

.port-content a {
    background-color: #fff;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--hover-color);
    outline: 2px solid #fff;
}

.port-content a i {
    font-size: 1.3rem;
    color: var(--secon-bg-color);
}

/*Contact section css............................... */

.contant {
    background-color: var(--aboutme-bg-color);
    width: 100%;
}

.contant form {
    text-align: center;
    max-width: 50rem;
    margin: 1rem auto;
    margin-bottom: 3rem;
}

.contant form input,
.contant form textarea {
    width: 100%;
    color: var(--text-color);
    background: var(--bg-color);
    margin-bottom: 0.8rem;
    border: none;
    border-radius: 5px;
    padding: 0.7rem;
}

.contant form textarea {
    resize: none;
}

.formBtn {
    display: flex;
    width: 100%;
    justify-content: center;
}

.formBtn .btn {
    cursor: pointer;
    font-size: 1rem;
}

/* footer css ................. */

footer {
    padding: 1.5rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer p{
    color: #bdbdbd;
   
}

footer a{
    display: inline-flex;
    justify-content: center;
    color: var(--text-color);
    background: var(--hover-color);
    padding: .6rem;
    border-radius: 8px;
   
}


footer a i {
    font-size: 1rem;
    color: var(--secon-bg-color);

}




/* parallax ................................................ */

.scroll-scale{
    opacity: 0;
    transform: scale(.9);
    transition: all 2s;

}

.scroll-bottom{
    opacity: 0;
    transform: translateY(-300px);
    transition: 3s;


}

.scroll-top{
    opacity: 0;
    transform: translateY(-300px);
    transition: 3s;


}

.show-items{
    opacity: 1;
    transform: translateX(0);
}







/* keyframes-------------------------------------------------- */

@keyframes morph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    }

    30% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    60% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }

    80% {
        border-radius: 69% 31% 66% 34% / 21% 30% 70% 70%;
    }
}

@keyframes html {
    0% {
        width: 0%;
    }

    100% {
        width: 84%;
    }
}

@keyframes figma {
    0% {
        width: 0%;
    }

    100% {
        width: 92%;
    }
}

@keyframes javascript {
    0% {
        width: 0%;
    }

    100% {
        width: 71%;
    }
}

@keyframes css {
    0% {
        width: 0%;
    }

    100% {
        width: 79%;
    }
}

@keyframes glow {
    0% {
        background: var(--bg-color);
        box-shadow: none;
    }

    100% {
        background: var(--hover-color);
        box-shadow: var(--neon-box-shadow);
    }
}

@keyframes  slideAnimation{
    0%{
        opacity: 0;
        transform: translateY(100px);
    }

    100%{
        opacity: 1;
        transform: translateY(0px);
    }
    
}



/* Break points.................................................. this is not right */

/* 
@media only screen and (max-width: 839px){
    body{
        font-size: 16px;
       
        width: 100%;
    }

    


    
    .img-box{
        height: 200px;
        width: 200px;
    }

    .img-box img {

        
        border-radius: 50%;
        max-width: 200px;
        height: auto;
        align-items: end;
    
    }



}



@media only screen and (mix-width: 1025px){

        .about-content span,
        .about-content h2,
        .about-content h3,
        .about-content p{
            
        
            margin-left: -2rem;
        }


} */



/* Break points and media queries for other devices................................ this is all right*/


@media(max-width:1045px){
    header,
    header.sticky{
        padding: 15px 5%;

    }

    section{
        padding: 50px 5%
    }

    .img-box img{
        margin-left: -30px;
        height: 300px;
        width: 300px;
    }

    .liquid-shape{
        margin-left: -30px;
        height: 350px;
        width: 350px;
        margin-top: -320px;

    }

    .about-content{
        margin-left: -60px;
    }
    .navlist a{
        padding: 8px 15px;
    }

    .home-content{
        margin-top: 5rem;

    }

    .social-icon{
        margin-top: 2rem;

    }

}


@media(max-width: 983px){

    .about-content{
        margin-left: -100px;
    }

    :root{

        --big-font: 2.2rem;
    --norma-font: 1.8rem;
    --neon-box-shadow: 0 0 5px rgb(125, 17, 145), 0 0 10px rgb(125, 10, 92),
        0 0 20px rgb(125, 27, 95);
    --h2-font: 3rem;

    }


}


@media(max-width:933px){
    .img-about{
        margin-left: -30px;
    }

    .about-content{
        margin-left: -130px;
    }
    .img-about img{
        margin-left: -40px;
        height: 700px;
        width: auto;
    }

    .navlist {
        margin-left: -70px;
    }

    .logo{
        margin-left: -30px;
    }


}








@media(max-width: 768px){
    
#menu-icon {
        display: block;
        transition: all .4s ease;
        

    }

    #menu-icon .bx-x{
       transform: rotate(-180deg);
    }



    .navlist{
        display: flex;
        position: absolute;
        top: -1000px;
        right: 0;
        left: 0;
        flex-direction: column;
        text-align: left;
        padding: 0 5%;
        transition: all .45s ease ;
        background: var(--aboutme-bg-color);

    }

    .navlist a {
        display: block;
        padding-bottom:1rem;
        font-size: 1rem;
        margin-left: 5rem;
        


    }

    .navlist.open{
        top: 100%;


    }


    .home{
        grid-template-columns: 1fr;
    }
    .home-image{
        margin-bottom: 4rem;
        margin-top: -25rem;
    }

    .social-icon{
        margin-top: 22rem;
        margin-left: 20px;
        }

        .about{
            flex-direction: column-reverse;
        }

        .about-content{
            margin-left: 1.5rem;
        }

        .about .img-about img {
            max-width: 500px;
            height: auto;
          
        
        }

        .skill-main{
            grid-template-columns: 1fr;

        }

        .fillter-buttons{
            margin: 2.5rem 0%;
        }
        
        .portfolio-gallery{
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        }

        @media(max-width:420px){
            .html{
                font-size: 80%;

            }

            footer p{
                font: .6rem;
            }

            .fillter-buttons .btn{
                font-size: .8rem;
            }

           .img-about img{
            max-width: 100%;
            height: auto;
            width: 400px;
            margin-left: 10px;
           }

           .info-about1{
            left: 15%;
           }
           .img-about p{
            font-size: .7rem;
           }

           .home-content{
           
           }
           .logo{
            padding: 10px 8%;
           }
           .navlist{
            padding: 10px 5%;
           }

        }

        @media(max-width:400px){
            .home-content h1{
                font-weight: 700;
                font-size: 2rem;
            } 

            .home-content h3{
                font-weight: 600;
                font-size: 1.5rem;
            }
            .fillter-buttons{
                margin: 2rem 0%;
            }
            .fillter-buttons .btn{
                font-size: .6rem;
            }
        }


        @media(max-width:378px){

            img-box img{
                margin-left: -30px;
                height: 200px;
                width: 200px;
            }
        
            .liquid-shape{
                margin-left: -30px;
                height: 300px;
                width: 300px;
                
        
            }
            .fillter-buttons{
                margin: 1.5rem 0%;
            }
            .fillter-buttons .btn{
                font-size: .5rem;

            }

           

        }

}