*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; 
    }
#header{
    width: 100%;
    height: 100vh;
    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.x3{
    animation-delay: 4s;
}
p.x4{
    animation-delay: 5s;
}
.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%;
  }
  .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: -10%;
}
.educ{
    position: relative;
}
.educ-tab{
    width: 400px;
    margin-left: 20px;
    margin-top: 20px;
    line-height: 15px;
    display: none;
    position:absolute;
 }
 .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;
 }
 .educ-h2{
    margin-left: 40px;
    cursor: pointer;
 }
 .edu-head,
 .exp-head,
 .skld-head{
    margin-bottom: 10px;
    text-decoration: underline;

 }
 .exp{
    position: relative;
    margin-left: 250px;
    }
.exp-tab{
    width: 350px;
    margin-left: -170px;
    margin-top: 20px;
    line-height: 15px;
    display: none;
    position: absolute;
}

.exp-h2{
    margin-left: -170px;
    cursor: pointer;
    width: 80px;
}
.skld{
    margin-left: 30px;
    position: relative;
}
.skld-tab{
    width: 200px;
    margin-top: 20px;
    /* display: none; */
    position: absolute;
    margin-left: 20px;
}
.skld-h2{
cursor: pointer;
}
#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; */
    }
    #header{
        width: 100%;
    display: block;
    height: 500px;
     background-image: url('../profImage/jelex2.png');
    background-repeat: no-repeat;
    background-position: 50px 50px; 
    }
    .header-text{
        margin-left: 20px;
        margin-top: -5px;
    }
    .profile{
        margin-top: 80px;
        margin-left: 10px;
        font-size: 10px;
        font-weight:300;
        height: 30px;
        width: 110px;
        text-align: center;
        padding: 5px 10px;
    }
    .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;
        font-size: 25px;
        cursor: pointer;
        /* background-color: aquamarine; */
        /* border-radius: 50%; */
    }
    nav ul {
        position: fixed;
        top: 0;
        left: -230px;
        width: 230px;
        height: 100vh;
        background-color: chocolate;
        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: 5px;
        cursor: pointer;
        background-color: aqua;
    }
    .hero h1{
        font-size: 20px;
        top: -100px;
    }
    h1.jelili{
        margin-bottom: 12px;
    }
    /*Profile section*/
    #profile{
        width: 100%; 
        height: 630px;
        display: block;

    }
    .profile-container{
        display: block;
        font-size: 13px;
    }
    .resume{
        width: 300px;
        margin-top: 20px;
    }
    .educ-h2, .exp-h2, .skld-h2{
        font-size: 12px;
    }
    .educ-h2{
        margin-left: 10px;
    }
    .exp-h2{
        margin-left: -200px;
    }
    .skld-h2{
        margin-left: -120px;
    }
    .skld-head{
        margin-left:30px
    }
    .exp-head{
        margin-left: 40px;
    }
    .edu-head{
        margin-left: 40px;
    }
    .educ-tab{
        width: 250px;
        margin-left: 17px;
        font-size: 12px;
        padding-left: 10px;
        border: 1px solid black;
    }
    .exp-tab{
        width: 230px;
        font-size: 12px;
        margin-left: -285px;
        padding-left: 10px;
        border: 1px solid black;
    }
    .skld-tab{
        width: 180px;
        font-size: 12px;
        margin-left: -285px;
        padding-left: 20px;
        padding-bottom: 10px;
        position: relative;
        border: 1px solid black;
    }
    /*------------------------Contact section-------------*/
    #contact{
        flex-wrap: wrap;
        display: block;
        width: 100%; 
        height: 900px;
        overflow: hidden;
    }
    #contact h2{
        margin-left: 10px;
    }
    .form-container{
        height: 230px;
    }
    .contact-container{
        display: block;
        height: 850px;
        width: 300px;
        border: 1px solid black;
    }
    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{
        rgba(205, 211, 211, 0.5);
        width: 100%;
        height: 60px;
        padding: 5px;
        resize: none;
        overflow-y:scroll;
    }
    .button{
        display: block;
        text-wrap: wrap;
        height: 20px;
        padding: 5px;
        width: 60%;
       
        margin-left: 0px;
        margin-right: 40px;
        line-height: 5px;
        }
    .address-wrapper{
        display: block;
        width: 250px; 
        flex-wrap: wrap;
        height: 520px;
        margin-left: 25px;
        margin-top: -30px;
        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;
}
/* #header, #profile, #contact, footer{
    margin-left: 30px;
    margin-right: 30px;
}  */
    footer{
        display: block;
        height: auto;
        width: 100%; 
        margin-top: 0px;
        font-size: 12px;
    }
}