@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');

:root{
    --yellow:#f9ca24;

}

*{
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none; border: none;
    text-transform: uppercase;
    transition: all .2s linear;

}

*::selection{
    background: var(--yellow);
    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(--yellow);
}

body{
    background: #111;
    overflow-x: hidden;
    padding-left: 35rem;
}

section{
    min-height: 100vh;
    padding: 1rem;
}

.btn{
    padding: 1rem 1.2rem;
    background: #333;
    color: #fff;
    cursor: pointer;
    margin-top: 2rem;
    font-size: 1.5rem;
    border-radius: 5rem;
    text-transform: none; 
}

.btn i{
    padding: 0 .3rem;
    font-size: 1.3rem;
}

.btn:hover{
    background: var(--yellow);
    color: #000;
    font-size: 1.8rem;
}

.btn1{
    padding: 1rem 1.2rem;
    background: #333;
    color: #fff;
    cursor: pointer;
    margin-top: 2rem;
    font-size: 1.5rem;
    border-radius: 5rem;
    text-transform: none;
    margin-left: -55px; 
}

.btn1 i{
    padding: 0 .3rem;
    font-size: 1.3rem;
}

.btn1:hover{
    background: var(--yellow);
    color: #000;
    font-size: 1.8rem;
}

.heading{
    text-align: center;
    margin: 0 6rem;
    font-size: 4rem;
    padding-bottom: 1rem;
    border-bottom: .1rem solid #fff4;
    color: #fff;
    margin-top: 30px;
    margin-bottom: -10px;
}

.heading span{
    color: var(--yellow);
}

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 #fff;
}

header .user .name{
    font-size: 3rem;
    color: #fff;
    padding-bottom: 5px;
}

header .user .post{
    font-size: 1.7rem;
    color: #eee;
    padding-bottom: 20px;
}

header .navbar{
    width: 80%;
}

header .navbar ul{
    list-style: none;
    padding: 1rem 3 rem;
}

header .navbar ul li a{
    display: block;
    padding: 1rem;
    margin: 1.5rem 0;
    background: #333;
    color: #fff;
    font-size: 1.8rem;
    border-radius: 5rem;
}

header .navbar ul li a:hover{
    background: var(--yellow);
    color: black;
    font-size: 2.2rem;
}

#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 17rem;

}

.home h3{
    font-size: 2.5rem;
    color: #fff;
    text-transform: none; 
}

.home h1{
    font-size: 5rem;
    color: #fff;
    text-transform: none; 
}

.home h1 span{
    color: var(--yellow);
    text-transform: none; 
}

.home p{
    font-size: 1.7rem;
    color: #fff;
    padding: 1rem 0;
    text-transform: none;
    text-align: justify;
    text-justify: inter-word;
    line-height: 25px;
}

.about .row{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.about .row .info{
    flex: 1 1 48rem;
    padding: 1rem 0.5rem;
    padding-left: 9.8rem;
    padding-top: 50px;
    margin-left: 10px;
}

.about .row .info h3{
    font-size: 1.8rem;
    color: #fff;
    padding: 1rem 0;
    margin-right: 40px;
    font-weight: normal;
    text-transform: none;
    text-indent: -62px;
}

.about .row .info h3 span{
    color: var(--yellow);
    padding: 0 .5rem;
    text-transform: none;

}

.about .row .counter{
    flex: 1 1 48rem;
    display: flex;
    padding: .5rem .5rem;
    padding-top: 5rem;
    padding-right: .5rem;
    flex-wrap: wrap;
}

.about .row .counter .box{
    width: 20rem;
    background: #222;
    text-align: center;
    padding: 2rem;
    margin: 1.5rem;
}

.about .row .counter .box:hover{
    transform: scale(1.2);
}

.about .row .counter .box .number{
    font-size: 3.5rem;
    color: var(--yellow);
    line-height: 30px;
    padding-bottom: 20px;
}

.about .row .counter .box span{
    font-size: 24px;
    color: var(--yellow);
    line-height: 30px;
    padding-bottom: 20px;
}

.about .row .counter .box h3{
    font-size: 1.2rem;
    color: #fff;
    line-height: 18px;
    letter-spacing: 2px;
    margin-top: 10px;
    text-transform: none;
}

.about .row .info .btn{
    padding: 1rem 1.7rem;
    background: #333;
    color: #fff;
    cursor: pointer;
    margin-top: 2rem;
    font-size: 1.5rem;
    border-radius: 5rem;
    text-transform: none;
}

.about .row .info .btn i{
    padding: 0 .5rem;
    font-size: 1.5rem;
}

.about .row .info .btn:hover{
    background: var(--yellow);
    color: #000;
    font-size: 1.8rem;
}

.education .box-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: .5rem 0;
    padding-left: 5rem;
    padding-right: 2rem;
    padding-top: 3rem;
}

.education .box-container .box{
    width: 27rem;
    height: 18rem;
    margin: 4rem .5rem;
    padding-top: 1.6rem;
    padding-left: 4rem;
    border-left: .2rem solid  #fff;
    position: relative;
}

.education .box-container .box span{
    font-size: 1.5rem;
    background: #222;
    color: #fff;
    border-radius: 5rem;
    padding: 1rem 2.5rem;
}

.education .box-container .box h3{
    font-size: 2rem;
    color: #fff;
    padding-top: 3.5rem;
}

.education .box-container .box h1{
    font-size: 1.15rem;
    color: #fff;
    padding-top: 1rem;
    letter-spacing: 2px;
}

.education .box-container .box p{
    font-size: 1.2rem;
    letter-spacing: 1px;
    line-height: 15px;
    color: #eee;
    padding: 1rem 0;
}

.education .box-container .box i{
    position: absolute;
    top: -.5rem; left: -2.5rem;
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    line-height: 5rem;
    text-align: center;
    margin-top: 2px;
    font-size: 2rem;
    color: #fff;
    background: var(--yellow);
    opacity: 1;
}

.portfolio .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 4rem 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;
    margin-top: -10rem;

}

.contact .row form{
    flex: 1 1 45rem;
    padding: 2rem 2rem;
    margin: 2rem;
    margin-bottom: 1rem;
    text-transform: none;
}

.contact .row form .box{
    padding: 1rem;
    margin: 1rem 0;
    background: #3333;
    color: #fff;
    text-transform: none;
    width: 100%;
}

.contact .row form .message{
    height: 20rem;
    resize: none;
}

.contact .row .content .title{
    text-transform: uppercase;
    color: #fff;
    font-size: 3rem;
    padding-bottom: 1rem;
    padding-top: 0rem;
}

.contact .row .content .info h3{
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    color: #eee;
    padding: 1rem 0;
    font-weight: normal;
    text-transform: none;
}

.contact .row .content .info h3 i{
    padding-right: 1rem;
    color: var(--yellow);
}

.contact .row a i{
    margin-left: 20rem;
}

.contact .row .content .info a i{
    padding-right: -0.5px;
    color: var(--yellow);
    font-size: 20px;
    display: flex;
}

.contact .lab_social_icon_footer {
    padding: 10px 0;
    background-color: s;
    
}
  
.contact .lab_social_icon_footer a i{
    margin-top: 20pt;
    margin-left: 10px;
    
}
  
.contact .lab_social_icon_footer .social:hover {
  transform: scale(1.05);
  border-radius: 10%;
}
  
.contact .lab_social_icon_footer .social {
  transform: scale(0.8);
  transition-duration: 0.2s;
  border-radius: 10%;
}
  /*
      Multicoloured Variations
  */

.contact .lab_social_icon_footer #social-fb {
    color: #1877f2;
    margin-left: 40px;
    margin-right: 20px;
    height: 40px;
}
  
.contact .lab_social_icon_footer #social-tw {
    color: #1DA1F2;
    margin-right: 20px;
    height: 40px;
}
  
.contact .lab_social_icon_footer #social-li {
    color: #0077b5;
    margin-right: 20px;
    height: 40px;
}
  
.contact .lab_social_icon_footer #social-em{
    color: #fb3958;
    margin-right: 20px;
    height: 40px;
    border-radius: 9.5px;
}



/*.footer{
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 2rem;
    height: 5rem;
    background-color: var(--yellow);
    padding-left: 20rem;
    margin-left: 10rem;
    margin-top: -18rem;
}

.footer a i{
    color: black;
    padding-left: 20rem;
    margin-left: 10rem;
    margin-top: -18rem;
}*/

/*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;
    }

    .contact .row .content{
        margin-top: 30px;
    }

    .contact .lab_social_icon_footer a i{
        margin-top: 10pt;
    }

    .contact .lab_social_icon_footer #social-fb {
        margin-left: 20px;
        margin-right: 20px;
        line-height: 28px;
        height: 28sspx;
    }

    .contact .lab_social_icon_footer #social-li {
        margin-right: 20px;
        line-height: 28px;
        height: 28px;
    }

    .contact .lab_social_icon_footer #social-tw {
        margin-right: 20px;
        line-height: 28px;
        height: 28px;
    }

    .contact .lab_social_icon_footer #social-em {
        margin-right: 20px;
        line-height: 28px;
        height: 28px;
        border-radius: 6px;
    }
}

@media (max-width:768px){
    html{
        font-size: 50%;
    }

    .contact .row .content{
        margin-top: 50px;
    }

    .contact .lab_social_icon_footer a i{
        margin-top: 10pt;
    }

    .contact .lab_social_icon_footer #social-fb {
        margin-left: 20px;
        margin-right: 20px;
        line-height: 28px;
        height: 24px;
    }

    .contact .lab_social_icon_footer #social-li {
        margin-right: 20px;
        line-height: 28px;
        height: 28px;
    }

    .contact .lab_social_icon_footer #social-tw {
        margin-right: 20px;
        line-height: 28px;
        height: 24px;
    }

    .contact .lab_social_icon_footer #social-em {
        margin-right: 20px;
        line-height: 28px;
        height: 28px;
        border-radius: 6px;
    }
}

@media (max-width:400px){
    header{
        width: 100vw;
    }

    .heading{
        margin-top: 20px;
    }

    .about .row .counter{
        margin-left: 10%;
    }

    .about .row .counter .box{
        width: 80%;
    }

    .about .row .info .btn{
        margin-left: 10%;
    }

    .education .box-container .box{
        width: 100%;
    }

    .portfolio .box-container .box{
        width: 80%;
    }

    .contact .row form{
        margin: 3rem 0;
    }

    .contact .row .content{
        margin-top: 20px;
    }

    .contact .lab_social_icon_footer a i{
        margin-top: 10pt;
    }

    .contact .lab_social_icon_footer #social-fb {
        margin-left: -5px;
        margin-right: 20px;
        line-height: 28px;
        height: 24px;
    }

    .contact .lab_social_icon_footer #social-li {
        margin-left: 5px;
        margin-right: 20px;
        line-height: 28px;
        height: 28px;
        margin-left: -10px;
    }

    .contact .lab_social_icon_footer #social-tw {
        margin-left: -10px;
        margin-right: 20px;
        line-height: 28px;
        height: 24px;
    }

    .contact .lab_social_icon_footer #social-em {
        margin-left: -10px;
        margin-right: 20px;
        line-height: 28px;
        height: 28px;
        border-radius: 6px;
    }
}

