:root{
    --yellow:#f9ca24;
}
*{
    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 .1s linear;
}
*::selection{
    background:var(--yellow);
    color:#333;
}

html{
    font-size: 62.5%;
   
}

body{
    background:#111;
    overflow-x: hidden;
    
}
section{
    min-height: 100vh;
    
    margin-left: 25rem;
}

.btn{
    padding:.7rem 3rem;
    background:#000;
    color:#fff;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 2.5rem;
    border-radius: 5rem;
}

.btn i{
    padding:0 .5rem;
    font-size: 1.8rem;
}

.btn:hover{
    background:var(--yellow);
}

.heading{
    text-align: center;
    margin:0 6rem;
    font-size: 4rem;
    padding:1rem;
    border-bottom: .1rem solid #fff4;
    color:#fff;
}

.heading span{
    color:var(--yellow);
}



.sidebar .user img{
    margin-top: 1rem;
    height:18rem;
    width:18rem;
    border-radius: 50%;
    object-fit: cover;
   margin-left: 1.5rem;
    border:.2rem solid #333;
}

.sidebar .user .name{
    font-size: 2.5rem;
    text-align: center;
    color:#fff;
}

.sidebar .user .post{
    font-size: 1.5rem;
    color:#eee;
    text-align: center;
}

.sidebar .navbar{
    width:90%;
    margin-left: 5%;
}

.sidebar .navbar ul{
    list-style: none;
    
}


.sidebar .navbar ul li a{
    display: block;
    padding:.5rem;
    margin:2rem 0;
    background:#333;
    color:#fff;
    font-size: 2rem;
    border-radius: 35rem;
    text-align: center;

}

.sidebar .navbar ul li a:hover{
    background:var(--yellow);
}

.home{
    display: flex;
    justify-content: center;
    flex-flow: column;
    padding:0 15rem;

}

.home h3{
    font-size: 2.5rem;
    color:#fff;
}

.home h1{
    font-size:5rem;
    color:#fff;
}

.home h1 span{
    color:var(--yellow);
}

.home p{
    font-size:2rem;
    color:#eee;
    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 1rem;
    padding-left: 6rem;
}

.about .row .info h3{
    font-size: 2rem;
    color:var(--yellow);
    padding:1rem 0;
    font-weight: normal;
}

.about .row .info h3 span{
    color:#eee;
    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(--yellow);
}

.about .row .counter .box h3{
    font-size: 2rem;
    color:#fff;
}

.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: 5rem;
    padding:.5rem 2.5rem;
}

.education .box-container .box h3{
    font-size: 2rem;
    color:#fff;
    padding-top: 1.5rem;
}

.education .box-container .box p{
    font-size: 1.4rem;
    color:#eee;
    padding: 1rem 0;
}

.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(--yellow);
}

.portfolio .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding:2rem 0;
}

.portfolio .box-container .box{
    height: 18rem;
    width:24rem;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    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;
    margin-left: 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:#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;
}

.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:.5rem 0;
    font-weight: normal;
    margin-left: 4rem;
}

.contact .row .content .info h3 i button{
    padding-right: 1rem;
    color:var(--yellow);
}

.top{
    position: fixed;
    bottom:7.5rem; right: 2rem;
    z-index: 100;
    display: none;
}

/* media queries  */

@media (max-width:1200px){

    html{
        font-size: 55%;
    }

    .home{
        padding:1rem 4rem;
    }

}



@media (max-width:768px){

    html{
        font-size: 50%;
    }
 
 }

@media (max-width:400px){

    .sidebar{
        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;
    }

 }
 
 .card-body{
     height: 16.5rem;
    width:24rem ;
    color: white;
    font-size: 2rem;
    margin-left: 2.5rem;
    padding: 2rem;
    background-color:#333;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    border-right: 2rem;
 }
 
 .container-re{
    padding: 2rem;
    font-size: 2rem;
    margin-top: 20rem;
    width: 50rem ;
    height: 25rem;
    color: white;
    background-color:#333;
    border-radius: 2rem;
  
 }
.container{
    height: 10rem;
    background-color: #333;
    

}
.me{
    font-size: 2rem;
    color: white; 
    margin-left: 4rem;
    margin-button: 2rem;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: 'Josefin Sans', sans-serif;
}



.wrapper .sidebar{
  width: 22rem;
  height: 100%;
  margin-top: -1.5rem;
  background: #4b4276;
  position: fixed;
}
/*footer*/
footer{
    position: relative;
    width: 100%;
    height: 25rem;
    background: #101010;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
footer .nam{
    font-size: 3rem;
    color: white;
    margin-bottom: 3rem;
    font-weight: bold;
}
footer .nam1{
    color: white;
    font-size: 1.5rem;
    width:50rem;
    text-align: center;
    line-height: 2.5rem;
}
.social{
    display: flex;
}
.social a{
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background:  #f9004d;
    border-radius: 50%;
    margin: .5rem .5rem;
    color: white;
    text-decoration: none;
    font-size: 2rem;
}
.social a:hover{
    transform: scale(1.3);
    transition: .3s;
}
.end{
    position: absolute;
    color:#f9004d;
    top:22rem;
    margin-top: 1rem;
    font-size: 2rem; 
}
.footer1{
    margin-left: 23rem;
   
}

    









