@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@200;300;400;600&display=swap');

:root{
    --pink:#b51464;
}

*{
    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(--pink);
    color: #333;
}

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(--pink);
}


body{
    background: #111;
    overflow-x: hidden;
    padding-left: 35rem;
}


section{

    min-height: 100vh;
    padding: 1rem;
}

.btn{
    padding: .7rem 3rem;
    background: #333;
    color: #fff;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 2rem;
    border-radius: 5rem;
}

.btn i{

    padding: 0 .5rem;
    font-size: 1.8rem;

}

.btn:hover{

    background: var(--pink);
}

.heading{
    font-size: 3rem;
    text-align: center;
    padding: 1rem;
    color: #fff;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 100%;
    width: 35rem;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
}

header .user img{

    height: 17rem;
    width: 17rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: .7rem solid var(--pink);
}

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: #333;
    color: #fff;
    font-size: 2rem;
    border-radius: 5rem;
}


header .navbar ul li a:hover{

    background: var(--pink);
}

#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: center;
    flex-flow: column;
    padding: 0 15rem;
}


.home .share{

    position: absolute;
    left: 50%;
    bottom: 5rem;
    transform: translateX(-50%);
    display: flex;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,.1);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.2);
}

.home .share a{

    background: rgba(255,255,255,.1);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.2);
    padding: 1rem 2rem;
    margin: 1rem;
    color: #fff;
    font-size: 2rem;
}


.home .share a:hover{
    background: var(--pink);
    color: #eee;
}


.home h3{

    font-size:2.5rem;
    color: #fff;
}

.home h1{

    font-size:5rem;
    color: #fff;
}

.home h1 span{

    color: var(--pink);
}

.about{
    min-height: 100%;

}

.about h1 span{

    color: var(--pink);
}
.about .content h3{
    text-align: center;
    font-size: 2.5rem;
    color: #eee;
}

.about .content h3 span{

    color: #fff;
}

.about .content p{
    text-align: center;
    font-size: 1.5rem;
    font-style: normal;
    color: #eee;
    padding: .5rem 0;
    text-transform: none;
}

.about .skills{
    
    padding: 1rem 0;
}

.about .skills .progress{

    margin: 1.5rem 0;
    padding: 1rem;
    box-shadow: var(--pink);
    background: var(--pink);
    border-radius: 1rem;
}

.about .skills .progress h3{

    display: flex;
    justify-content: space-between;
    font-size: 2rem;
    color: #fff;
}

.about .skills .progress .bar{

    position: relative;
    width: 100%;
    height: 1rem;
    margin: 1rem 0;
    background: #555;
}


.about .skills .progress .bar span{


    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #fff;
}


.about .skills .progress:nth-child(1) .bar span{

    width: 80%;

}


.about .skills .progress:nth-child(2) .bar span{

    width: 70%;
    
}

.about .skills .progress:nth-child(3) .bar span{

    width: 50%;
    
}

.about .skills .progress:nth-child(4) .bar span{

    width: 40%;
    
}

.about .skills .progress:nth-child(5) .bar span{

    width: 60%;
    
}
/* .about .skills .progress:nth-child(6) .bar span{

    width: 80%;
    
} */



.education h1 span{
    color: var(--pink);
}

 .education{
min-height: 80vh;
}

.education .box-container{

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem 0;
    padding-left: 3rem;
}

.education .box-container .box{

    width: 27rem;
    margin: 4rem 1rem;
    padding-left: 4rem;
    border-left: .2rem solid #fff;
    position: relative;
}


.education .box-container .box span{


    font-size: 1.3rem;
    background: #222;
    color: #fff;
    /* border-radius: 20rem; */
    /* padding: 5rem 2.5rem; */
}

.education .box-container .box h2{
    font-size: 2rem;
    color: #fff;
    padding-top: 2.5rem;
}


.education .box-container .box h3{
    font-size: 1.5rem;
    color: #fff;
    padding-top: 1.5rem;
}

.education .box-container .box p{
    font-size: 1.5rem;
    color: #fff;
    padding-top: 2rem ;
    text-transform: none;
}

.education .box-container .box h4{

    font-size: 1.25rem;
    color: #fff;
    padding-top: 1.5rem;
}

.education .box-container .box i{

    position: absolute;
    top: -1.5rem;
    left: -2.5rem;
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    line-height: 5rem;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    background: var(--pink);
}


.projects .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
}


.projects .box-container .box{

    height: 20rem;
    width: 26rem;
    border-radius: 1rem;
    margin: 2rem;
    overflow: hidden;
    cursor: pointer;
}


.projects .box-container .box img{

    height: 100%;
    width: 100%;
    object-fit: cover;

}


.projects .box-container .box:hover img{

    transform: scale(1.2);
}

.projects .heading span{
    color: var(--pink);
}

.contact .heading span{
    color: var(--pink);
}


.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;
    flex: 1rem 0;
    background: #3333;
    color: #fff;
    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;
    width: 100%;
}
.contact .row form .box-message{

    background: #3333;
    padding: 1.5rem;
}

.contact .row .content .title{

    text-transform: uppercase;
    color: #fff;
    font-size: 3rem;
    padding-bottom: 2rem;
}


.contact .row .content .info h3{


    display: flex;
    align-items: center;
    font-size: 2rem;
    color: #eee;
    padding: 1rem 0;
    font-family: normal;
}


.contact .row .content .info h3 i{

    padding-right: 1rem;
    color: var(--pink);
}



/* 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;

    }
  
}
@media (max-width:768px){
    

    html{
        font-size: 50%;
    }

  
}
@media (max-width:400px){
    

    header{

        width: 100VW;
    }

    .education .box-container .box{
        width: 100%;
    }

.projects .box-container .box{
    width: 100%;
}

.contact .row form{

    margin: 3rem 0;
}
  
}









