
@import url('https://fonts.googleapis.com/css2?family=El+Messiri&display=swap');

    

:root{
    --yellow:#c7850b;
}

*{
    font-family: 'El Messiri', 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(--yellow);
    color:#333;
}
body{
  
    overflow-x: hidden;
    padding-left: 35rem;
    background-image:url(../images/body.jpg);
   
}
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);
}


/*----------header---------*/
section{
    min-height: 100vh;
    padding:0rem;
}
header .user img{
    height:17rem;
    width:17rem;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 8rem;
    border:.7rem solid rgb(148, 126, 3);
    background-image:url(../images/home33.jpg);
        box-shadow: -50px 20px 50px rgba(1, 2,5,0.6);
}



header{
    position: fixed;
    top:0; left:0;
    z-index: 1000;
    height:100%;
    width:35rem;
    background-image:url(../images/home333.jpg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
    box-shadow: -30px 30px 30px rgba(0, 0,0,0. 3);
}


header .user .name{
    font-size: 3.5rem;
    color:rgb(245, 246, 250);
    margin: 5px;
}

header .user .post{
    font-size: 2.80rem;
    color:var(--yellow);
    margin-bottom: 1px;
    box-shadow: -50px 20px 50px rgba(1, 2,5,0.6);
}

header .navbar{
    width:100%;
    
}

header .navbar ul{
    list-style: none;
    padding:1rem 3rem;
    margin-bottom: 66px;
}


header .navbar ul li a{
    display: block;
    padding:1rem;
    margin:0.5rem 0;
    background:rgb(216, 214, 214);
    color:rgb(1, 54, 6);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 5rem;
}

header .navbar ul li a:hover{
    background:var(--yellow);
}

/*----------menu---------*/
#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;
        background-image: url(../images/home-55.jpg) no-repeat;
    }
    
    .home h3{
        font-size: 2.5rem;
        color:rgb(16, 85, 2);
    }
    
    .home h1{
        font-size:5rem;
        color:rgb(6, 95, 3);
    }
    
    .home h1 span{
        color:var(--yellow);
    }
    
    .home p{
        font-size:2rem;
        color:rgb(6, 95, 3);
        padding: 1rem 0;
    }
    
    /*----------about---------*/
    .about .row {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        padding:2rem 8;
        padding-bottom: 15%;
        padding-top: 5%;
        background-image: url(../images/home-55.jpg) ;

    }
    
    .about .row .info{
        flex:1 1 48rem;
        padding:4rem 6rem;
        padding-left: 8rem;
        
    }
    
    .about .row .info h3{
        font-size: 1.70rem;
        color:#ce9f07;
        padding:1rem 0;
        font-weight: normal;
        text-shadow: 1px 1px #a0a0a0;
    }
    
    .about .row .info h3 span{
        color:rgb(8, 71, 2);
        padding:0 .5rem;
    }
    
    .about .row .counter{
        flex:1 1 48rem;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        background-image: url(images/home-55.jpg);
        
    }
    
    .about .row .counter .box{
        width:20rem;
        background:#222;
        text-align: center;
        padding: 2rem;
        margin:2rem;
        background-image: url(../images/co-1.jpg);
        box-shadow: rgb(148, 148, 148) 2px 3px;
        border-radius: 20px;
    }
    .box:hover{
        transform: scale(1.2);
      /* transform: rotatey(180deg) ;*/
    }
    
    .about .row .counter .box span{
        font-size: 4rem;
        color:#fff;
    }
    
    .about .row .counter .box h3{
        font-size: 2rem;
        color:rgb(8, 71, 2);
       
    }

    

    .btn{
        padding:.7rem 3rem;
        background:var(--yellow);
        color:#fff;
        font-family: calibri , 'Times New Roman', Times, serif;
        cursor: pointer;
        margin-top: 1rem;
        font-size: 2rem;
        border-radius: 5rem;
    }
    
    .btn i{
        padding:0 .5rem;
        font-size: 1.8rem;
    }
    
    .btn:hover{
        background:rgb(6, 95, 3);
       
    }   
    .heading{
        text-align: center;
        margin:0 0rem;
        font-size: 4rem;
        padding:1rem;
        border-bottom: .1rem solid #fff4;
        color:var(--yellow);
        background-image: url(../images/home33.jpg);
    }
    
    .heading span{
        color:var(--yellow);
    }


   /*----------education------------*/
   .education .box-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding:2rem 0;
    padding-left: 3rem;
    background-image: url(../images/home-55.jpg);
}

.education .box-container .box{
    width:27rem;
    margin:4rem 1rem;
    padding-left: 4rem;
    border-left: .2rem solid rgb(22, 68, 1);
    position: relative;
    
}

.education .box-container .box span{
    font-size: 1.3rem;
    background:rgb(22, 68, 1);
    color:#fff;
    border-radius: 5rem;
    padding:.5rem 2.5rem;
}

.education .box-container .box h3{
    font-size: 2rem;
    color:var(--yellow);
    padding-top: 1.5rem;
}

.education .box-container .box p{
    font-size: 1.4rem;
    color:rgb(22, 68, 1);
    padding: 1rem 0;
    direction: rtl;
    white-space: normal;
    overflow: auto;
}

.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---------*/
.portfolio .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding:2rem 0;
    background-image: url(../images/home-55.jpg);
}

.portfolio .box-container .box{
    height: 20rem;
    width:26rem;
    border-radius: 1rem;
    margin:3.55rem 0;
    overflow: hidden;
    cursor: pointer;
}

.portfolio .box-container .box img{
    height:100%;
    width:100%;
    object-fit: cover;
    padding: 5px;
    width: 70%;
    height: 100%;
    border: 1px solid#fff;
    border-radius: 20px;
    box-shadow: -10px -5px 5px 2px rgba(0, 1,3,0.1);
}


.portfolio .box-container .box:hover img{
    transform: scale(1.2);
}

/*-----------contact-------------*/
.contact .row{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding:2rem 0;
    background-image: url(../images/home-55.jpg);
}




.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: -10rem;
}

.contact .row form .box{
    padding:1.5rem;
    margin:1rem 0;
    background:#3333;
    color:rgb(22, 68, 1);
    text-transform: none;
    font-size: 1.7rem;
    width:100%;
    border-radius: 20px;
}

.contact .row form .box::placeholder{
    text-transform: capitalize;
    
}

.contact .row form .message{
    height: 15rem;
    resize: none;
}

.contact .row .content .title{
    text-transform: uppercase;
    color:rgb(22, 68, 1);
    font-size: 3rem;
    padding-bottom: 8rem 4;

}

.contact .row .content .info h3{
    display: flex;
    align-items: center;
    font-size: 2rem;
    color:rgb(22, 68, 1);
    padding:1rem 0;
    font-weight: normal;
}

.contact .row .content .info.info h3  i{
    padding-right: 6rem;
    color:var(--yellow);
    padding: 4px;
    
}

.contact  .sucil a {
    color: rgb(22, 68, 1);
    padding: -6px;
    position: relative;
    top: 100px;
    left: 33px;
    right: 50%;
    font-size: 14px;
    padding-bottom: 50px;
    
}

.contact  .sucil a i{
    color: #ce9f07;
    padding: 8px;
    position: relative;
    top: 11%;
    left:44%;
    right: 0%;
    font-size: 10px;
    display: initial;
    
    
}
.contact .row .end{
    font-size: 50px;
    color: rgb(194, 134, 5);
    font-weight: 700;
    position: relative;
    top: 110px;
    left: 30%;
    margin-top: 3%;
}

.top{
    position: fixed;
    bottom:7.5rem; right: 2rem;
    z-index: 100;
    display: none;
}
 
/* -----whatsapp icon run------  */
.whatsapp img{
    width: 42px;
    height: 40px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    right: 0px;
}

.whatsapp img:hover{
border-radius:52px;
}


/* -----media queries------  */

@media (max-width:1200px){

    html{
        font-size: 55%;
    }

    .home{
        padding:1rem 4rem;
    }

}

/* -----media queries------  */

@media (max-width:991px){

   header{
       left:-120%;
   }

   #menu{
       display: block;
   }

   header.toggle{
    left:0%;
   }

   body{
       padding:0;
   }

}

/* -----media queries------  */

@media (max-width:768px){

    html{
        font-size: 50%;
    }
 
 }

@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;
    }

 }