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%;
    }

}


.parent{
    height: max-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.parent h1{
    text-align: center;
    margin-top: 5%;
    box-shadow: 2px 2px 2px red;
    width: max-content;
    padding: 10px;
}

.parent .child1{
    height: max-content;
    width: 100%;
    border: 1px solid black;
    display: flex;
    justify-content: space-around;
}
.parent .child1 img,.parent .child2 img{
width: 30rem;

}
.parent .child1 h2,.parent .child2 h2{
    line-height: 50px;
    text-align: right;
    width: 70%;
}

.parent .child2{
    height: max-content;
    width: 100%;
    border: 1px solid black;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
}


.parent1{
    height: max-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.parent1 h1{
    text-align: center;
    margin-top: 5%;
    box-shadow: 2px 2px 2px red;
    width: max-content;
    padding: 10px;
}

.parent1 .child1{
    height: max-content;
    width: 100%;
    border: 1px solid black;
    display: flex;
    justify-content: space-around;
}
.parent1 .child1 img,.parent1 .child2 img{
width: 30rem;

}
.parent1 .child1 h2,.parent1 .child2 h2{
    line-height: 50px;
    text-align: right;
    width: 70%;
}

.parent1 .child2{
    height: max-content;
    width: 100%;
    border: 1px solid black;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}


.parent2{
    height: max-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.parent2 h1{
    text-align: center;
    text-align: center;
    margin-top: 5%;
    box-shadow: 2px 2px 2px red;
    width: max-content;
    padding: 10px;
}

.parent2 .child1{
    height: max-content;
    width: 100%;
    border: 1px solid black;
    display: flex;
    justify-content: space-around;
}
.parent2 .child1 img,.parent2 .child2 img{
width: 30rem;

}
.parent2 .child1 h2,.parent2 .child2 h2{
    line-height: 50px;
    text-align: right;
    width: 70%;
}

.parent2 .child2{
    height: max-content;
    width: 100%;
    border: 1px solid black;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
}

.parent3{
    height: max-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.parent3 h1{
    text-align: center;
    text-align: center;
    margin-top: 5%;
    box-shadow: 2px 2px 2px red;
    width: max-content;
    padding: 10px;
}

.parent3 .child1{
    height: max-content;
    width: 100%;
    border: 1px solid black;
    display: flex;
    justify-content: space-around;
}
.parent3 .child1 img,.parent3 .child2 img{
width: 30rem;

}
.parent3 .child1 h2,.parent3 .child2 h2{
    line-height: 50px;
    text-align: right;
    width: 70%;
}

.parent3 .child2{
    height: max-content;
    width: 100%;
    border: 1px solid black;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
}

.parent4{
    height: max-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.parent4 h1{
    text-align: center;
    text-align: center;
    margin-top: 5%;
    box-shadow: 2px 2px 2px red;
    width: max-content;
    padding: 10px;
}

.parent4 .child1{
    height: max-content;
    width: 100%;
    border: 1px solid black;
    display: flex;
    justify-content: space-around;
}
.parent4 .child1 img,.parent4 .child2 img,.parent4 .child3 img{
width: 30rem;

}
.parent4 .child1 h2,.parent4 .child2 h2,.parent4 .child3 h2{
    line-height: 50px;
    text-align: right;
    width: 70%;
}

.parent4 .child2{
    height: max-content;
    width: 100%;
    border: 1px solid black;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
}
.parent4 .child3{
    height: max-content;
    width: 100%;
    border: 1px solid black;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.parent5{
    height: max-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.parent5 h1{
    text-align: center;
    text-align: center;
    margin-top: 5%;
    box-shadow: 2px 2px 2px red;
    width: max-content;
    padding: 10px;
}

.parent5 .child1{
    height: max-content;
    width: 100%;
    border: 1px solid black;
    display: flex;
    justify-content: space-around;
}
.parent5 .child1 img,.parent5 .child2 img{
width: 30rem;

}
.parent5 .child1 h2,.parent5 .child2 h2{
    line-height: 50px;
    text-align: right;
    width: 70%;
}

.parent5 .child2{
    height: max-content;
    width: 100%;
    border: 1px solid black;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
}




.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%;
    }
}