body{
    background:var(--bg-color) ;
    color: var(--text-color);
}
:root{
    --bg-color:#081b29;
    --second-bg-color:#112e42;
    --text-color:#ededed;
    --main-color:#00abf0;
}
*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif; 
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
}

.header{
    width: 100%;
    position: fixed;
    padding: 2rem 9%;
    top: 0;
    left: 0;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 200;
    
}
.logo{
    position: relative;
    width: fit-content;
    font-size: 2.5rem;
    /* color: var(--text-color); */
    font-weight: 600;
    animation: akshay2 5s linear infinite;
    color: transparent;
    /* -webkit-text-stroke: .5px var(--text-color); */
    background-position: 0 0;
    animation-delay: 1s;
    background-image: linear-gradient(var(--main-color),var(--main-color));
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    
}
/* .logo::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    overflow: hidden;
    color: var(--main-color);
    z-index: -1;
    -webkit-text-stroke: .7px var(--main-color);
    border-right:  2px solid var(--main-color) ;
} */
@keyframes akshay2{
        0%,10%,100%{
            background-position: -33rem 0;
        }
        70%,90%{
            background-position: 0 0;
        }
}


.menufont{
    font-size: 2.1rem;
    color: #00abf0;
    position: absolute;
    right: 2%;
    cursor: pointer;
    display: none;

}
#bar{
    display: none;
}
nav a{
    font-size: 1.7rem;
    color: var(--text-color);
    font-weight: 500;
    margin-left: 3.5rem;
    transition: .3s;
}
nav a:hover,
nav a.active{
    color: var(--main-color);
} 



/* section2 */
.section2{
    width: 100%;
    min-height: 100vh;
    padding: 20rem 9% 2rem;
    background-color: #081b29;
}
.wrapper2{
    flex-wrap: wrap-reverse;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-top: 0 9%;
    gap: 2rem;
}
.content{
    
    max-width: 60rem;
}
.content h1{
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}
.frontend{
    position: relative;
    width:32.8rem;
}
.frontend h2{
    position: relative;
    font-size: 3.2rem;
    color:transparent;
    font-weight: 700;
    
    -webkit-text-stroke: .7px var(--main-color);
    
    background-position: 0 0;
    animation: akshay 6s linear infinite;
    animation-delay: 2s;
    background-image: linear-gradient(var(--main-color),var(--main-color));
    background-repeat: no-repeat;
    -webkit-background-clip: text;
   
}
.frontend h2::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: var(--main-color);
    -webkit-text-stroke: .7px var(--main-color);
    border-right:  2px solid var(--main-color) ;
    /* animation: akshay 6s linear infinite; */
    overflow: hidden;
    z-index: -1;
}
@keyframes akshay{
    0%,10%,100%{
        background-position: -33rem 0;
    }
    70%,90%{
        background-position: 0 0;
    }
}
.content p{
    letter-spacing: .2rem;
    font-size: 1.7rem;
    margin: 2rem 0 4rem;
}
.sidepic{
    width:35rem;
}
.sidepic img{
    border-radius: 1200px;
    width: 400px;
}
.sidepic:hover{
    background-color: transparent;
}
.hire{
    width: 34.5rem;
    height: 5rem;
    display: flex;
    position: relative;
    justify-content: space-between;
    
}
.btn{
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 15rem;
    height: 100%;
    justify-content: center;
    border: .2rem solid  #00abf0 ;
    background-color: #00abf0;
    font-size: 1.8rem;
    padding: 4px 14px;
    letter-spacing: .1rem;
    border-radius: .8rem;
    font-weight: 600;
    color: #081b29 ;
    z-index: 1;
    overflow: hidden;
}
.hire .btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0; 
    height: 100%;
    background:#081b29;
    z-index: -1;
    transition: 1s;
    
}
.hire .btn:hover::before{
    width: 100%;
    overflow: hidden;
    
}
.hire .btn:hover{
    color: #00abf0;
}
.hire .btn:nth-child(2){
    background: transparent;
    color: #00abf0;
}
.hire .btn:nth-child(2):hover{
    color: #081b29;
}
.hire .btn:nth-child(2)::before{
    background: #00abf0;
    
}

.social{
    width: 200px;
    /* bottom: 1rem; */
    position: absolute;
    display: flex;
    justify-content: space-between;
    padding-top: 5rem;
}
.social a{
    position: relative;
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: transparent;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: var(--main-color);
    border:.2rem solid var(--main-color);
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
}
.social a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    transition: .6s;
    z-index: -1;
}
.social a:hover{
    color: var(--bg-color);
}
.social a:hover::before{
    width: 100%;
}

/* section3 */
.section3{
    width: 100%;
    /* position: relative; */
    padding-top: 10rem;
    padding-bottom: 30rem;
}
.wrapper3{
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    position:relative;
    

}
.aboutme{
    
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}
.aboutme h1{
    font-size:5.6rem ;
    
}
.aboutme h1 span{
    color: var(--main-color);
}

/* animation circle */
.box{
    top: 20px;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width:250px;
    height: 250px;
    /* background: rgba(0, 0, 0, 0.5); */
    border-radius: 50%;
    overflow: hidden;
}
.box::before{
    content: '';
    position: absolute;
    inset:-10px 70px;
    background: linear-gradient(315deg,#00ccff,#d400d4);
    transition: 0.5s;
    animation: akki 5s linear infinite;
}
.box:hover::before{
    inset: -10px 0px;
}
@keyframes akki{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
.box::after{
    content: '';
    position: absolute;
    inset: 4px;
    background: #162052;
    border-radius: 50%;
    z-index: 1;

}
.circleimage{
    position: absolute;
    inset: 10px;
    /* border: 6px solid #070a1c; */
    z-index: 3;
    border-radius: 50%;
    overflow: hidden;
}
.circleimage img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    pointer-events: none;
}
.etc{
    width: 100%;
    display: flex;
    top: 35rem;
    /* left: 50%; */
    /* max-width: 60rem; */
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
.etc h2{
    font-size: 3rem;
    /* justify-content: center; */
    /* display: flex; */
}
.etc p{
    max-width: 90rem;
    font-size: 1.7rem;
    padding: 0 9%;
    padding: 2rem 0;
    letter-spacing: 1px;
    display: flex;
    flex-wrap: wrap;
    
}

/* section4 */
.section4{
    width: 100%;
    padding: 5rem;
}
.wrapper4{
    display: flex;
    flex-direction: column;
}
.journey{
    padding: 4rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
}
.journey h1{
    font-size: 4rem;
}
.journey h1 span{
    color: #00abf0;
}
.edu-ex{
    max-width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.education{
    max-width: 60rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.education h2{
    font-size: 2.8rem;
    /* padding: 2rem 0; */
}
.education-box{
    border: 1px solid var(--main-color);
    border-radius: 3px;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}
.education-box::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--second-bg-color);
    z-index: -1;
    transition: 4s;
}
.education-box:hover{
    background: linear-gradient(#00ccff,#381298);
}
.education-box:hover::before{
    width: 100%;
}
.education-box p{
    font-size: 1.7rem;
    line-height: 25px;
}
.education-box h3{
    line-height: 25px;
    font-size: 1.5rem;
    color: #00abf0;
}
.experience{
    max-width: 60rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.experience h2{
    font-size: 2.8rem;
    /* padding: 2rem 0; */
}

/* section5 */
.section5{
    width: 100%;
}
.wrapper5{
    width: auto;
    padding: 4rem 0;
}

.myskill{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.myskill h2{
    font-size: 4rem;
    padding: 2.5rem 0;
}
.myskill h2 span{
    color: var(--main-color);
}
.code-professional{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    
}
.skillbox{
    width: auto;
    position: relative;
    z-index: 1;
    
}
.skillbox::before{
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    width:0;
    height: 100%;
    transition: 2s ease-out;
    z-index: -1;
    background-color: var(--second-bg-color);
}
.skillbox:hover{
    background: linear-gradient(#316a74,#bb0ece);
    font-weight: 700;
}

.skillbox:hover::before{
    width: 100%;
}
.coddingskill h2{
    font-size: 3rem;
    padding: 1rem 0;
}
.skillbox{
    padding: 15px 0px;
    width:450px;
    min-height: 50vh;
    border: 3px solid var(--main-color);
    border-radius: 1rem;
    /* padding: 2rem; */
}

.slbar{
    margin: auto;
    /* margin:0rem 2rem; */
    width: 80%;
    background-color: transparent;
    border: 2px solid var(--main-color);
    border-radius: 1rem;
    padding: 0.3rem;
   
}
.htmlclass{
    text-align: right;
    color: blue;
    padding-right: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.cssclass{
    width: 90%;
    background-color: var(--main-color);
    border-radius: 1rem;
    padding:1.5rem;
}
.htmlclass1{
    text-align: right;
    color: blue;
    padding-right: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.cssclass1{
    width: 75%;
    background-color: var(--main-color);
    border-radius: 1rem;
    padding:1.5rem;
}
.htmlclass2{
    text-align: right;
    color: blue;
    padding-right: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.cssclass65{
    width: 65% !important;
    background-color: var(--main-color) !important;
    border-radius: 1rem !important;
    padding:1.5rem !important;
}
.cssclass2{
    width: 80%;
    background-color: var(--main-color);
    border-radius: 1rem;
    padding:1.5rem;
}
.htmlclass3{
    text-align: right;
    color: blue;
    padding-right: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.cssclass3{
    width: 70%;
    background-color: var(--main-color);
    border-radius: 1rem;
    padding:1.5rem;
}
.cssclass4{
    width: 55%;
    background-color: var(--main-color);
    border-radius: 1rem;
    padding:1.5rem;
}
.cssclass5{
    width: 70%;
    background-color: var(--main-color);
    border-radius: 1rem;
    padding:1.5rem;
}
.txt{
    display: flex;
    justify-content: space-between;
    margin: 0 10%;
    padding: 1rem 0;
}
.txt p{
    font-size: 1.8rem;
}


/* section6 */
.section6{
    width: 100%;
    padding: 5rem 0;
}
.wrapper6{
    width: auto;
    display: flex;
    flex-direction: column;
    padding: 4rem 0;
}
.contactme{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 1rem;
}
.contactme h1{
    font-size: 4rem;
}
.contactme h1 span{
    color: var(--main-color);
}
.contactbox{
    
    gap: 2rem;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 45rem;
    align-items: center;
    justify-content: space-evenly;
    
}
.contactbox1::before{
    z-index: -1;
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: 4s;
   
    background-color: var(--second-bg-color);
}
.contactbox1:hover::before{
    width: 100%;
}
.contactbox1:hover{
    background: linear-gradient(#381298,#aa208a);
}
.contactbox1{
    position: relative;
    z-index: 1;
    padding: 4rem;
    width: 30rem;
    height: 25rem;
    border: 2px solid var(--main-color);
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.doubt h3{
    text-align: center;
    font-size: 2rem;
    
}
.doubt h2{
    text-align: center;
    font-size: 2.2rem;
    /* padding-bottom: 2rem; */
}
.doubt{
    width: 100%;
    padding-bottom: 5rem;
}
.project{
    
    border: 2px solid var(--main-color);
    width: 140px;
    height: 30px;
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
}
.project a{
   
    font-size: 2rem;
    text-decoration: none;
    color: var(--text-color);
}
.mailme{
    width: 100%;
    
}

.mailme h4{
    font-size: 1.5rem; 
    padding-top: 2rem;
    text-align: center;  
    
}
.mailme h4 a{
    color: var(--text-color);
    text-align: center;
}



/* Responsive */
@media (max-width: 800px){
    .etc p{
        padding: 0 2rem;
    }
}
@media (max-width: 700px) {
    .etc p{
        font-size: 1.5rem;
        padding-top: 0.5rem;
    }
    nav{
       
       display: flex;
       flex-direction: column;
       position: absolute;
       top: 100%;
       gap: 3rem;
       width: 100%;
       background: var(--bg-color);
       left: -100%;
       transition: .8s linear;
       border-bottom: none;
    }
    .menufont{
        display: block;
        position: absolute;
        right: 5%;
    }
    nav a{
        margin-left: 0;
        padding: 1.5rem;
        border-bottom: 1px solid gray;
    }
    #bar:checked~#sidebar{
        
            left: 0;
        
    }
    .content h1{
    font-size: 3.6rem;}
    .content p{
     font-size: 1.5rem;}
    .sidepic{
        width: 30rem;
        
    }
    .sidepic img{
        width: 100%;
    }
    .aboutme h1{
        font-size:3.6rem ;
        
    } 

    .journey h1{
        font-size: 3rem;
    }
    .journey{
        padding-bottom: 3rem;
        /* padding-top: 1rem; */
        
    }
    .education h2{
        font-size: 2rem;
        /* padding: 2rem 0; */
    }
    .experience h2{
        padding-top: 1rem;
        font-size: 2rem;
        /* padding: 2rem 0; */
    }
    .education-box p{
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    .education-box h2{
        font-size: 1.8rem;
        line-height: 25px;
    }
    .myskill h2{
        font-size: 3rem;
        padding-bottom: 1.5rem;
    }
    .coddingskill h2{
        font-size: 2rem;
        padding: 1rem 0;
    }
    .skillbox{
        width:400px;
        height: 300px;
        
    }
    .txt p{
        font-size: 1.5rem;
    }
   
    .cssclass{
        border-radius: 1rem;
        padding:1rem;
    }
    .cssclass1{
        border-radius: 1rem;
        padding:1rem;
    }
    .cssclass2{
        border-radius: 1rem;
        padding:1rem;
    }
    .cssclass3{
        border-radius: 1rem;
        padding:1rem;
    }
    .contactme h1{
        font-size: 3.6rem;
    }
    .doubt h3{
        font-size: 1.8rem;
        
    }
    .doubt h2{
        font-size: 2rem;
        
    }
    .project{
        width: 125px;
        height: 25px;
    }
    .project a{
        font-size:1.8rem ;
    }
    .mailme h4{
        font-size: 1.2rem;
        
    }
    
    
    
}
@media (max-width: 450px){
    .sidepic{
        width: 25rem;
        
    }
    .sidepic img{
        width: 100%;
    }
    .content{
        width:30rem ;
    }
    .content h1{
        font-size: 3rem;}
    .content p{
        font-size: 1.2rem;
        margin: 1rem 0 2rem;}
    .frontend h2{
        font-size: 2.8rem;}
    .hire{
        width: 25.5rem;}
    .btn{
        width: 10rem;
        font-size: 1.2rem;
    }
    .journey h1{
        font-size: 3rem;
    }
    .journey{
        padding-bottom: 3rem;
        padding-top: 2rem;
        
    }
    .education h2{
        font-size: 2rem;
        /* padding: 2rem 0; */
    }
    .experience h2{
        padding-top: 1rem;
        font-size: 2rem;
        /* padding: 2rem 0; */
    }
    .education-box p{
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    .education-box h2{
        font-size: 1.8rem;
        line-height: 25px;
    }
    .skillbox{
        width:300px;
        height: 280px;
        
    }
    .etc p{
        font-size: 1.3rem;
        padding-top: 0.7rem;
        padding-bottom: 0.5rem;
    }
}
@media (max-width: 380px){
    .etc p{
        font-size: 1.2rem;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }
}
