body {
    margin: 0;
}

body {
    margin: 0px;
}

.parent_header {
    margin-left: 2.5%;
    direction: rtl;
    height: 50px;
    width: 95vw;
    background-color: rgb(0, 0, 94);
    color: white;
    display: flex;
    border-radius: 30px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
    
}

.menu {
    direction: rtl;
    list-style: none;
    height: 100%;
    width: 40vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.li1,
.li2,
.li3,
.li4,
.li5 {
    margin-right: 9%;
    font-weight: 800;
    text-decoration: none;
    padding-bottom: 3px;
}

.li1:hover,
.li2:hover,
.li3:hover,
.li4:hover,
.li5:hover {
    border-bottom: 2px solid red;
    color: red;
    cursor: pointer;


}


.register {
    direction: rtl;
    list-style: none;
    height: 100%;
    width: 10vw;
    display: flex;
    align-items: center;
    justify-content: center;

}

.li6 {
    height: 40%;
    order: 2;
    margin-right: 9%;
    font-weight: 800;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;

}

.li7 {
    height: 40%;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    border-left: 2px solid white;
    padding-left: 10px;
    order: 1;
    font-weight: 800;
    margin-right: 10%;
}

.li6:hover,
.li7:hover {
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 2px solid red;
}

.sitename {
    direction: rtl;
    list-style: none;
    height: 100%;
    width: 10vw;
    display: flex;
    align-items: center;
    justify-content: center;

}

.li8 {

    font-size: 25px;
    font-weight: 800;
    margin-right: 10%;
}

.searchbar {
    direction: rtl;
    list-style: none;
    height: 100%;
    width: 40vw;
    display: flex;
    align-items: center;
    justify-content: space-around;

}

.searchinput {
    height: 70%;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 800;
    margin-right: 10%;
}

.btnsearch {
    margin-right: 10px;
    height: 70%;
    width: 8vw;
    border-radius: 10px;
    font-weight: 900;
}

@media(width<1300px) {
    .sitename .li8 {
        font-size: 20px;
    }
}

@media(width<1100px) {
    .parent_header {
        flex-direction: column;
        height: 110px;
    }

    .menu,
    .register,
    .sitename {
        width: 100%;
    }

    .searchbar {
        width: 100%;
        justify-content: center;
    }
}

@media(width<700px) {
    .btnsearch {
        font-size: 8px;

    }
}

@media(width<500px) {
    .parent_header {
        flex-direction: column;
        height: 150px;
        margin-bottom: 7%;
        border: 1px solid transparent;
    }

}

@media(width<400px) {
   

    .searchinput {width: 30%;
        margin-right: 10%;
        display: block;
        height: 30px;
        font-size: 7px;
        direction: rtl;

    }
    .btnsearch{
        width: 20%;
    }

}












.main_me{
    margin-top: 4%;
    height: 400px;
    width: 100%;
    border: 1px solid black;
direction: rtl;
display: grid;

grid-template-columns: 30% 20%;
/* align-items: center; */
background-color: rgb(2, 2, 51);
}

.main_me img{
    border-radius: 20%;
    width:60%;
    height: 80%;
    border: 1px solid white;
 

}
.main_me .bio{
    text-align: right;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 200%;
    height: 80%;
    border: 1px solid transparent;

}
.main_me .bio h1{
    box-shadow: 3px 3px 3px red;

}
.main_me .bio h2{
    box-shadow: 3px 3px 3px red;
    text-align: right;

}

.dars_resume{
    margin-top: 1%;
    height: 200px;
    width: 100%;
    border: 1px solid black;
direction: rtl;
display: grid;
grid-template-rows: 30% 40% 15%;
grid-template-columns: 40%;
align-items: center;
justify-content: center;
text-align: center;
background-color:  rgb(2, 2, 51);;
color: white;


}
.dars_resume h1{
    box-shadow: 3px 3px 3px red;
    text-align: center;
    width: max-content;
    border: 1px solid black;
 

}
.dars_resume h2{
    box-shadow: 3px 3px 3px red;
    text-align: center;
    width: max-content;
    border: 1px solid black;

}

.work_resume{
    margin-top: 1%;
    height: 600px;
    width: 100%;
    border: 1px solid black;
direction: rtl;
display: grid;
grid-template-rows: 15% 15% 15% 15% 15% 15%;
grid-template-columns: 40%;
align-items: center;
justify-content: center;
text-align: center;
background-color:  rgb(2, 2, 51);;
color: white;


}
.work_resume h1{
    box-shadow: 3px 3px 3px red;
    text-align: center;
    width: max-content;
    border: 1px solid black;
 

}
.work_resume h2{
    box-shadow: 3px 3px 3px red;
    text-align: center;
    width: max-content;
    border: 1px solid black;

}

.ability_resume{
    margin-top: 1%;
    height: 600px;
    width: 100%;
 
background-color:  rgb(2, 2, 51);;
color: white;
grid-template-columns: 40%;

}
.ability_resume .div1{
    height: 600px;
    width: 69%;
    border: 1px solid transparent;
direction: rtl;
display: grid;
grid-template-rows: 15% 15% 15% 15% 15% 15%;

align-items: center;
justify-content: start;
text-align: center;
background-color:  rgb(2, 2, 51);;
color: white;
}
.ability_resume .div1 h1{
    box-shadow: 3px 3px 3px red;
    text-align: center;
    width: max-content;
    border: 1px solid black;
 

}
.ability_resume .div1  h2{
    box-shadow: 3px 3px 3px red;
    text-align: center;
    width: max-content;
    border: 1px solid black;

}

@media(width<1100px){

    .main_me {
margin-top: 15%;
    }
    
}

@media(width<820px){

    .main_me img{
width: 80%;
height: 80%;
    }
    .main_me .bio h1{
        font-size: 300%;

    }
    .main_me .bio h2{
        font-size: 120%; 
    }
}

@media(width<700px){

    .dars_resume,.work_resume{
grid-template-columns: 70%;

    }
    .ability_resume .div1{
        width: 85%;
    }
 
}






@media(width<600px){
    .main_me{
        margin-top: 25%;
    }

    .main_me img{
width: 80%;
height: 80%;

    }
    .main_me .bio h1{
        font-size: 15px;

    }
    .main_me .bio h2{
        font-size: 15px; 
    }
    .dars_resume h1,.dars_resume h2{
        font-size: 15px; 
    }
    .ability_resume .div1 h1,.ability_resume .div1 h2{
        font-size: 15px;  
    }
}

@media(width<550px){

    .dars_resume,.work_resume{
grid-template-columns: 100%;
font-size: 60%;

    }
    .ability_resume .div1{
        width: 100%;
        font-size: 85%;
    }
    .main_me .bio h1{
        font-size: 15px;

    }
    .main_me .bio h2{
        font-size: 15px; 
    }
    .dars_resume h1,.dars_resume h2{
        font-size: 15px; 
    }
    .ability_resume .div1 h1,.ability_resume .div1 h2{
        font-size: 15px;  
    }
 
}
@media(width<500px){
    .dars_resume,.work_resume{
        grid-template-columns: 100%;
        font-size: 65%;
        
            }
    .main_me {
margin-top: 35%;
    }
    .main_me .bio h1{
        font-size: 15px;

    }
    .main_me .bio h2{
        font-size: 15px; 
    }
    .dars_resume h1,.dars_resume h2{
        font-size: 15px; 
    }
    .ability_resume .div1 h1,.ability_resume .div1 h2{
        font-size: 15px;  
    }
    
}
@media(width<400px){
.main_me{
    margin-top: 45%;
}
    .dars_resume,.work_resume{
grid-template-columns: 100%;
font-size: 65%;

    }
    .ability_resume .div1{
        width: 100%;
        font-size: 63%;
    }
    .dars_resume h1,.dars_resume h2{
        font-size: 15px; 
    }
    .ability_resume .div1 h1,.ability_resume .div1 h2{
        font-size: 15px;  
    }
 
}

@media(width<390px){

    .main_me img{
width: 80%;
height: 80%;
    }
    .main_me .bio h1{
        font-size: 180%;

    }
    .main_me .bio h2{
        font-size: 110%; 
    }
    .dars_resume h1,.dars_resume h2{
        font-size: 15px; 
    }
    .ability_resume .div1 h1,.ability_resume .div1 h2{
        font-size: 15px;  
    }
}

/* @media(width<600px){

    .main_me img{
width: 80%;
height: 80%;
    }
    .main_me .bio h1{
        font-size: 170%;

    }
    .main_me .bio h2{
        font-size: 105%; 
    }
} */


















.footercon {
    margin-top: 1%;
    padding: 10px;
    margin-left: .5%;
    direction: ltr;
    width: 96%;
    height: 300px;
    border: 1px solid rgb(0, 0, 20);
    background-color: rgb(0, 0, 94);
    border-radius: 20px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;

}

.footercon .div1,
.footercon .div2,
.footercon .div3,
.footercon .div4 {
    display: flex;
    justify-content: start;
    flex-direction: column;
    width: 20%;
    height: 300px;
    border: 1px solid white;
    box-sizing: border-box;

}

@media(width<1550px) {
    .footercon {
        flex-wrap: wrap;
        height: 850px;
    }

    .footercon .div1,
    .footercon .div2,
    .footercon .div3,
    .footercon .div4 {
        margin-top: 15px;
        width: 30%;
        height: 400px;
    }
}

@media(width<1100px) and (width>1000px) {
    .footercon {
        margin-top: 10px;
        flex-wrap: wrap;
        height: 850px;
    }

    .footercon .div1,
    .footercon .div2,
    .footercon .div3,
    .footercon .div4 {
        margin-top: 15px;
        width: 45%;
    }
}

@media(width<1000px)and (width>900px) {
    .footercon {
        margin-top: 10px;
        flex-wrap: wrap;
        height: 850px;
    }

    .footercon .div1,
    .footercon .div2,
    .footercon .div3,
    .footercon .div4 {
        margin-top: 15px;
        width: 45%;
    }
}


@media(width<900px)and (width>800px) {
    .footercon {
        margin-top: 10px;
        flex-wrap: wrap;
        height: 850px;
    }

    .footercon .div1,
    .footercon .div2,
    .footercon .div3,
    .footercon .div4 {
        margin-top: 15px;
        width: 45%;
    }
}


@media(width<800px)and (width>700px) {
    .footercon {
        margin-top: 10px;
        flex-wrap: wrap;
        height: 850px;
    }

    .footercon .div1,
    .footercon .div2,
    .footercon .div3,
    .footercon .div4 {
        margin-top: 15px;
        width: 45%;
    }
}

@media(width<700px)and (width>600px) {
    .footercon {
        margin-top: 10px;
        flex-wrap: wrap;
        height: 1800px;
    }

    .footercon .div1,
    .footercon .div2,
    .footercon .div3,
    .footercon .div4 {
        margin-top: 15px;
        width: 100%;
    }
}

@media(width<600px)and (width>500px) {
    .footercon {
        margin-top: 10px;
        flex-wrap: wrap;
        height: 1800px;
    }

    .footercon .div1,
    .footercon .div2,
    .footercon .div3,
    .footercon .div4 {
        margin-top: 15px;
        width: 100%;
    }
}

@media(width<500px)and (width>400px) {
    .footercon {
        margin-top: 10px;
        flex-wrap: wrap;
        height: 1800px;
    }

    .footercon .div1,
    .footercon .div2,
    .footercon .div3,
    .footercon .div4 {
        margin-top: 15px;
        width: 100%;
    }
}

@media(width<400px) {
    .footercon {
        margin-top: 10px;
        flex-wrap: wrap;
        height: 1800px;
    }

    .footercon .div1,
    .footercon .div2,
    .footercon .div3,
    .footercon .div4 {
        margin-top: 15px;
        width: 100%;
    }
}