*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; 
    }
#header{
    width: 100%;
    height: 100vh;
    /* background-image: url('/profImage/jely.png'); */
    background-image: url('../profImage/jely.png');
    background-repeat: no-repeat;
    background-position: 100% 50px;  
    background-size:contain;
    background-color: black;
    color: #fff;
    margin-bottom: 10px; 
    overflow-x: hidden;

}
 nav{
    width: 100%;
    /* height: 100px;  */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* flex-wrap: wrap; */
    border-bottom: 2px solid white; 
    padding: 10px;
    background-color: #000;
    transition: background 1s;
    position: fixed;
    z-index: 10;
}
nav ul li{
    list-style: none;
    display: inline-block;
    margin: 10px;
}
nav ul li a{
    color:#fff;
    /* padding: 10px; */
    text-decoration: none;
    font-weight: 700;
    position: relative;
}
nav .logo{
    display: flex;
    align-items: center;
    /* color: #fff; */
}

nav ul li a::after{
    content: '';
    width: 0%;
    height: 3px;
    background-color: crimson;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.9s;
}
nav ul li a:hover::after{/*you could also use before here*/
    width: 100%;
}
.hero{margin-top: 15%;
    margin-left: 10%;
    color: #fff;
    padding-left: 70px;
}
.hero h1{
    font-size: 70px;
    margin-top: -30px;
}
.hero p{
    font-size: 20px;

}
/* ---------------------slide effect--------------------------- */
.x1{
    animation: slide-left 1s linear forwards;
}
@keyframes slide-left{
    0%{
        trasform: translateX(100px);
        opacity: 0;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}
h1.x1{
    animation-delay: 1s;
}
h1.x2{
    animation-delay: 2s;
}
p.x1{
    animation-delay: 3s;
}
p.x2b{
    animation-delay: 4s;
}
p.x3{
    animation-delay: 5s;
}
p.x4{
    animation-delay: 6s;
}
.x1{
    opacity: 0;
}
.x2{
    opacity: 0;
}

.profile{
    display:block;
    height: 30px;
    width: 100px;
    margin: 3% 15%;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 20px;
    border: 1px solid red;
    /* background: transparent; */
    text-decoration: none;
    color:#fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    /* transition: 1s; */
}
.profile:hover{
    background-color: crimson;
    border: 1px solid #000;
}
/* --end of header-- */

/* ------ profile section begins ------- */
#profile{
    width: 100%;
    height: 615px;
    background-color:aqua;
    padding: 7% 5% 0;
   margin-bottom: 10px; 
}
.profile-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/*hrere, you could also use margin to space about-me and resume*/
.about-me{
    flex-basis: 30%;
     box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding: 5px;
    margin-top: 20px;
  }
  .smry{
    margin-top: 20px;
    margin-bottom: 5px;
  }
  .about-h3{
    margin-top: 35px;
    margin-bottom: 5px;
  }
.resume{display: flex;
    /* background-color: bisque; */
    /* width: 500px; */
    flex-basis: 65%;
    margin-top: -15%;
    border-top: 4px solid crimson;
    padding-top: 3px;
}
.educ{
    position: relative;
    margin-left: 35px;
}
.educ-tab{
    width: 400px; 
    margin-left: 20px;
    margin-top: 20px;
    line-height: 15px;
    display: none;
    position:absolute;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding-right: 5px;padding-left: 5px;
 }
 .educ-tab ul li, .exp-tab ul li{
    list-style: none;
    }
 .educ-tab ul li:nth-child(even),
 .exp-tab ul li:nth-child(even)
 {
    
    margin-bottom: 10px;
    background-color: #a9a9a9;
    color: #fff;
    font-weight: 600;
    padding: 3px;
    border-radius: 5px;
 }
 .educ-h2{
    margin-left: 40px;
    background-color: crimson;
    color: #fff;
    padding: 2px;
    cursor: pointer;
    border: 2px solid rgba(224, 241, 241, 0.904);
    width: 125px; 
    border-radius: 10px;
 }
 .edu-head,
 .exp-head,
 .skld-head{
    margin-bottom: 10px;
    text-decoration: underline;
    margin-left: 60px;

 }
 .edu-head,
 .exp-head{
    margin-left: 90px;
 }
 .exp{
    position: relative;
    margin-left: 300px;
    }
.exp-tab{
    width: 350px;
    margin-left: -170px;
    margin-top: 20px;
    line-height: 15px;
    display: none;
    position: absolute;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding-left: 5px;padding-right: 5px;
}

.exp-h2{
    margin-left: -170px;
    cursor: pointer;
    padding: 2px;
    background-color: royalblue;
    color: #fff;
    width: 125px; 
    border: 2px solid rgba(224, 241, 241, 0.904);
    border-radius: 10px;
}
.skld{
    margin-left: 90px;
    position: relative;
}
.skld-tab{
    width: 220px;
    margin-top: 20px;
    /* display: none; */
    position: absolute;
    margin-left: 0px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding-left: 20px;
    padding-bottom: 10px;
}
.skld-h2{
cursor: pointer;
padding-left: 35px;
background-color: #a9a9a9;
color: #fff;
width: 125px; 
border: 2px solid rgba(224, 241, 241, 0.904);
border-radius: 10px;
}
.current-learn{
    color: crimson;
}
#contact{
    width: 100%;
    height: 650px;
    /* background: #fff; */
    padding: 7% 5% 0;
    margin-bottom: 0;
    background-color: rgba(224, 241, 241, 0.904);
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.contact-container{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* border: 1px solid black; */
    padding-left: 5px;
    padding-right: 5px;
    height: 500px;

}
.form-container{
    flex-basis: 45%;
    /* border: 1px solid green; */
    height: 400px;
    margin-top: 17px;
    flex-wrap: wrap;
    }
form{
    margin-top: 50px;
    margin-left: 20px;
    margin-right: 20px;
    flex-wrap: wrap;
}
form input{
    margin-bottom: 10px;
    height: 33px;
    padding: 5px;
    border-radius: 10px;
   /* background-color: #262626; */
   outline: none;
   border: 0;
}
form .input-name{
    width: 98%;
}
form .input-others{
    width: 48%;
}
.others2{
    margin-left: 7px;
}
textarea{
    /* background-color: #262626; */
    width: 98%;
    height: 150px;
    padding: 10px;
    outline: none;
    /* background-color: darkgray; */
    resize: none;
    border: 0;
    border-radius: 10px;
    overflow: hidden;/*to hide the scroll bar*/
}
.button{
    width: 120px;
    height: 40px;
    padding: 10px;
    margin: 10px auto;
    background: rgb(255, 255, 255); 
    border-radius: 10px;
    cursor: pointer;

}
.address-wrapper{
    height: 400px;
    flex-basis: 50%;
    margin-left: 10px;
    /* border: 1px solid rgb(235, 82, 214); */
    padding: 5px;
    margin-top: 17px;
    display: flex;
    flex-wrap: wrap;
}
/* .address-map{
    flex: 1;
    margin-right: 20px;
   
    width: 260px;
    height: 350px;
    padding: 10px;
    border: 1px solid burlywood;
} */
/* #wrapper-9cd199b9cc5410cd3b1ad21cab2e54d3{

} */
#map-9cd199b9cc5410cd3b1ad21cab2e54d3{
    width: 240px;
    height: 240px;
    margin-left: auto;
    margin-right: auto;
    /* border: 1px solid blue; */
    margin-top: 30px;
}
.addr{
    width: 250px;
   /* border: 1px solid black; */
   height: 350px;
   margin-left: 10px;
}
address{
    flex: 1;
    padding-left: 25px;
    padding-right: 25px;
    margin-top: 20px;

}
/* .add-hr{
    margin-top: 10px;
} */
.cont-add{
    width: 180px;
    /* border-bottom: 3px solid #000; */
    padding-bottom: 20px;
    font-size: 13px;
}
.soc-med{

    padding-left: 10px;
    padding-bottom: 20px;
    border: 1px solid aliceblue;
    margin: 30px 5px 5px 5px;
    font-size: 13px;
}
.soc-med h4{
    margin-top: 5px;
    margin-left: 40px;
    margin-bottom: 5px;
}
.soc-med table{
    margin-left: 5px;
    margin-top: 10px;
}
.soc-med tr{
    display: inline-block;
    margin: 10px;
}

.soc-med table tr td img{
    height: 25px;
    width: 25px;
    border-radius: 50%;
}
table.tel{
    display: inline-block;
     width: 200px;
    /* background-color: #ecc2c2; */
    margin-top: 10px;
    margin-left: 10px;
    margin-right: -10px;
    /* border: 1px solid green;  */
    /* margin-bottom: 10px; */
    padding-top: 0;
}
table.tel tr{
    margin-top: 0;
    margin-bottom: 0;
}
.tel td a{
    text-decoration: none;
}

footer{
    clear: both;
    width: 100%;
    height: 40px;
    padding: 10px;
    background: #000;
    color: #fff;
    text-align: center;
}
nav .fas{
    display: none;
    width: 20px;
    height: 20px;
    font-size: 30px;
   }
   .download{
    padding: 5px 10px 10px;
    border: 2px solid black;
    margin-top: 8px;
    margin-bottom: 8px;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    height: 30px;
    font-weight: 700;
    color: #000;
    transition: 0.7s;
    }
   .download:hover{
    background-color: rgb(121, 238, 209);
    color: #fff;
   }
   .sp a{
    text-decoration: none;
   }
/*media query*/
@media only screen and (max-width:600px){
    body{
        font-size: 10px;
        overflow-x: hidden; 
        /* margin-right: 0; */
    }
    footer{
     width: 750px;
        box-sizing:border-box;
        margin-left:auto;margin-right:auto;
        padding:0;
    }
    #header, #profile, #contact, footer{
        width: 100%;
    }
    #header{
    display: block;
    height: 500px;
    background-image: url('../profImage/jelex2.png');
    background-repeat: no-repeat;
    background-position: 120px 50px; 
    }
    .header-text{
        margin-left: 30px;
        margin-top: 5px;
    }
    .profile{
        margin-top: 80px;
        margin-left: 10px;
        font-size: 10px;
        font-weight:300;
        /*height: 30px;*/
        width: 110px;
        text-align: center;
        padding: 8px 8px 15px;
    }
    .hero{
        width: 220px;
        margin-top: -50px;
        margin-left: 8px;
        padding: 10px;
    }

    .hero p{
        font-size: 12px;
        margin-top: 10px;
    }
    .pwrap{
        margin-top: 20px;

    }
    .container{
     width: 100%; 
        height: 250px;
    }
    .fa-bars{
        display: block;
        position: fixed;
        top: 5px;
        left: 5px;
        /* background-color: aqua; */
    }
    nav .fas{
        display: block;
        width: 20px;
        height: 20px;
        margin-top: 7px;
        font-size: 25px;
        cursor: pointer;
        
    }
    nav ul {
        position: fixed;
        top: 0;
        left: -230px;
        width: 230px;
        height: 100vh;
        background-color:rgb(157, 211, 211);
        padding-top: 10px;
        overflow: hidden;
        z-index: 100;
        transition: 0.7s;
    }
    nav ul li{
        display: block;
        margin: 20px;
    }
    nav ul li a{
        font-size: 14px;
        margin-left: 70px;
        margin-top: -20px;

    }
    nav ul .fas{
        position: absolute;
        top: 5px;
        left: 200px;
        cursor: pointer;
       
    }
    .hero h1{
        font-size: 20px;
        top: -100px;
    }
    h1.jelili{
        margin-bottom: 18px;
    }
    /*Profile section*/
    #profile{
        
        height: 750px;
        display: block;
        margin-left: 0px;
        overflow: hidden;

    }
    .profile-container{
        display: block;
        font-size: 13px;
    }
    .about-me{
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        padding-left: 5px;
    }
        .resume{
        width: 90%;
        margin-top: 20px;
    }
    .educ{margin-left: 30px;
    }
     .exp{
        position: absolute;
        left: 70px; 
    } 
    .skld{
       margin-left: 308px;
    }
    .educ-h2, .exp-h2, .skld-h2{
        font-size: 12px;
        width: 79px;
    }
    .educ-h2{
        margin-left: -20px;
        padding-left: 10px;
        /* width: 70px; */
    }
    .exp-h2{
        margin-left: -230px;
        /* margin-right: -5px; */
        padding-left: 7px;
        /* width: 77px; */
    }
    .skld-h2{
        margin-left: -170px;
        padding: 2px;
        padding-left: 20px;
    }
    .skld-head{
        margin-left:30px
    }
    .exp-head{
        margin-left: 40px;
    }
    .edu-head{
        margin-left: 40px;
    }
    .educ-tab{
        width: 300px;
        margin-left: -10px;
        font-size: 12px;
        padding-left: 10px;
        /* border: 1px solid black; */
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    }
    .exp-tab{
        width: 300px;
        font-size: 12px;
        margin-left: -320px;
        padding-left: 10px;
        /* border: 1px solid black; */
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    }
    .skld-tab{
        width: 250px;
        font-size: 12px;
        margin-left: -330px;
        padding-left: 20px;
        padding-bottom: 10px;
        position: relative;
        /* border: 1px solid black; */
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    }
    /*------------------------Contact section-------------*/
    #contact{
        flex-wrap: wrap;
        display: block;
        
        height: 930px;
        overflow: hidden;
    }
    #contact h2{
        margin-left: 10px;
    }
    .form-container{
        height: 230px;
    }
    .contact-container{
        display: block;
        height: 850px;
        width: 300px;
        margin-left: auto;
        margin-right: auto;
        /* border: 1px solid black; */
    }
    form{
        margin-left: 45px;
        margin-right: 45px;
        margin-top: 30px;
    }
    form input{
        height: 25px;
        /* outline:dimgrey; */
        padding: 10px;
    }
    form .input-name{
        width: 100%;
        border-radius: 5px;
    }
    form .input-others{
        width: 100%;
        border-radius: 5px;
    }
     form .others2{
        margin-left: 0px;
    } 
    textarea{
        /* background-color:rgba(205, 211, 211, 0.5); */
        width: 100%;
        height: 80px;
        padding: 5px;
        resize: none;
        overflow-y:scroll;
    }
    .button{
        display: block;
        text-wrap: normal;
        height: 30px;
        padding: 5px;
        width: 60%;
        margin-left: auto;  /*0px;*/
        margin-right:auto; /*40px;*/
        line-height: 5px;
        }
    .address-wrapper{
        display: block;
        width: 250px; 
        flex-wrap: wrap;
        height: 520px;
        margin-left: 25px;
       /* margin-top: -10px;*/
        position: relative;
        outline: none;
        border-style: none;
        /* border: 1px solid rgb(235, 82, 214);  */
    }
    #map-9cd199b9cc5410cd3b1ad21cab2e54d3{
        width: 220px;
        height: 200px;
        margin-left: 10px;
        margin-right: auto;
        margin-top: 10px;
        /* border: 1px solid rgb(235, 82, 214);   */
        /* border: 1px solid aliceblue; */
    }
    .addr{
        border: 1px solid #ecc2c2;
        margin:20px auto 0;
        height: 275px;
        width: 230px;
    }
    .cont-add{
        margin-top: 20px;
        margin-left: -5px;
        padding-left: 15px;
        padding-bottom: 5px;
        border: 1px solid #a9a9a9; 
     }
     .soc-med{
        border: 1px solid #a9a9a9;  
        margin-left: 10px;
        height: 180px;
        width: 210px;

     }
    .soc-med h4{
        margin-left: 40px;
        margin-right: auto;
    }
    .soc-med ul{
        margin-left: 80px;
    }
    .soc-med table{
        width: 185px;
        margin-left: 5px;
        margin-top: 10px;
        /* border: 1px solid black; */
    }

    .soc-med table tr{
        display: inline-block;
        margin: 3px;
    }
  .soc-med table tr td img{
    height: 25px;
    width: 25px;
    border-radius: 60%;
  }
table.tel{
    margin-left: 5px;
    margin-right: auto;
    margin-bottom: 10px;
    margin-top: 10px;
}
table.tel tr{
    margin-top: 0;
    margin-bottom: 0;
}
.download{
    margin-left: 40px;
    margin-top: 20px;
    position: absolute;
}
.sp{
    margin-bottom:
        10px;
    }
}
/* #header, #profile, #contact, footer{
    margin-left: 30px;
    margin-right: 30px;
}  */
    footer{
        display: block;
        height: auto;
       
        margin-top: 0px;
        font-size: 12px;
    }
}/*End of phone*/

@media only screen and (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {
    #header{
        width: 100%;
        display: block;
        height: 500px;
        background-image: url('../profImage/jelex2.png');
        background-repeat: no-repeat;
        background-position: 80% 50px; 
    }
    .hero{
        margin-left: 2%;margin-top: 50%;
        margin-bottom: 30px;
        overflow: hidden;
        
    }
   
    .hero p{
        font-size: 14px;
    }
    .header-text{
        margin-left: 25px;
    }
   
    .hero h1{
        font-size: 40px;
        margin-bottom: 10px;
    }
    .hero .jelili{
        margin-bottom: 5px;
    }
    
    #profile{
        height: 900px;
    }
    .about-me{
        position:absolute;
        display: flex;
        /* border: 1px solid crimson; */
        width: 560px;
        padding: 10px;
        margin-bottom: 20px;
        margin-left: 60px;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    }
    /* .profile-container{
        position: relative;
    } */
  .objective{
    margin-left: 10px;
    margin-top: -10px;
  }
  .summary{
    float: left;
  } 
  .smry, .about-h3{
    margin-left: 50px;
  }
  .resume{
    margin-top: 250px;
    margin-left: 30px;
    width: 100%;
}
.educ-h2, .exp-h2, .skld-h2{
    font-size: 14px;
    width: 100px;
}
.educ-h2{
    margin-left: 40px;
    padding-left: 17px;
    /* width: 70px; */
}
.exp-h2{
    margin-left: -215px;
    /* margin-right: -5px; */
    padding-left: 15px;
    /* width: 77px; */
}
.skld-h2{
    margin-left: -130px;
    /* width: 70px; */
    padding-left: 30px;
}
 
  .educ{
    margin-left: -10px;

  } 
 /* .exp{
    margin-right: 20px;

  }*/
.skld{
    margin-right: 40px;
    /* margin-left: 10px;  */

  } 
  .educ-tab{
    width: 250px;
    /* margin-left: 17px;*/
    font-size: 14px;
    padding-left: 10px; 
    /* border: 1px solid black;  */
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.exp-tab{
    width: 310px;
    font-size: 14px;
    margin-left: -285px; 
    padding-left: 10px; 
    /* border: 1px solid black;  */
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  }
  .skld-tab{
    width: 220px;
    font-size: 14px;
    margin-left: -200px;
    /* border: 1px solid black;  */
    padding-left: 20px; 
    padding-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  }

.edu-head{
    margin-left: 40px;
}
.exp-head{
   margin-left: 80px;
}
    .fa-bars{
        display: block;
        position: fixed;
        top: 5px;
        left: 5px;
        /* background-color: aqua; */
    }
    nav .fas{
        display: block;
        width: 20px;
        height: 20px;
        margin-top: 7px;
        font-size: 25px;
        cursor: pointer;
        
    }
    nav ul {
        position: fixed;
        top: 0;
        left: -230px;
        width: 230px;
        height: 100vh;
        background-color:rgb(157, 211, 211);
        padding-top: 10px;
        overflow: hidden;
        z-index: 100;
        transition: 0.7s;
    }
    nav ul li{
        display: block;
        margin: 20px;
    }
    nav ul li a{
        font-size: 14px;
        margin-left: 70px;
        margin-top: -20px;

    }
    nav ul .fas{
        position: absolute;
        top: 5px;
        left: 200px;
        cursor: pointer;
        
    }

    form{
        margin-left: 45px;
        margin-right: 45px;
        margin-top: 30px;
    }
    form input{
        height: 15px;
        /* outline:dimgrey; */
        padding: 10px;
    }
    form .input-name{
        width: 100%;
        border-radius: 5px;
    }
    form .input-others{
        width: 100%;
        border-radius: 5px;
    }
     form .others2{
        margin-left: 0px;
    } 
    textarea{
        /* background-color:rgba(205, 211, 211, 0.5); */
        width: 100%;
        height: 60px;
        padding: 5px;
        resize: none;
        overflow-y:scroll;
    }
    .contact-container{
        margin-left: auto;
        margin-right: auto;
    }
}/*end of portrait tablet*/

@media only screen and (min-width: 601px) and (max-width: 1024px) and (orientation: landscape) {
    .hero{
        margin-top: 30%;
    }
    .hero h1{
        font-size: 40px;
        margin-bottom: 20px;
    }
    .hero .jelili{
        margin-bottom: 5px;
    }
    .resume{
        margin-top: 220px;
        margin-left: -20px;
    }
    #profile{
        height: 800px;
    }
    .about-me{
        position:absolute;
        display: flex;
        width: 580px;
        padding: 10px;
        margin-bottom: 10px;
    }
    /* .profile-container{
        position: relative;
    } */
  .objective{
    margin-left: 10px;
    margin-top: -10px;
  }
 
  .smry, .about-h3{
    margin-left: 50px;
  }
  .skld-tab{
    width: 220px;
    /* font-size: 14px; */
    margin-left: -80px;
    /* border: 1px solid black;  */
    /* padding-left: 20px; 
    padding-bottom: 10px; */
    /* box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; */
  }
  #contact{
    height: 700px;
}
  form{
    margin-left: 45px;
    margin-right: 45px;
    margin-top: 30px;
}
form input{
    height: 15px;
    /* outline:dimgrey; */
    padding: 10px;
}
form .input-name{
    width: 100%;
    border-radius: 5px;
}
form .input-others{
    width: 100%;
    border-radius: 5px;
}
 form .others2{
    margin-left: 0px;
} 
textarea{
    /* background-color:rgba(205, 211, 211, 0.5); */
    width: 100%;
    height: 60px;
    padding: 5px;
    resize: none;
    overflow-y:scroll;
}

}/*End of landscape tablet*/