
.header {
    width: 1200px;
    height: 80px;
    z-index: 99;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header.header-scroll {
    background-color: #C4EB3D;
}
.header .links  {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;  
    justify-content: left;   
    margin-left: 160px ; 
}
.header .links.left {
    justify-content: right;
}
.header .links .icon {
    width: 30px;
    flex-wrap: wrap;
}
.header .menu {
    display: none;
}
.header .links .icon span {
    background-color: white;
    margin: 2px 0;
}
.header .links .icon span:first-child {
    width: 90%;
    height: 2px;
}
.header .links .icon span:nth-child(2) {
    width: 70%;
    height: 2px;
    transition: 0.3s;
}
.header .links .icon span:last-child {
    width: 50%;
    height: 2px;
}

.header .container {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    width: 80px;
}
.logo img.logo-scroll {
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.322));
}

.ul {
    display: flex;
    padding: 20px;
    margin: auto;
    box-shadow: 0 3px 10px 3px black;
    /* background-color: rgb(34, 34, 34); */
}
.ul li{
    margin: 0 20px;
}
.ul li a{
    color: white;
    font-size: 20px;
    transition: .3s;
}
.ul li a:hover {
    color:  var(--primary-color);
;
}
.contact{
    display: flex;
    align-items: center;
    border: none;
    color: black;
    background-color: white;
    font-style: italic;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 17.2px;
    letter-spacing: 1px;
    padding: 10px 18px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    justify-content: center;
}
.contact a {
    color: #111f27;
    transition: .5s;
    z-index: 9999;
}
.contact::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color:  var(--primary-color);
;
    transform: translateX(-100%);
    transition: .5s;
}
.contact i {
    color:  var(--primary-color);
;
    margin-left: 7px;
    margin-right: 10px;
    font-size: 13px;
}
.contact:hover::before {
    transform: translateX(0%);
}
.contact:hover a, 
.contact:hover i {
    color: white;
    z-index: 9999999;
}

.langToggleBtn {
    color: #ffffff;
    font-style: italic;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    background-color: transparent;
    z-index: 99999;
}
.langToggleBtn i {
    font-size: 22px;
    margin-right: 16px;
    color: #ffffff;

}
@media (max-width: 1200px) {
    .logo img{
        width: 60px;
    }
    .header {
        height: 80px;
        padding: 0;
        width: 1000px;
        margin: auto;
    }
    .header .links  {
        margin-left: 90px; 
    }
    .header .ul {
        justify-content: space-between;
    }
    .header .ul li {
        margin: 0 16px;
    }
}
@media (max-width: 1000px) {
    .header {
        width: 900px;
    }
    .header .links  {
        margin-left: 0px; 
    }
    .header .ul li a {
        font-size: 16px;
    }
    .contact{
        font-size: 15px;
        padding: 7px 13px;
    }
    .langToggleBtn {
        margin-right: 16px;
    }
}

@media (max-width: 900px) {
    .header {
        width: 99.8%;
        height: 70px;
        margin-bottom: 30px;
    }
    .header .logo img {
        width: 68px;
    }
    .header .ul {
        display: none;
    }
    .header .links {
        width: auto;
    }
    .header .links .icon {
        display: flex;
        cursor: auto;
        padding: 9px;
        width: 45px;
        background-color: white;
    }
    .header .links .icon span {
        background-color: rgb(0, 0, 0);
    }
    .header .menu {
        width: 100%;
        height: 100%;
        z-index: 9999999999999;
        position: fixed;
        display: flex;
        flex-direction: column;
        padding: 30px;
        top: 0;
        left: 0;
        transform: translateX(100%);
        transition: .7s;
        color: white;
        overflow-y: scroll;
        background-color: #111f27;
    }
    .header .menu.active {
        transform: translateX(0);
        background-color: black;
        z-index: 9999999999999999999999;
        overflow-y: scroll;
    }
    .header .menu .x:lang(ar){
        text-align: left;
    }
    .header .menu ul li:lang(ar) {
        text-align: right;
    }
    
    .header .menu .x {
        left: 20px;
        color:  var(--primary-color);
;
        top: 20px;
        font-size: 22px;
        font-weight: 900;
        cursor: auto;
        margin-bottom: 20px;
    }
    .header .menu ul {
        padding: 0;
        margin-top: 10px;
    }
    .header .menu ul li {
        margin-bottom: 35px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.199);
        padding-bottom: 17px;
    }
    .header .menu ul li a {
        color: #ffffff;
        font-weight: 100;
        font-size: 22px;
    }
    .header .contact {
        font-size: 16x;
        display: none;
    }
    .header .contact i {
        font-size: 13px;
    }
}