@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@500&family=Nunito:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@500&family=Kalam:wght@300&family=Nunito:wght@400;600&display=swap');
:root{
    /* background: yellow; */
    --yellow: #f9ca24;
    --orange: rgb(255, 135, 43)
}
*{
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    text-transform: capitalize;
    transition: all 0.2s linear;
}
*::selection{
    background: var(--yellow);
    color: #333;
}
html{
    font-size: 62%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
html::-webkit-scrollbar{
    width: 1.1rem;
}
html::-webkit-scrollbar-track{
    background-color: #222;
}
html::-webkit-scrollbar-thumb{
    background: var(--yellow);
    border-radius: 10px;
}

body{
    background:  #111;
    /* overflow-x: hidden; */
    padding-left: 35rem;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 100%;
    width: 36rem;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
}
header .profile img{
    height: 18rem;
    width: 18rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 0.3rem solid var(--orange);
    animation: imgani 2s ;
}
@keyframes imgani{
    0% { border-radius: 0% ;}
    100% { border-radius: 50%;}
}
header .profile .name{
    font-size: 3.6rem;
    color: #fff;
}
header .profile .bio{
    font-size: 2rem;
    color: var(--yellow);
}
header .navbar{
    width: 85%;
}
header .navbar ul{
    list-style: none;
    padding: 1rem 3rem;
}
header .navbar ul a{
    display: block;
    padding: 1rem;
    margin: 1.5rem 0;
    color: #fff;
    font-size: 2rem;
    background: #333;
    border-radius: 5rem;
}
header .navbar ul a:hover{
    background: var(--yellow);
    color: #1a1a1a;
}
#menubar{
    position: fixed;
    top: 2rem;
    left: 2rem;
    color: #fff;
    background: #1a1a1a;
    font-size: 2rem;
    padding: 1.5rem 1.5rem;
    cursor: pointer;
    z-index: 1000;
    display: none;
}
section{
    min-height: 100vh;
    padding: 1rem;
}
.home{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10rem;
}
.home h3{
    color: #fff;
    font-size: 2.5rem;
}
.home h1{
    color: #fff;
    font-size: 5rem;
}
.home p{
    color: #fff;
    font-size: 2rem;
    padding: 2rem 0;
    text-transform: none;
}
.home h1 span{
    color: var(--yellow);
}
.btn{
    background: #333;
    color: #eee;
    font-size: 2rem;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    cursor: pointer;
    margin-top: 1rem;
}
.btn i{
    padding-left: 1rem;
    font-size: 2rem;
}
.btn:hover{
    background-color: var(--yellow);
    color: #111;
}
.heading{
    text-align: center;
    color: #fff;
    font-size: 4.5rem;
    margin: 0 6rem;
    padding: 1rem;
    border-bottom: 0.1rem solid #333;
}
.heading span{
    color: var(--yellow);
}
.education .box-container{
    display: flex;
    align-items: center;
    justify-content:space-between;
    flex-wrap: wrap;
    padding: 1rem 0;
    padding-left: 8rem;
}
.education .box-container .box{
    width: 80rem;
    margin: 4rem 1rem;
    padding-left: 4rem;
    border-left: 0.2rem solid #fff;
    position:relative;
    color: #eee;
}
.education .box-container .box span{
    color: #fff;
    font-size: 1.5rem;
}
.education .box-container .box h3{
    color: #fff;
    font-size: 2.5rem;
    padding: 1rem 0;
}
.education .box-container .box h3 span{
    color: var(--yellow);
    font-size: 2.5rem;
    padding-top: 1rem;
}
.education .box-container .box p span{
    font-size: 1.9rem;
    color: #fff;
}
.education .box-container .box p{
    color: #eee;
    font-size: 1.6rem;
}
.education .box-container .box i{
    color: #fff;
    position: absolute;
    top: -1.5rem;
    left: -1.9rem;
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    text-align: center;
    line-height: 4rem;
    font-size: 2rem;
    background-color: #333;
}
.skill .row{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem 0;
}
.skill .row .skilldata{
    flex: 1 1 48rem;
    padding: 2rem 1rem;
    padding-left: 4.2rem;
    padding-right: 2.5rem;
    /* border: 0.1rem solid white; */
    margin-left: 2rem;
    margin-top: 1rem;
    color: #fff;
}
.skill .row .skilldata h1{
    text-align: center;
    font-size: 3rem;
}
.skill .row .skilldata li{
    list-style: none;
    margin: 0.5rem 0;
    padding: 0.1rem;
}
.row li h3{
    margin: 1.5rem;
    font-size: 1.5rem;
}
.row li .bar{
    display: block;
    background: #333;
    height: 1rem;
    border: 0.1rem solid rgba(0,0,0,0.4);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.row li .bar span{
    float: left;
    height: 1rem;
    background: linear-gradient(135deg, rgb(255, 149, 11)0%,  rgb(255, 238, 54)100%);
}
.percentage{
    float: right;
    font-size: 1.3rem;
    font-family: 'Kalam', cursive;
}
.c{
    width: 75%;
    animation: c 3s;
}
@keyframes c{
    0%{ width: 0%; }
    100%{ width: 75%; }
}
.cpp{
    width: 85%;
    animation: cpp 3s;
}
@keyframes cpp{
    0%{ width: 0%; }
    100%{ width: 85%; }
}
.java{
    width: 65%;
    animation: java 3s;
}
@keyframes java{
    0%{ width: 0%; }
    100%{ width: 70%; }
}
.html{
    width: 90%;
    animation: html 3s;
}
@keyframes html{
    0%{ width: 0%; }
    100%{ width: 90%; }
}
.css{
    width: 70%;
    animation: css 3s;
}
@keyframes css{
    0%{ width: 0%; }
    100%{ width: 70%; }
}
.js{
    width: 45%;
    animation: js 3s;
}
@keyframes js{
    0%{ width: 0%; }
    100%{ width: 45%; }
}
.react{
    width: 25%;
    animation: react 3s;
}
@keyframes react{
    0%{ width: 0%; }
    100%{ width: 25%; }
}
.skill .row .counter{
    flex: 1 1 48rem;
    padding: 2rem 1rem;
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.skill .row .counter .box{
    width: 18rem;
    text-align: center;
    background: #222;
    margin: 2rem;
    padding: 2rem;
}
.skill .row .counter .box:hover{
    /* background: var(--yellow); */
    transform:scale(1.15);
}
.skill .row .counter .box span{
    color:var(--orange);
    font-size: 3.5rem;
}
.skill .row .counter .box h3{
    font-size: 1.8rem;
    color: #fff;
}

.project .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
}
.project .box-container .box{
    height: 20rem;
    width: 26rem;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    margin: 2rem;
}
.project .box-container img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.project .box-container img:hover{
    transform: scale(1.2);
    opacity: 0.5;
}

.contact .row{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
}
.contact .row .content{
    font-size: 2rem;
    text-transform: uppercase;
    color: #fff;
    padding: 0 6rem;
}
.contact .row .info{
    padding: 2rem 4rem;
    flex: 1 1 30rem;
}
.contact .row .info a img{
    height: 4rem;
    width: 4rem;
}
.contact .row .info a img:hover{
    transform: scale(1.2);
}
.contact .row .info a{
    padding: 0 1rem;
}
.contact .row form{
    flex: 1 1 45rem;
    padding: 2rem;
    margin: 2rem;
    margin-bottom: 0;
    padding-left: 1rem;
}
.contact .row form .box{
    padding: 1.2rem;
    margin: 1rem 0;
    background-color:#3333;
    color: white;
    font-size: 2rem;
    text-transform: none;
    width: 100%;
}
.contact .row form .message{
    height: 20rem;
    resize: none;
}

.top{
    position: fixed;
    bottom: 3rem;
    right: 2rem;
    display: none;
}
@media (max-width:1200px){
    html{
        font-size: 55%;
    }
    .skill .row .skilldata{
        padding-right: 6rem;
    }
}
@media (max-width:991px){
    header{
        left: -150%;
    }
    #menubar{
        display: block;
    }
    header{
        background-color: rgba(0,0,0,0.4);
        backdrop-filter: blur(12px);
        /* border-right: 0.05rem solid black; */
    }
    header.toggle{
        left: 0%
    }
    body{
        padding: 0;
    }
    .education .box-container .box{
        width: 100%;
        padding-right: 5rem;
    }
}
@media (max-width:768px){
    html{
        font-size: 50%;
    }
}
@media (max-width:400px){
    header{
        width: 100vw;
    }
    .contact .row form{
        margin: 3rem 0;
    }
}