@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,800;1,700&display=swap');
*{
    padding: 0;
    margin:0;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    text-decoration: none;
}
:root{
    --text-color: #e0e0e0;
    --hover-color:#00ffd5;
    --bg-color:#1e1e2f;
    --secon-bg-color:#2a2a3f;
    --big-font:2.5rem;
    --normal-font:2rem;
    --neon-box-shadow:0 0 .5rem #00ffd5;
    --h2-font:3rem;
    --font-neon-text-shadow:0 0 10px rgba(0,255,213,0.925),
    0 0 20px rgba(0,255,213,0.925),
    0 0 30px rgba(0,255,213,0.925),
    0 0 40px rgba(0,255,213,0.925),
    0 0 70px rgba(0,255,213,0.925),
    0 0 80px rgba(0,255,213,0.925),
    0 0 100px rgba(0,255,213,0.925),
    0 0 150px rgba(0,255,213,0.925);
}
::-webkit-scrollbar{
    height: 0;
    width: .8rem;
}
::-webkit-scrollbar-track{
    background: var(--secon-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)
}
.container h1{
    font-size: 20px;
    color: #e0e0e0;
}
.container span{
    transition: all 0.5s ease-in-out;
}
.container span:hover{
    color: #00ffd5;
    text-shadow: 2px 2px 5px #00ffd5;
    font-size: 40px;
}
.btn:hover{
    background-color:#00ffd5;
    color: var(--bg-color);
    box-shadow: 0 0 5px #00ffd5, 
                0 0 25px #00ffd5,
                0 0 50px #00ffd5,
                0 0 100px #00ffd5,
                0 0 200px #00ffd5;
 -webkit-box-reflect: below 1px linear-gradient(transparent,#000);
}
.btn-box .btn{
    background-color:#2a2a3f;
    border: 2px solid #00ffd5;
    height: 35px;
    width: 300px; 
    border-radius: 5px;
    padding: 2px;
    transition: all 0.5s ease-in-out;
    font-size: 1rem;
    letter-spacing: 4px;
    font-weight: 600;
    align-items: center;
}
.btn-box{
    display: flex;
    justify-content:space-between;
    width: 320px;
    height: 45px;
}
.resumebtn{
    background-color:#00ffd5;
    border: 2px solid #00ffd5;
    height: 35px;
    width: 150px; 
    border-radius: 5px;
    padding: 2px;
    transition: all 0.5s ease-in-out;
    font-size: 1rem;
    letter-spacing: 4px;
    font-weight: 600;
    align-items: center;
}
.resumebtn:hover{
    background-color:#00ffd5;
    color: var(--bg-color);
    box-shadow: 0 0 5px #00ffd5, 
                0 0 25px #00ffd5,
                0 0 50px #00ffd5,
                0 0 100px #00ffd5,
                0 0 200px #00ffd5;
 -webkit-box-reflect: below 1px linear-gradient(transparent,#000);
}
.resumebtn a{
    align-items: center;
    background-color: #00ffd5;
    color: var(--bg-color);
    margin-left: 5px;
    margin-top: 2px;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid 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(--secon-bg-color);
    padding: 12px 10%;
}
.logo{
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}
span{
    color: var(--hover-color);
}
.navlist{
    display:flex ;
}
.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);
    text-shadow: 0 0 10px rgba(0,255,213,0.6),
    0 0 20px rgba(0,255,213,0.6),
    0 0 30px rgba(0,255,213,0.6),
    0 0 40px rgba(0,255,213,0.6),
    0 0 70px rgba(0,255,213,0.6),
    0 0 80px rgba(0,255,213,0.6),
    0 0 100px rgba(0,255,213,0.6),
    0 0 150px rgba(0,255,213,0.6);
    border-radius: 50px;
}
.navlist a.active{
    color: var(--hover-color);
}
#menu-icon{
    font-size: 1.8rem;
    z-index: 10001;
    cursor: pointer;
    margin-left: 25px;
    background: var(--hover-color);
    border-radius: 3px;
    color: var(--secon-bg-color);
    display:none;
}
section{
    padding: 100px 10%;
}
.home{
    height:150%;
    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;
    width: 100%;
}
.change-text{
    font-size: 1.5rem;
    font-weight: 700;
}
.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: var(--text-color);
    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: 1rem;
}
.info-box span{
    font-size: .9rem;
    color: #e0e0e0;
}
.social-icon{
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    width: 220px;
    height: 40px;
}
.social-icon a{
    display: inline-flex;
    width: 50px;
    height: 100%;
    margin: 5px;
    justify-content: center;
    align-items: center;
    background:var(--bg-color);
    color: var(--hover-color);
    border: 2px solid var(--hover-color);
    transition: .6s;
    box-shadow: 0 0 0.3rem #00ffd5;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.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: .6s;
    z-index: -1;
}
.social-icon a:hover::before{
    width: 100%;
}
.home-image{
    position: relative;
}
.img-box{
    text-align: center;
}
.img-box img{
    width: 100%;
    height: auto;
}

/* About section starts here */
/* About Section */
.carousel--nav{
    margin-bottom:-100px;
}
.about{
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 2em;
    background: var(--secon-bg-color);
}
.about .img-about{
    text-align: center;
    position: relative;
}
.about .img-about img{
    max-width: 400px;
    height: auto;
    text-align: center;
    float: right;
    transition: .6s;
    box-shadow: 2px 3px 0.3rem 4px #00ffd5;
    border: 3px solid var(--hover-color);
    border-radius: 30% 40% 70% 30% / 30% 20% 70% 70%;
} 
.carousel{
    position: relative;
}
.carousel--item{
    background: var(--secon-bg-color);
    padding: 1rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    font-size: 23px;
    line-height: 1.5;
    color: var(--text-color);
    display: none;
}
.carousel--item--selected{
    display: block;
}
.carousel--nav{
    width: 100%;
    padding: 50px ;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
}
.carousel--button{
    width: 10px;
    height: 10px;
    display: inline-block;
    background: var(--bg-color);
    border-radius: 50%;
    margin: 0px 30px;
    padding: 10px;
    cursor: pointer;
}
.carousel--button--selected{
    background: #00ffd5;
}
.about-content span{
    color: #e0e0e0;
    font-size: .8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.about-content h2{
    color: #e0e0e0;
    font-weight: 700;
    font-size: var(--normal-font);  
}
.about-content h3{
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: .2rem;
}
.about-content p{
    color: #e0e0e0;
    font-weight: 300;
    margin-bottom: 1.5rem;
}
.info-about1,.info-about2,.info-about3{
    background: var(--bg-color);
    font-size: .5rem;
    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:95%;
    top: 45%;
}
.info-about2{
    left: 63%;
    top: 100%;
}
.info-about3{
    left: 65%;
    top:40%;
    margin-top: 270px;
}
.img-about span{
    color: var(--hover-color);
    font-size: 12px;
    font-weight: 600;
}
.img-about p{
    font-size: 12px;
}

/* Qualification Section */
.main-text{
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--hover-color);
}
.main-text h2{
    font-weight: 700;
    font-size: var(--normal-font);
}
.main-text span{
    color: #e0e0e0;
    font-size:.8rem ;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.section-qualification{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 2rem;
}
.section-qualification .qualification-box{
    flex: 1 1 18rem;
    padding: 2rem 1rem 2rem;
    text-align: center;
    background: #1e1e2f;
    transition: transform .4s;
    border-radius: 10px;
    height: 50%;
}
.qualification-btn{
    width: auto;
    justify-content: center;
}
.qualification-btn a{
    width: auto;
    justify-content: center;
    color: #00ffd5;
}
.qualification-box:hover{
    transform: translateY(-.7rem);
}
.qualification-icon{
    border: 2px solid var(--hover-color);
    padding: 2rem;
    background: #1e1e2f;
    display: flex;
    align-items: 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);
}
.qualification-box h3{
    margin-top: 10px;
    font-size: 1.5rem;
    color: var(--text-color);
}
.qualification-box p{
    margin: .5rem 0 1.5rem 0;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-color);
    line-height: 1.6;
}

/* Skills Section */
.skills{
    background: var(--secon-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(--normal-font);
    text-align: center;
    color: var(--hover-color);
}
.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: #00ffd5;
}
.skill-bar .bar .html{ width: 80%; animation: html 2s; }
.skill-bar .bar .java{ width: 70%; animation: java 3s; }
.skill-bar .bar .javascript{ width: 72%; animation: javascript 4s ; }
.skill-bar .bar .python{ width: 68%; animation: python 5s; }
.skill-bar .bar .figma{ width: 90%; animation: figma 6s; }
.skill-bar .bar .mysql{ width: 81%; animation:mysql 7s; }
.professional{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.box{
    position: relative;
    margin: 10px 0;
    flex: 1 1 15rem;
}
.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: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: glitter 1s linear infinite;
}
.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);
}

/* Project Section */
.fillter-button{
    margin: 2rem;
    text-align: center;
}
.fillter-button .button{
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .4px;
    margin-left: 1.3rem;
    color: var(--text-color);
}
.fillter-button .button:hover{
    color: var(--hover-color);
}
.project-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(270px,1fr));
    gap: 2rem;
}
.pro-box{
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #292e33;
    display: flex;
    grid-template-rows: 1fr auto;
    align-items: center;
    border: 2px solid var(--hover-color);
    box-shadow: var(--neon-box-shadow);
}
.pro-image{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}
.pro-image img{
    width: 100%;
    opacity: .5s;
    height: 100%;
    transition: .5s;
}
.pro-content{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: linear-gradient(rgba(0,0,0,.2),#00ffd5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    transition: 0.5s;
    padding: 0 2rem;
}
.pro-box:hover .pro-content{
    opacity: 1;
}
.pro-box:hover .pro-image img{
    transform: scale(1.1);
}
.pro-content h3{
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}
.pro-content p{
    font-size: .8rem;
    margin: 5px 0 15px 0;
    color: var(--text-color);
}
.pro-content a{
    background: #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;
}
.pro-content a i{
    font-size: 1.3rem;
    color: var(--secon-bg-color);
}

/* Contact Section */
.contant{
    background: var(--secon-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: #1e1e2f;
    background:rgba(230, 229, 229, 0.1) ;
    margin-bottom: .8rem;
    border: none;
    border-radius: 5px;
    padding: .7rem;
}
.contant form textarea{
    resize: none;
}
.formBtn{
    display:flex;
    justify-content: center;
    width: 100%;
    color: var(--hover-color);
}
.formBtn .btn{
    cursor: pointer;
    font-size: 1rem;
}
/* Footer Section */
footer{
    padding: 1.5rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-color);
}
footer p{
    color: var(--text-color);
}
footer a{
    display: inline-flex;
    justify-content: center;
    color: var(--bg-color);
    background: var(--hover-color);
    padding: .6rem;
    border-radius: 5px;
    transition: 0.4s;
}
footer a i{
    font-size: 1rem;
    color: var(--bg-color);
}

/* Parallax & Scroll Animations */
.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 glitter {
    0%, 100% {
        box-shadow: 3px 6px 0.3rem 4px #00ffd5;
    }
    50% {
        box-shadow: 3px 6px 0.3rem 4px #00ffd5, 3px 6px 0.3rem 4px #00ffa0;
    }
}
@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% 79%; }
}
@keyframes html{ 0%{width:0;} 100%{width:85%;} }
@keyframes java{ 0%{width:0;} 100%{width:80%;} }
@keyframes javascript{ 0%{width:0;} 100%{width:79%;} }
@keyframes python{ 0%{width:0;} 100%{width:80%;} }
@keyframes figma{ 0%{width:0;} 100%{width:90%;} }
@keyframes mysql{ 0%{width:0;} 100%{width:81%;} }
@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(0); }
}

/* Responsive Breakpoints */
@media only screen and (max-width:991px){
    header,header.sticky{ padding: 15px 5%; }
    footer{ padding: 15px 5%; }
    section{ padding: 50px 5%; }
    .img-about img{ max-height: 320px ; }
    .navlist a{ padding: 8px 15px; }
    :root{
        --big-font:2.2rem;
        --normal-font:1rem;
        --neon-box-shadow:0 0 .8rem #00ffd5;
        --h2-font:3rem;
    }
    .img-box img{ height: 125px; width: 10%; }
    .home-content{ margin-top: 5rem; }
    .social-icon{ margin-top: 1rem; }
}

@media only screen and (max-width:768px){
    #menu-icon{ display: block; transition: all .4s ease; }
    .img-box img{ margin-bottom: 10%; }
    .home { grid-gap: 2em; }
    .home-content h1 { font-size: 24px; }
    .info-box { margin-top: 0.5rem; }
    .home { padding: 10px; font-size: 16px; }
    #menu-icon.bx-x{ transform: rotate(-180deg); }
    .navlist{
        display: block;
        position: absolute;
        top:-1000px;
        right: 0;
        left: 0;
        flex-direction: column;
        background: var(--bg-color);
        text-align: left;
        padding: 0 5%;
        transition: all .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: 2rem; }
    .liquid-shape{ width: 40%; left: 30%; top:-20%; }
    .about{ flex-direction: column-reverse; }
    .carousel--nav{ margin-bottom:-100px; }
    .skill-main{ grid-template-columns: 1fr; }
    .fillter-button{ margin: 2.5rem 0; }
    footer p{ font-size: .8rem; }
    .info-about1,.info-about2,.info-about3{ display: none; }
    #youtube iframe{ width: 100%; }
}

@media only screen and (max-width:600px){
    .img-box img{ height: 25%; width: 25%; }
    .liquid-shape{ width: 50%; left: 25%; top:-5%; }
}

@media only screen and (max-width:420px){
    html{ font-size: 90%; }
    .change-text{ font-size: 1rem; font-weight: 700; }
    .about-content p{ font-size: 60%; }
    .about-content span{ font-size: 40%; }
    .about-content h2{ font-size: 40%; }
    .about-content h3{ font-size: 40%; }
    .img-about img{ margin-bottom: 10px; }
    .liquid-shape{ width: 60%; left: 20%; top:-10%; }
    .img-box img{ height: 50%; width: 50%; padding-bottom: 70px; }
    footer p{ font-size: .6rem; }
    .fillter-button .button{ font-size: .8rem; }
    .carousel--nav{ display: flex; margin-bottom:-100px; justify-content: center; }
}
