@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600&display=swap');

:root{
    --blue:#2424f9;
}

*{
    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 .2s linear;
}

*::selection{
    background:var(--blue);
    color:#000000;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}

html::-webkit-scrollbar{
    width:1.4rem;
}

html::-webkit-scrollbar-track{
    background:#222;
}

html::-webkit-scrollbar-thumb{
    background:var(--blue);
}

body{
    background:#fdfdfd;
   
    overflow-x: hidden;
    padding-left: 35rem;
}

section{
    min-height: 95vh;
    padding:1rem;
}

.btn{
    padding:.7rem 3rem;
    background:#2424f9;
    color:#fff;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 2rem;
    border-radius: 1rem;
}

.btn i{
    padding:0 .5rem;
    font-size: 1.8rem;
}

.btn:hover{
    background:#00004e;
}

.heading{
    text-align: center;
    margin:0 6rem;
    font-size: 4rem;
    padding:1rem;
    border-bottom: .1rem solid #fff4;
    color:#000000;
}

.heading span{
    color:var(--blue);
}

header{
    position: fixed;
    top:0; left:0;
    z-index: 1000;
    height:100%;
    width:35rem;
    background: rgb(0,0,42);
    background: linear-gradient(285deg, rgba(0,0,42,1) 0%, rgb(88, 105, 219) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
}

header .user img,.home>div>img{
    height:25rem;
    width:25rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border:.7rem solid var(--blue);
}

header .user .name{
    font-size: 3.5rem;
    color:#fff;
}

header .user .post{
    font-size: 2rem;
    color:#eee;
}

header .navbar{
    width:100%;
}

header .navbar ul{
    list-style: none;
    padding:1rem 3rem;
}


header .navbar ul li a{
    display: block;
    padding:1rem;
    margin:1.5rem 0;
    background:#d8d8d8;
    color:#000000;
    font-size: 2rem;
    border-radius: 1rem;
}

header .navbar ul li a:hover{
    background:black;
    color: #fff;
}


#menu{
    position: fixed;
    top:2rem; right:2rem;
    background:#333;
    color:#fff;
    cursor: pointer;
    font-size: 2.5rem;
    padding:1rem 1.5rem;
    z-index: 1000;
    display: none;
}

.home{
    display: flex;
    justify-content: space-around;
    /* flex-flow: column; */
    padding:0 15rem;
}
.home>div{
    align-self: center;
}
.home h3{
    font-size: 2.5rem;
    color:#000000;
}

.home h1{
    font-size:5rem;
    color:#000000;
}

.home h1 span{
    color:var(--blue);
}

.home p{
    font-size:2rem;
    color:#000000;
    padding: 1rem 0;
}

.about .row{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding:1rem 0;
}

.about .row .info {
    flex:1 1 48rem;
    padding:2rem 2rem;
    padding-left: 6rem;
    
}

.about .row .info h3{
    font-size: 2rem;
    color:var(--blue);
    padding:1rem 0;
    font-weight: normal;
}

.about .row .info h3 span{
    color:#000000;
    padding:0 .5rem;
}

.about .row .counter{
    flex:1 1 48rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.about .row .counter .box{
    width:20rem;
    background:#222;
    text-align: center;
    padding: 2rem;
    margin:2rem;
}

.about .row .counter .box span{
    font-size: 4rem;
    color:var(--blue);
}

.about .row .counter .box h3{
    font-size: 2rem;
    color:#000000;
}

.portfolio .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding:2rem 0;
    
}

.portfolio .box-container .box{
    height: 20rem;
    width:26rem;
    border-radius: 1rem;
    margin:2rem;
    overflow: hidden;
    cursor: pointer;
    
}

.portfolio .box-container .box img{
    height:100%;
    width:100%;
    object-fit: cover;
}

.portfolio .box-container .box:hover img{
    transform: scale(1.2);
}

.contact .row{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.contact .row .content{
    flex:1 1 30rem;
    padding:4rem;
    padding-bottom: 0;
}

.contact .row form{
    flex:1 1 45rem;
    padding:2rem;
    margin:2rem;
    margin-bottom: 4rem;
}

.contact .row form .box{
    padding:1.5rem;
    margin:1rem 0;
    background:#3333;
    color:#000000;
    text-transform: none;
    font-size: 1.7rem;
    width:100%;
}

.contact .row form .box::placeholder{
    text-transform: capitalize;
}

.contact .row form .message{
    height: 15rem;
    resize: none;
}

.contact .row .content .title{
    text-transform: uppercase;
    color:#000000;
    font-size: 3rem;
    padding-bottom: 2rem;
}

.contact .row .content .info h3{
    display: flex;
    align-items: center;
    font-size: 2rem;
    color:#000000;
    padding:1rem 0;
    font-weight: normal;
    text-transform: none;
}

.contact .row .content .info h3 i{
    padding-right: 1rem;
    color:var(--blue);
}

.top{
    position: fixed;
    bottom:7.5rem; right: 2rem;
    z-index: 100;
    display: none;
}

.mainC{
    display: flex;
    justify-content: center;
    width: 100%;
    border: 1px solid rgb(45, 60, 232);
}
.mainC>div{
    width: 100%;
    margin-left: 5%;
}
.prj-flex{
    margin-top: 30px;
}
.prj-flex1{
    width: 95%;
    /* border: 1px solid red; */
    height: 50px;
    margin-top: 10px;
    
}
.prj-flex1>h1{
    color:#2424f9;
    font-size: 3em;
   text-align: center;
   text-decoration: underline;
   
}
.prj-flex2{
    width: 95%;
    /* border: 1px solid green; */
    /* height: 180px; */
    margin-top: 25px;
}

.prj-flex3{
    width: 95%;
    height: 350px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    
}
.prj-flex3 img:hover{
    -webkit-transform: scale(1.1);
	transform: scale(1.1);
}
.tech{
    color:#2424f9;
    font-size: 20px;
}
.prj-flex2>h3{
    color: rgb(0, 0, 0);
    font-size: 1.75em;
}
.margin{
    margin-left: 5%;
}
.img{
    width: 100%;
    height: 100%;
}


#github-stats{
    margin-top: 30px;
    text-align: center;
    color: rgb(0, 0, 0);
}
#github-stats img:hover{
    -webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.pro2{
    display: grid;
    grid-template-columns: repeat(2,1fr);
   margin-top: 30px;
   gap: 50px;
   
}
/* .pro2 img:hover{
    opacity: 70%;

} */

.skills-body{
    width: 60%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 25%;
    gap: 20px;
    
}
.skills-body>div{
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 10px;
    text-align: center;
   
}
.skills-body>div:hover{
    -webkit-transform: scale(1.1);
	transform: scale(1.1);
}
.github .calendar {
    width: 100%;
    padding-top: 30px;
    border: none;
  }



/* media queries  */

@media (max-width:1200px){

    html{
        font-size: 55%;
    }

    .home{
        padding:1rem 4rem;
    }

}

@media (max-width:991px){

   header{
       left:-120%;
   }

   #menu{
       display: block;
   }

   header.toggle{
    left:0%;
   }

   body{
       padding:0;
   }
   
   .pro2{
        display: grid;
        grid-template-columns: repeat(1,1fr);
    }
    .skills-body{
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }
    .calendar{
        width: none;
        display: none;
    }
}

@media (max-width:768px){

    html{
        font-size: 50%;
    }
    .pro2{
        display: grid;
        grid-template-columns: repeat(1,1fr);
    }
    .skills-body{
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }
    .container img{
        width: 100%;
    }
    .calendar{
        width: none;
        display: none;
    }
 }

@media (max-width:400px){

    header{
        width: 100vw;
    }

    .heading{
        margin:0 3rem;
    }

    .about .row .counter .box{
        width: 100%;
    }
 
    .education .box-container .box{
        width:100%;
    }

    .portfolio .box-container .box{
        width:100%;
    }

    .contact .row form{
        margin:3rem 0;
    }
    .pro2{
        display: grid;
        grid-template-columns: repeat(1,1fr);
    }
    
    .skills-body{
        display: grid;
        grid-template-columns: repeat(1,1fr);
    }
    .container img{
        width: 100%;
    }

    .calendar{
        width: none;
        display: none;
    }
 }

 .container{
    padding: 3rem;
 }
/* 
 .pro2{
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
 } */