@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;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: #12f7ff;
    --bg-color: #250821;
    --section-bg-color: #292e33;
    --big-font: 2.5rem;
    --normal-font: 2rem;
    --neon-box-shadow: 0 0 0.5rem #12f7ff;
    --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 100px rgba(18, 247, 255, 0.3),
        0 0 150px rgba(18, 247, 255, 0.3);
}


::-webkit-scrollbar{
    height: 0;
    width: 0.6rem;
}

::-webkit-scrollbar-track{
    background: var(--section-bg-color);
}

::-webkit-scrollbar-thumb{
    background: var(--hover-color);
    border-radius: 5rem;
}
body {
    /* font-family: "Popins", sans-serif; */
    font-family: 'General Sans',sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    scroll-behavior: smooth;

}


span {
    color: var(--hover-color);
}

header {

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px soli transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 10%;
}


header.sticky{
    background:var(--bg-color);
    border-bottom: 1px solid var(--section-bg-color);
    padding: 13px 10%;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.navlist {
    display: flex;
}

.navlist a {
    display: inline-block;
    font-size: 19px;
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 20px;
    animation:slideanimation 1s ease forwards;
    animation-delay: calc(.3s * var(--i));
    opacity: 0;
}

.navlist a:hover {
    color: var(--hover-color);
    text-shadow: 0 0 10px rgba(18, 247, 255, 0.6),
        0 0 20px rgba(18, 247, 255, 0.6),
        0 0 30px rgba(18, 247, 255, 0.6),
        0 0 40px rgba(18, 247, 255, 0.6),
        0 0 70px rgba(18, 247, 255, 0.6),
        0 0 100px rgba(18, 247, 255, 0.6),
        0 0 150px rgba(18, 247, 255, 0.6);
}

.navlist a.active{
    color: var(--hover-color);
}
#menu_icon {
    font-size: 2rem;
    z-index: 10001;
    cursor: pointer;
    margin-left: 25px;
    background-color: var(--hover-color);
    border-radius: 3px;
    color: var(--section-bg-color);
    border: none;
    display: none;
}


section {
    padding: 100px 10%;
}

.home {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 3rem;
    padding-top: 138px;
    padding-bottom: 180px;
}

.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;
    font-weight: 700;
}


.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: 100%;
    margin: 1rem 0 2rem;
}

.info_box h5 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1.5px;
}

.info_box span {
    font-size: 1.1rem;
    color: #bdbdbd;
}
.info_box span a{
    color: var(--hover-color);
}

.btn_box {
    display: flex;
    justify-content: space-between;
    width: 320px;
    height: 45px;
}


.btn_box .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background-color: var(--hover-color);
    color: var(--bg-color);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.6s;
    box-shadow: var(--neon-box-shadow);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--hover-color);
    cursor: pointer;
}

.btn:hover {
    color: var(--hover-color);
}

.btn::before {
    content: "";
    position: absolute;
    background-color: var(--bg-color);
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    z-index: -1;
    transition: 0.4s;

}

.btn:hover::before {
    width: 100%;
}

.btn:nth-child(2) {
    background-color: var(--bg-color);
    color: var(--hover-color);
}

.btn:nth-child(2):hover {
    color: var(--bg-color);
}

.btn:nth-child(2)::before {
    background-color: var(--hover-color);
}

.social_icons {
    margin-top: 8rem;
    width: 220px;
    height: 40px;
    display: flex;
    justify-content: space-between;

}

.social_icons a {
    display: inline-flex;
    width: 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
    color: var(--hover-color);
    border: 2px solid var(--hover-color);
    transition: 0.6s;
    box-shadow: 0 0 0.3rem var(--hover-color);
    border-radius: 5px;
    z-index: 1;
    overflow: hidden;
    position: relative;
}

.social_icons a i {
    font-size: 1.5rem;
}

.social_icons a:hover {
    color: var(--bg-color);
}

.social_icons a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background-color: var(--hover-color);
    transition: 0.6s;
    z-index: -1;
}


.social_icons a:hover:before {
    width: 100%;
}


.home_image {
    position: relative;
}

.image_box {
    text-align: center;
}

.image_box img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 5px;
}






.about {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 2em;
    background-color: var(--section-bg-color);
    padding-top: 120px;
    padding-bottom: 180px;
}

.about .about_image {
    text-align: center;
    position: relative;
}

.about_image img {
    max-width: 400px;
    height: auto;
    border-radius: 5px;
}

.about_content span {
    color: #fdfffd;
    font-size: 0.7rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}


.about_content h2 {
    color: var(--hover-color);
    font-size: var(--normal-font);
    color: var(--hover-color);
    font-weight: 760;
}

.about_content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: .2rem;
}

.about_content p {
    color: #bdbdbd;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.about1_info,
.about2_info,
.about3_info {
    background-color: var(--bg-color);
    font-size: .5rem;
    position: absolute;
    padding: 10px;
    height: 100px;
    width: 100px;
    display: block;
    border-radius: 69% 31% 66% 35%/21% 30% 70% 79%;
    box-shadow: var(--neon-box-shadow);
    border: 2px solid var(--hover-color);
    outline: 3px solid var(--bg-color);
    z-index: 100;
    animation: morph 6s linear infinite;
}



.about1_info {
    left: 10%;
    top: 34%;
}

.about2_info {
    left: 66%;
    top: 15%;
}

.about3_info {
    left: 61%;
    top: 70%;
}


.about_image span {
    color: var(--hover-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.about_image p {
    font-size: 0.8rem;
}







/* services section */

.main_text {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--hover-color);

}

.main_text h2 {
    font-size: var(--normal-font);
    font-weight: 700;
}

.main_text span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fdfdfd;
    font-weight: 300;
}


.services_service {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 2rem;

}

.services_service .service_box {
    flex: 1 1 18rem;
    padding: 2rem 1rem 2rem;
    text-align: center;
    background-color: var(--section-bg-color);
    transition: transform .5s;
    border-radius: 10px;
}


.service_btn {
    width: auto;
    justify-content: center;
}

.service_box:hover {
    transform: translateY(-.8rem);
    cursor: pointer;
}


.service_icon {
    border: 3px solid var(--hover-color);
    padding: 2rem;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: 50%;
    position: relative;
    color: var(--hover-color);
    box-shadow: var(--neon-box-shadow);
    outline: 3px solid var(--bg-color);
}

.service_box h3 {
    font-size: 1.5rem;
    margin-top: 10px;
    font-weight: 600;

}


.service_box p {
    color: #bdbdbd;
    line-height: 1.6;
    font-weight: 500;
    margin: 0.5rem 0 1.5rem 0;
}



/* skills */

.skill {
    background-color: var(--section-bg-color);
    padding-top: 120px;
    padding-bottom: 120px;
}




.skill_main {
    display: grid;
    width: 100%;
    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(--normal-font);
    text-align: center;
    font-weight: 600;
}

.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-color: var(--hover-color);
    border-radius: 25px;
    box-shadow: var(--neon-box-shadow);
}


.skill_bar .bar .html {
    width: 88%;
    animation: html 5s;
}

.skill_bar .bar .css {
    width: 70%;
    animation: css 2s;
}

.skill_bar .bar .javascript {
    width: 78%;
    animation: javascript 2.6s;
}

.skill_bar .bar .sql {
    width: 85%;
    animation: sql 3.9s;
}



/* skill right */

.professional {
    display: grid;
    grid-template-columns: 1fr 1fr;
}


.box {
    margin: 10px 0;
    flex: 1 1 15rem;
    position: relative;
}

.box .text {
    font-size: 1.2rem;
    text-align: center;
    color: #fff;
}

.box .text big {
    font: 400;
    letter-spacing: 1px;
    position: absolute;
    top: 40%;
    left: 52%;
    transform: translate(-50%, -50%);

}

.box .text small {
    display: block;
    font-weight: 600;
}

.circle {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.circle .points {
    height: 10px;
    width: 3px;
    background-color: var(--bg-color);
    position: absolute;
    border-radius: 3px;
    transform: rotate(calc(var(--i)*var(--rot)))translateY(-45px);



}


.points.marked {
    animation: grow 0.4s linear forwards;
    animation-delay: calc(var(--i)*0.05s);
}









/* portfolio */


.filter_btns {
    margin: 2rem;
    text-align: center;
}




.filter_btns .button {
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .39px;
    color: var(--text-color);
    margin-left: 1.3rem;
}


.filter_btns .button:hover {
    color: var(--hover-color);
}


.portfolio_galary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem; 
}

.port_box {
    position: relative;
    border-radius: 15px;
    display: grid;
    overflow: hidden;
    background-color: #292e33;
    grid-template-rows: 1fr auto;
    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 {
    height: 100%;
    width: 100%;
    opacity: 0.5s;
    transition: 0.5s;
}



.port_content {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    background:linear-gradient(rgba(0,0,0,0.2),#12f7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
     text-align: center;
     transition: 0.5s;
     padding: 0 2rem;
     cursor: pointer;
}
.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.9rem;
    margin:5px 0 15px 0;
}

.port_content a{
    background-color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--hover-color);
    outline: 2px solid #fff;
}

.port_content a i{
    font-size: 1.5rem;
    color: var(--section-bg-color);
}

.main-projects{
    margin-bottom: 70px;
}

#show-more{
    margin:60px  0px 10px 0px;
}

.other_galary{
    margin-top: 40px;
    display: none;
}


/* contact section */

.contact{
    background-color: var(--bg-color);
    width: 100%;
}

.contact div{
    text-align: center;
    margin: 1rem auto;
    max-width: 50rem;
    margin-bottom: 3rem;
}


.contact div input,
.contact div textarea{
    width: 100%;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin-bottom:.9rem;
    border: none;
    border-radius: 5px;
    padding: .8rem;
    font-size: 1.1rem;
    border: 1px solid var(--hover-color);
    box-shadow: var(--neon-box-shadow);
}



.contact div textarea{
    resize: none;
}

.form_btn{
    width: 100%;
    display: flex;
    justify-content: center;

}

.form_btn .btn{
    font-size: 1rem;
    cursor: pointer;
}






/* footer css */

footer{
    padding: 1.6rem 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-color: var(--hover-color);
padding: 0.6rem;
border-radius: 5px;
}

footer a i{
    font-size: 2rem;
    color: var(--section-bg-color);
    font-weight: 600;
}



/* paralles */
.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 html {
    0% {
        width: 0%;
    }

    100% {
        width: 88%;
    }
}

@keyframes css {
    0% {
        width: 0%;
    }

    100% {
        width: 70%;
    }
}

@keyframes javascript {
    0% {
        width: 0%;
    }

    100% {
        width: 78%;
    }
}

@keyframes sql {
    0% {
        width: 0%;
    }

    100% {
        width: 85%;
    }
}



@keyframes grow {
    0% {
        background-color: var(--bg-color);
        box-shadow: none;
    }

    100% {
        background-color: var(--hover-color);
        box-shadow: var(--neon-box-shadow);
    }
}




@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% 69%;
    }
}


@keyframes slideanimation {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
       transform: translateY(0);
    }
}





 @media (max-width:991px) {
    
    #home,#about{
        padding: 100px 10%;
    }
    header,header.sticky{
        padding: 18px 5%;
    }
    footer{
        padding: 16px 5%;
    }

    section{
    padding: 50px 5%;
    }
    .navlist a {
        padding: 8px 15px;
    }

    :root{
        --big-font: 2.2rem;
        --normal-font: 1.8rem;
        --neon-box-shadow: 0 0 0.8rem #12f7ff;
        --h2-font: 3rem;
    
    }

    .home_content{
        margin-top: 5rem;
    }
    .social_icons{
        margin-top: 2rem;
    }
}


@media (max-width:768px) {
  
    #menu_icon{
        display: block;
        transition: all 0.4s ease;
    }
    #menu_icon.bx-x{
        transform: rotate(-180deg);
    }

    .navlist{
        display: flex;
        position: absolute;
        top: -1000px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--bg-color);
        text-align: left;
        padding: 0 5%;
        transition: all 0.45s ease;
    }
    .navlist a{
        display: block;
        padding-bottom: 1rem;
        font-size: 1rem;
    }

    .navlist.open{
        top:100%;
    }
.home{
    grid-template-columns: 1fr;
}
.home_image{
    margin-bottom: 5rem;
}
.about{
    flex-direction: column-reverse;
}
.skill_main{
    grid-template-columns: 1fr;
}
.filter_btns{
    margin: 2.5rem 0;
}

footer{
    font-size: 0.8rem;
}
footer a i{
    padding: 0;
    font-size: 1.5rem;
    font-weight: bold;
}


}




@media (max-width:420px) {
    html{
        font-size: 80%;
    }
   
    footer p{
        font-size: 0.8rem;
    }
    .filter_btns .button{
        font-size: 0.8rem;
    }
    .about_image img{
        width:348px;
    }
    .about1_info,.about2_info,.about3_info{
        display: none;
    }
    .about_content p{
        font-size: 1rem;
        width: 100%;
    }

   
}

@media (max-width:350px) {
 
  .about_image img{
    width: 100%;
  }
  .image_box img{
    width: 100%;
  }

  .port_box{
    width: 100%;
  }
  .about_content{
    padding: 0;
    text-align: center;
    width: 100%;
  }
  .about_content p{
    font-size: 0.9rem;
    width: 100%;
}
.about_content .btn_box{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home_content h1{
    font-size: 1rem;
}
.change_text h3{
    font-size: 1rem;
}
.change_text p{
    font-size: 0.1rem;
}

.home_content .info_box{
    flex-direction: column;
    margin: 1rem 0;
    width: 100%;
    align-items: start;
    justify-content: start;
}
 .home_content .info_box div{
    margin-bottom: 1rem;
 }
 .logo{
    font-size: 1.5rem;
 }
 .home_content .btn_box{
    flex-direction: column;
    width: 100%;
    height: auto;
    justify-content: center;
}
.home_content .btn_box a{
    margin-bottom: 2rem;
    width: 50%;
    height: 2.5rem;
    font-size: 0.9rem;
}
.filter_btns{
    margin-bottom: 2rem;
    margin-top: 0;
    display: flex;
    justify-content: space-between;
}
.filter_btns .button{
    font-size: 0.8rem;
    margin-left: 0;
}

.portfolio_galary{
    display: flex;
    flex-direction: column;
}

}



@media (max-width:235px) {
   
    .social_icons{
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 3rem;;
        flex-wrap:wrap;
    }
    .social_icons a{
      margin-bottom: 2rem;
      
    }
    .home_image div{
        margin-top: 5rem;
    }
    

.circle .points {
    height: 8px;
    width: 2px;
    background-color: var(--bg-color);
    position: absolute;
    border-radius: 2px;
    transform: rotate(calc(var(--i)*var(--rot)))translateY(-30px);
   
}


.box .text big{
    font-size: 1rem;
   
}
.home_content p {
    color: #bdbdbd;
    line-height: 1.3;
    font-size: 1rem;
}


.email_info span{
    font-size: 0.9rem;
    line-height: 1.8;
    font-weight: 500;
    word-spacing: 0;
}


} 
