@font-face {
    font-family: 'ITCHandelGothicArabic';
    src: url('ITCHandelGothicArabic.ttf') format('truetype');
    /* Add additional font formats if needed, e.g., woff, woff2 */
}

/* Apply the local font to all elements */
* {
    margin: 0;
    padding: 0;
    font-family: 'ITCHandelGothicArabic', serif;
}

:root {
    --transform: #000;
    --transformReverse: #FFF;
    --transformReverseClicked: rgba(0, 0, 0, 0.08);
    --background: #FFFFFF;
    --background2: rgba(0, 0, 0, 0.05);
    --red: #296f65;
    --green: #d7a020;
    --gold: #d7a020;
    --primary: rgba(41,111,101,255);
    --primaryClicked: rgba(41,111,101,0.7);
    --hr: rgba(0, 0, 0, 0.2);
    --darkGrey: #222222;
}
body[data-theme="grey"] {
    --transform: #FFF;
    --transformReverse: #343434;
    --selected: #4d4d4d;
    --red: #9A3B3B;
    --green: #A8DF8E;
}
body[data-theme="dark"] {
    --transform: #FFF;
    --transformReverse: #000;
    --selected: #333333;
    --red: #9A3B3B;
    --green: #A8DF8E;
}
body{
    background-color: var(--background2);
}
hr{
    height: 0.01em;
    background-color: var(--hr);
    border: none;
    width: 100%;
}
input[list="wilayas"]::-webkit-calendar-picker-indicator {
    display: none;
}

.phoneSection{
	display:none;
}
.pcSection{
	display:;
    text-align: center;
}

header{
    height: 70px;
    width: 75%;
    padding-left: 12.5%;
    padding-right: 12.5%;
    display: grid;
    grid-template-columns: 15% 51% 9% 25%;
    background-color: var(--transformReverse);
}
.logoSection{
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-content: center;
}
.logoSection img{
    margin: auto 0px;
    height: 60px;
    width: 70px;
    transform: rotate(90);
}
.textSection{
    margin-right: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.textSection p{
    font-size: 18px;
    font-weight: 100;
}
.user{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.user .userLogo{
    height: 45px;
    width: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--hr);
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}
.user i{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    height: 10px;
    width: 10px;
    color: var(--primary);
    cursor: pointer;
}
.addAds{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}
.addAds button{
    padding: 0px 10px;
    border-radius: 6px;
    direction: rtl;
    width: 70%;
    height: 40px;
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border: 0px;
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: var(--transformReverse);
    text-align: center;
    cursor: pointer;
    transition: 0.36s;
}
.addAds button:hover{
    border: 1px solid var(--primary);
    background-color: var(--transformReverse);
    color: var(--primary);
    transition: 0.36s;
}
.addAds button p{
    font-size: 16px;
}
.addAds button i{
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login{
    z-index: 3;
    display: none;
    right: 20px;
    top: 60px;
    position: absolute;
    width: 140px;
    height: auto;
    background-color: var(--transformReverse);
    overflow: hidden;
    border-radius: 10px;
    border: 0.01rem solid var(--hr);
}
.login button{
    padding: 0px 10px;
    border-radius: 10px;
    direction: rtl;
    width: 90%;
    height: 40px;
    margin: 5px auto;
    display: inline-flex;
    align-items: center;
    outline: none;
    border: 0px;
    background-color: var(--transformReverse);
    cursor: pointer;
}
.login button:hover{
    background-color: var(--transformReverseClicked);
}
.login button i{
    display: grid;
    align-content: center;
    margin-left: 10px;
    font-size: 14px;
}
.login button p{
    font-size: 14px;
}
nav{
    direction: rtl;
    width: 75%;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 44% 44% 12%;
}
nav .navItem{
    width: 100%;
    height: 70px;
    display: inline-flex;
    align-items: center;
}
nav input{
    width: 55%;
    height: 50px;
    margin: 0px;
    outline: none;
    border-top: 1px solid var(--hr);
    border-bottom: 1px solid var(--hr);
    border-right: 1px solid var(--hr);
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border-left: none;
    padding: 0px 20px;
    background-color: var(--transformReverse);
}
nav select{
    width: 25%;
    height: 52px;
    margin: 0px;
    padding: 0px 10px 0px 30px;
    outline: none;
    border-top: 1px solid var(--hr);
    border-bottom: 1px solid var(--hr);
    border-left: 1px solid var(--hr);
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    border-right: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-y: 50%;
    background-position-x: 10px;
    background-color: rgba(0, 0, 0, 0.01);
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
}
nav button{
    height: 50px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    outline: none;
    border: 1px solid var(--hr);
    background-color: var(--transformReverse);
    border-radius: 7px;
    cursor: pointer;
    transition: 0.36s;
}
nav button:hover{
    background-color: var(--primary);
    color: var(--transformReverse);
    cursor: pointer;
    transition: 0.36s;
}
.head{
    height: 360px;
    width: 75%;
    margin: 0px auto;
    background-color: lightgray;
    background-image: url(images/download.jpg);
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 7px;
    color: var(--transformReverse);
    display: grid;
    align-items: center;
}
.head h3{
    font-size: 22px;
}
.head h1{
    font-size: 36px;
}
.head input{
    direction: rtl;
    font-size: 18px;
    margin: 0px;
    width: 50%;
    margin: 25px auto 15px auto;
    outline: none;
    border: 1px solid var(--hr);
    border-radius: 7px;
    padding: 15px 42px;
    background-color: var(--transformReverse);
    position: relative;
}
.searchBar{
    position: relative;
    width: 100%;
    display: grid;
}
.searchBar form{
    position: relative;
    width: 100%;
    display: grid;
}
.searchLogo{
    height: 20px;
    width: 20px;
    position: absolute;
    left: 23%;
    top: 46px;
}
.head button{
    display: inline-flex;
    outline: none;
    border: 1px solid var(--primary);
    border-radius: 7px;
    padding: 7px 20px;
    background-color: var(--primary);
    color: var(--transformReverse);
    cursor: pointer;
    transition: 0.46s;
    margin: 5px 5px;
}
.head button:hover{
    background-color: var(--primaryClicked);
}
.body{
    height: auto;
    width: 75%;
    margin: 40px auto;
    text-align: right;
    display: grid;
    justify-content: center;
}
.body p{
    text-align: right;
    font-size: 15px;
}
.body a{
    color: var(--primary);
    text-decoration: none;
}
.body .card{
    margin-top: 20px;
    height: auto;
    padding: 40px 30px;
    width: 500px;
    background-color: var(--transformReverse);
    border: 1px solid var(--hr);
    border-radius: 7px;
}
.body .card h3{
    margin-bottom: 30px;
}
.body .card .logoText{
    width: 100%;
    text-align: right;
    display: inline-flex;
    justify-content: flex-end;
    justify-items: center;
}
.body .card .logoText i{
    display: grid;
    align-self: flex-end;
    margin-bottom: 5px;
    margin-left: 5px;
}
.body .card p{
    font-size: 16px;
    margin-top: 20px;
}
.body .card .forget{
    color: var(--primary);
}
.body .card .forget p{
    margin-top: 5px;
    font-size: 14px;
    cursor: pointer;
}
.body .card .forget i{
    font-size: 14px;
    cursor: pointer;
}
.body .card button{
    margin: 70px auto 0px auto;
    width: 100%;
    outline: none;
    border: 1px solid var(--primary);
    background-color: var(--primary);
    color: var(--transformReverse);
    padding: 7px 20px;
    border-radius: 7px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.36s;
}
.body .card button:hover{
    border: 1px solid var(--primary);
    background-color: var(--transformReverse);
    color: var(--transform);
    transition: 0.36s;
}
.body .card input{
    margin-top: 5px;
    outline: none;
    border: 1px solid var(--hr);
    border-radius: 7px;
    padding: 7px 10px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
}
.body .card .box {
    max-height: 150px;
    overflow: hidden;
    cursor: pointer;
}
.body .card .end{
    margin-top: 10px;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
}
.body .card .end .share{
    display: inline-flex;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
    column-gap: 8px;
    cursor: pointer;
}
.body .card .end .share i{
    display: flex;
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
    margin-top: 18px;
}
footer{
    direction: rtl;
    width: 75%;
    margin-right: auto;
    margin-left: auto;
    display: grid;
    text-align: right;
}
.hr{
    margin: 30px 0px 20px 0px;
    height: 0.01em;
    width: 75%;
    margin-right: auto;
    margin-left: auto;
    background-color: var(--hr);
    border: none;
}
.footerLinkes{
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
}
.firstLinks img{
    width: 100px;
    height: 50px;
    margin: auto;
}
.firstLinks p{
    width: auto;
    padding-left: 20%;
    height: 90px;
    margin: auto;
    font-size: 14px;
}
.footerLinkes h4{
    margin-bottom: 10px;
    font-size: 14px;
}
.footerLinkes a{
    text-decoration: none;
    color: var(--primary);
    margin-top: 10px;
    font-size: 14px;
}
footer hr{
    margin: 10px 0px 20px 0px;
    height: 0.01em;
    width: 100%;
    background-color: var(--hr);
    border: none;
}
.copyright:first-child {
    font-size: 14px;
}
.copyright :nth-child(2) {
    font-size: 11px;
    margin-bottom: 35px;
}
.from{
    height: 70px;
    padding: 0px 20px;
    font-size: 14px;
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    background-color: var(--transform);
    color: var(--transformReverse);
}
.from div{
    display: flex;
}
.from .first{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.from .second{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.from img{
    height: 70px;
    width: 120px;
}
.from a{
    text-decoration: none;
}
.from i{
    color: var(--transformReverse);
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 7px;
}
@media (max-width: 1200px){
    .login{
        right: 15px;
    }
}
@media (max-width: 1400px){
    header{
        width: 97%;
        padding-left: 0%;
        padding-right: 0%;
        margin-right: auto;
        margin-left: auto;
    }
    footer{
        width: 97%;
    }
    .hr{
        width: 97%;
    }
    nav{
        width: 97%;
    }
    .head{
        width: 97%;
    }
    .body{
        width: 97%;
    }
}
@media (max-width: 850px){
    .login{
        right: 5px;
    }
    .addAds button p{
        font-size: 14px;
    }
    .textSection p{
        font-size: 16px;
    }
    .head input{
        width: 58%;
    }
    .searchLogo{
        height: 20px;
        width: 20px;
        position: absolute;
        left: 17%;
        top: 46px;
    }
}
@media (max-width: 600px){
    body{
        background-color: var(--background);
    }
    .phoneSection{
        display:block;
    }
    .pcSection{
        display:none;
    }
  
    nav{
        direction: ltr;
        margin: 0px;
        position: fixed;
        border-left: 1px solid #1a1a1a;
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
        height: 100vh;
        width: 298px;
        top: 0;
        right: 0;
        background-color: var(--transformReverse);
        overflow-y: scroll;
        transform: translateX(300px);
        transition: 0.4s;
        z-index: 8;
        display: grid;
        grid-template-rows: 200px auto;
        grid-template-columns: 1fr;
        text-align: center;
        justify-content: center;
    }
    .logoSectionPhone{
        display: grid;
        justify-content: center;
        align-items: center;
    }
    .logoSectionPhone img{
        height: 140px;
        width: 260px;
    }
    .logoSectionPhone p{
        font-size: 16px;
    }
    .navCategories{
        height: auto;
        width: 300px;
        background-color: #23312f;
        display: grid;
        grid-template-rows: 80px auto 30px;
    }
    .navButton{
        display: grid;
        justify-content: center;
        align-items: center;
    }
    .navButton button{
        outline: none;
        background-color: var(--primary);
        color: white;
        border-radius: 30px;
        height: 40px;
        width: 260px;
        cursor: default;
        display: grid;
        align-content: center;
    }
    .navButton button:hover{
        outline: none;
        background-color: black;
        color: white;
        border: 2px var(--primary) solid;
    }
    .nav button:focus{
        outline: none;
    }
    .navCategory{
        margin: 5px 20px;
        background-color: var(--transformReverse);
        border-radius: 15px;
        overflow-y: scroll;
    }
    .navCategory::-webkit-scrollbar{
        width: 0px;
    }
    .navCategory hr{
        width: 85%;
        margin-right: auto;
        margin-left: auto;
        margin-top: 7.5px;
    }
    .categoryItem{
        direction: rtl;
        width: 85%;
        text-align: right;
        display: inline-flex;
        margin-top: 15px;
        color: var(--primary);
    }
    .categoryItem i{
        display: grid;
        align-content: center;
        margin-left: 10px;
        font-size: 19px;
    }
    header{
        height: 65px;
        width: 100%;
        background-color: var(--red);
        display: grid;
        grid-template-columns: 60px auto 60px;
        grid-template-rows: 60px;
        justify-items: center;
        align-content: center;
        align-items: center;
    }
    .user{
        position: relative;
    }
    .userLogo{
        height: 47px;
        width: 47px;
        display: grid;
        justify-items: center;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .loginPhone{
        z-index: 3;
        display: none;
        left: 0px;
        top: 60px;
        position: absolute;
        width: 140px;
        height: auto;
        background-color: var(--transformReverse);
        overflow: hidden;
        border-radius: 10px;
        border: 0.01rem solid var(--hr);
    }
    .loginPhone button{
        padding: 0px 10px;
        border-radius: 10px;
        direction: rtl;
        width: 90%;
        height: 40px;
        margin: 5px auto;
        display: inline-flex;
        align-items: center;
        outline: none;
        border: 0px;
        background-color: var(--transformReverse);
        cursor: default;
    }
    .loginPhone button:active{
        background-color: var(--transformReverseClicked);
    }
    .loginPhone button:first-child{
        background-color: var(--primary);
        color: var(--transformReverse);
    }
    .loginPhone button:first-child:active{
        background-color: var(--primaryClicked);
        color: var(--transformReverse);
    }
    .loginPhone button i{
        display: grid;
        align-content: center;
        margin-left: 8px;
        font-size: 14px;
    }
    .loginPhone button p{
        font-size: 14px;
    }
    .menuIcon{
        height: 30px;
        width: 30px;
        display: grid;
        justify-items: center;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .searchBar{
        position: relative;
        width: 100%;
        display: grid;
    }
    .searchBar form{
        position: relative;
        width: 100%;
        display: grid;
    }
    .searchCar{
        justify-content: center;
        align-items: center;
        outline: none;
        border: 0px;
        border-radius: 5px;
        height: 40px;
        width: 73%;
        padding-right: 10px;
        padding-left: 40px;
        margin-left: auto;
        margin-right: auto;
    }
    .searchLogo{
        height: 20px;
        width: 20px;
        position: absolute;
        left: 9%;
        top: 9px;
    }
    section{
        height: auto;
        padding: 40px 20px;
    }
    .body{
        height: auto;
        padding: 0px;
        margin: 0px;
        display: block;
    }
    .body .card{
        width: auto;
    }
    .body .card .box {
        cursor: default;
    }
    .body .card .end .share{
        cursor: default;
    }
    .body h2{
        
    }
    .body p{
        font-size: 16px;
        margin-top: 20px;
    }
    .body input{
        margin-top: 5px;
        outline: none;
        border: 1px solid var(--hr);
        border-radius: 7px;
        padding: 7px 10px;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        font-size: 14px;
    }
    .body .logoText{
        width: 100%;
        text-align: right;
        display: inline-flex;
        justify-content: flex-end;
        justify-items: center;
    }
    .body .logoText i{
        display: grid;
        align-self: flex-end;
        margin-bottom: 6px;
        margin-left: 5px;
    }
    .body .forget{
        color: var(--primary);
    }
    .body .forget p{
        margin-top: 5px;
        font-size: 14px;
    }
    .body .forget i{
        font-size: 14px;
        margin-top: 9px;
    }
    .body button{
        margin: 70px auto 0px auto;
        width: 100%;
        outline: none;
        border: 1px solid var(--primary);
        background-color: var(--primary);
        color: var(--transformReverse);
        padding: 7px 20px;
        border-radius: 7px;
        font-size: 16px;
    }
    .body button:active{
        border: 1px solid var(--primary);
        background-color: var(--transformReverse);
        color: var(--transform);
        transition: 0.36s;
    }
    .body .p{
        margin-top: 10px;
        text-align: center;
        font-size: 15px;
    }
    .otherTitle{
        margin-top: 10px;
        direction: rtl;
        display: inline-flex;
    }
    .otherTitle h3{
        font-size: 18px;
        color: black;
        margin: 8px 10px 0px 5px;
    }
    footer{
        direction: rtl;
        height: auto;
        background-color: var(--darkGrey);
        width: 100%;
    }
    footer hr{
        width: 85%;
        height: 1px;
        margin-right: auto;
        margin-left: auto;
        margin-top: 15px;
        margin-bottom: 5px;
    }
    .sitePages{
        margin: 15px;
        direction: rtl;
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 15px;
    }
    .sitePages p{
        
    }
    .sitePages a{
        text-decoration: none;
        color: var(--transformReverse);
        cursor: default;
    }
    .sitePages a:visited{
        text-decoration: none;
        color: var(--transformReverse);
    }
    .brands{
        margin: 15px 15px 0px 15px;
        direction: rtl;
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 15px;
        font-size: 26px;
        color: var(--transformReverse);
    }
    .brands a{
        text-decoration: none;
        color: var(--transformReverse);
        cursor: default;
    }
    .copyright{
        color: var(--transformReverse);
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 40px;
    }
    .copyright p{
        font-size: 18px;
    }   
}