*{
    padding: 0;
    margin: 0;
    font-family: serif;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    transition: all 0.2s linear;
    outline: none; border: none;
    text-transform: capitalize;
}

:root{
    --yellow:#f9ca24;
}

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

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

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

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

body{
    background: #111;
    overflow-x: hidden;
    padding-left: 30rem;
}

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

header{
    position: fixed;
    top: 0; left: 0;
    display: flex;
    height: 100%;
    z-index: 1000;
    width: 32rem;
    justify-content: center;
    flex-flow: column;
    align-items: center;
    background: #1a1a1a;
}

.mobile{
    display: none;
}

.user{
    padding-left: 2rem;
}

header .user img{
    height: 15rem;
    width: 17rem;
    border-radius: 50%;
    border: 0.7rem solid var(--yellow);
    margin-bottom: 1rem;
}

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

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

header .lap .navbar{
    width: 100%;
}

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


header .menu{
    position: fixed;
    color: #fff;
    cursor: pointer;
    left: 2rem; top: 2rem;
    padding-bottom: 2rem;
    z-index: 1000;
    font-size: 2.5rem;
    display: none;
    transition: 0.7s;
}

header h3{
    color: #fff;
    padding-bottom: 1rem;
}

#check{
    display: none;
}


.menu:hover{
    color: var(--yellow);
}

.navbar ul li a{  
    display: block;
    background: #222;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 5rem;
    font-size: 2rem;
    color: white;
    text-align: center;
}   

.navbar ul li a:hover{
    background:var(--yellow);
    color: crimson;
}


div.contact{
    color: #eee;
    font-size: 25px;
}

.home{
    display: flex;
    justify-content: center;
    flex-flow: column;
    padding: 0 10rem;
}


.homeuser{
    display: none;
    
}

.homeuser img{
    size: 50%;
    border: 5px solid var(--yellow);
    border-radius: 50%;
    height: 20rem;
    width: 20rem;
    margin-bottom: 2rem;
    padding-left: 0
}

.homeuser .name{
    font-size: 3.5rem;
    padding-left: 0px;
    color: #fff;
}

.homeuser .post{
    font-size: 2.5rem;
    color: #fff;

}

.home h3{
    font-size: 2.5rem;
    color: #fff;
}

.home h1{
    font-size: 4rem;
    color: #fff;
}

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

.home p{
    font-size: 2.5rem;
    color: #fff;
}

.icon{
     position: relative;   
    padding-top: 0;
    padding-left: 13rem;
    display: none;
}

.icon a{
font-size: 40px;
padding-right: 30px;
color: white;
transition: 8s all wipe;
padding-bottom: 30px;
padding-right: 30px;
cursor: pointer;
}

.icon a:hover{
    color: var(--yellow);
}

.btn{
padding: 0.7rem 3rem;
background: #333;
color: white;
cursor: pointer;
margin-top: 1rem;
font-size: 2rem;
border-radius: 5rem;
}

.btn a{
    color: white;
}

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

.btn:hover{
    background: var(--yellow);
    color: crimson;
}

section.about{
    justify-content: center;
    padding: 100px 50px;
    
}
   
h1.heading{
    font-size: 30px;
    color: var(--yellow);
    padding-bottom: 10px;
    text-align: center;
    justify-content: center;
    border-bottom: 1px solid black;
}

.row{
    padding-top: 10px;
}
.about div.row{
    display: list-item;
    flex-wrap: wrap;
    padding: 30px 0px;
    font-size: 20px;
}

.row h3{
color: white;
text-transform: capitalize;
padding-bottom: 10px;

}

.row h3 span{
    color: var(--yellow);
}

.row h3 ol span{
    color: #fff;
    padding: 0 30px;
}

.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:#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:1rem 0;
    font-weight: normal;
}

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

.education .box-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    padding-left: 3rem;
    flex-wrap: wrap;

}

.education .box-container .box{
    width: 27rem;
    margin: 4rem 1rem;
    padding-left: 4rem;
    border-left: 0.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: 1.6rem;
    color: #fff;
    padding: 15px 0;
}

.education .box-container .box i{
    position: absolute;
    top: -1.5rem; left: -2.5rem;
    background: var(--yellow);
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    text-align: center;
    line-height: 5rem;
    font-size: 3rem;
    color: #fff;
}

.education .box-container .box p{
    color: #fff;
    font-size: 2rem;
}

.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);
}


@media only screen and (max-width:768px){

    html{
        font-size: 50%;
    }
 
 }

 @media (max-width:425px){

header{
    height: 50%;
    z-index: 1000;
    width: 5rem;
    justify-content: left;
    flex-flow: column;
    background: none;
    padding-left: 1rem;

}

header .menu{
    display: block;
}


header .mobile .navbar{
    padding-top: 5rem;
    padding-left: 3rem;
}

header .navbar ul li a{
    display: block;
    background: none;
    padding: 0;
    padding-bottom: 2rem;
    font-size: 3rem;
    color: #fff;
    margin: 2rem 2rem;
    
}   

 

.navbar ul li a:hover{
    color: var(--yellow);
    background: none;
    z-index: -1;
}

 header .lap{
    display: none;
    
 }

 header .mobile{
    display: block;
    padding: 0;
    margin: 0;
 }

 header .mobile .navbar{
    display: none;
 }

 .icon{
       padding-bottom: 5rem;
       padding-left: 15rem;
       size: 20px;
       display: block;
}

.icon a{
    font-size: 20px;
}

 #check{
    display: none;
}

#check:checked ~.mobile .navbar{
    display: block;
 }


body{
    padding: 0;
}

#home{
    padding: 0;
    padding-left: 20px;
    padding-bottom: 8rem;
    padding-top: 0;

}

 #home h3{
        font-size: 25;
        padding-left: 4rem;
    }

#home h1{
        font-size: 30;
        padding-left: 4rem;
    }

#home p{
        font-size: 20px;
        padding-left: 4rem;
    }

#home a{
    padding-left: 4rem;
}


.homeuser{
        display: inline-block;
        padding-top: 100px;
        padding-bottom: 2rem;
        padding-left: 14rem;
        size: 40%;
}


#about{
    padding-top: 0;
}


#education div.box{
    margin-left: 30px;
    font-weight: 500;
}

 }

 @media only screen and (max-width:375px){

   
    #home{
        padding: 0;
        padding-left: 5px;
        padding-bottom: 10rem;
                
    }

    #home h3{
        font-size: 25;
    }

    #home h1{
        font-size: 30;
    }

    #home p{
        font-size: 20px;
    }


    .home .homeuser{
        padding-top: 100px;
        padding-bottom: 20rem;
        padding-left: 10rem;
        size: 40%;
}


    #about{
        padding-left: 4rem;
    }

    #about #row{
        font-size: 15px;
        padding-left: 20px;
    }
 }

 
/* small devices (mobiles) */

 @media only screen and (max-width:320px){
 
    #menu{
        display: block;
        color: #fff;
    }

    .homeuser{
       padding-left: 10rem;
    }


    .icon{
        padding-left: 10rem;
        padding-bottom: 10rem;
    }

    #home{
        padding: 0;
        padding-left: 5px;
        padding-bottom: 10rem;
                
    }

    #home h3{
        font-size: 25;
        padding-left: 4rem;
    }

    #home h1{
        font-size: 30;
        padding-left: 4rem;
    }

    #home p{
        font-size: 20px;
        padding-left: 4rem;
    }

    #home a{
        padding-left: 4rem;
    }

    #education{
        padding-top: 0;
    }

    #about{
       padding-left: 4rem;
    }

    #about #row{
        font-size: 15px;
        padding-left: 20px;
    }

    #education .box-container{
        padding-left: 15px;
    }

    #education div.box h3{
        font-size: 20px;
    }

    #education div.box p{
        font-size: 15px;
    }
}
