* {
    padding: 0;
    margin: 0;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    scroll-behavior: smooth;
}

body.fixed{

    overflow: hidden !important;
    
}


header {

    position: relative;
    margin-bottom: 50px;
    overflow: hidden;
    font-size: 20px;



}

.sub_header {

    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#header_img {

    position: relative;
    width: 100%;
    height: 100vh;
    margin-bottom: 20px;

}

.icon-1,
.icon-2,
.icon-3 {
    position: absolute;

    width: 32px;
    height: 3px;
    background-color: rgb(255, 255, 255);
    transition: all 400ms cubic-bezier(.84, .06, .52, 1.8);
}

.icon-1 {
    transform: translateY(-8px);
    animation-delay: 100ms;
}

.icon-3 {
    transform: translateY(8px);
    animation-delay: 250ms;
}

.hamburger-icon {
    height: 60px;
        width: 60px;
        display: flex;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        justify-content: center;
        align-items: center;
}

.navbar.hidden{
    background-image: unset !important;
}

.icon-1.a {
    transform: rotate(40deg);
        background-color: rgb(75, 73, 73);
}

.icon-3.b {
    transform: rotate(-40deg);
        background-color: rgb(75, 73, 73);
}

.icon-2.c {
    opacity: 0;
}

.clear {
    clear: both;
}

#men1{

    transition: 0.6s;
}
#men2 {

    transition: 0.8s;
}
#men3 {

    transition: 1s;
}
#men4 {

    transition: 1.2s;
}
#men5 {

    transition: 1.4s;
}


#men4.active{

    transition: 0.2s;
    opacity: 0;
    display:none;

}
#men5.active {
    transition: 0.2s;
    opacity: 0;
    display: none;

}

#colsub.active{
    position:absolute;
    top: 190px;
}

#subsidemenu.active{
    transition: 3s;
    display: flex;
    opacity: 1;
    
}

#arrow.active{
    border-bottom: 5px solid #4b4949;
    border-top: 5px solid transparent;
    top: -5px;
}



#menu.show-menu {
    width: 100%;
}

#logo.change {
    color: rgb(75, 73, 73);
    
}

.mens.show-link {
    right: 50% !important;
    transform: translate(50%, 50%) !important;
}



@keyframes slideIn {
    0% {
        width: 0%;
        opacity: 0;
    }

    100% {
        width: 50%;
        opacity: 1;
    }
}


#img_head {

    background-image: url(../img/projects_img/Moshreva_img/moshreva_img.html\ \(17\).jpg);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    animation: resize 30s infinite alternate;


}

.img-bar {

    width: 100%;
    background-image: url(../apartment/img/afaqbar.png);
    height: 100px;
    position: absolute;
    top: 80%;
    right: 0;
    background-size: cover;
    background-repeat: no-repeat;
}

#img_content {

    position: absolute;
    width: 90%;
    margin-right: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    top: 45%;
    right: 0;

}

#img_content #hemma_text::before {

    content: "";
    width: 3px;
    height: 0%;
    background: #fff;
    position: absolute;
    right: -28px;
    top: 20px;
    transition: .5s cubic-bezier(.76, .06, .85, .07);

}

.hemma_text::before {
    height: 80% !important;
}

.rollback::before {
    width: 0% !important;
}

.hemma_text2::before {
    width: 45% !important;
}


#img_content #line_hemma {

    width: 4px;
    height: 160px;
    background-color: white;
    position: absolute;
    top: 10%;
    right: 0;
    transition: 0.5s;
}


.line_p {

    height: 90px !important;

}

.line_a {

    width: 500px !important;


}
#img_content .slider-title-fill{


    line-height: 2.1;
}


#img_content #hemma_text h2 {

    color: white;
    font-size: 50px;
    font-family: "Noto Sans Arabic", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.dark-bg-1 .slider-title-fill:after {
    background: transparent;
    line-height: 1.7;
}

.slider-title-fill:before,
.slider-title-fill:after {
    width: 100%;
}

.slider-title-fill {
    white-space: nowrap;
    position: relative;
    display: inline-block;
}

.slider-title-fill:before,
.slider-title-fill:after {
    width: 100%;
}

.slider-title-fill:before,
.slider-title-fill:after {
    content: attr(data-text);
    position: absolute;
    background-color: #312ba2;
    top: 50%;
    transform: translateY(-50%);
    right: -1px;
    transition: 1s cubic-bezier(.767, .01, .18, 1.01);
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    -webkit-transition-delay: 1s;
    -o-transition-delay: 1s;
    transition-delay: 1s;
}

#slider:before,
#slider:after {
    width: 0% !important;
}


#contact {
    position: absolute;
    width: 50px;
    height: 168px;
    font-size: 20px;
    top: 21px;
    right: -84px;
    cursor: pointer;
    transition: .5s cubic-bezier(.76, .06, .85, .07);
    opacity: 0;
}


#contact::after {
    padding: 5px;
    margin: 0px -5px 0px 0px;
    border-right: 2px double;
    border-top: 2px double;
    border-bottom: 2px double;
    width: 50px;
    height: 168px;
    font-size: 20px;
    top: -7px;
    right: -12px;
    content: "";
    position: absolute;
    border: 2px double transparent;
    transition: 0.5s all;
}

#contact:hover::after {

    content: "";
    position: absolute;
    width: 50px;
    height: 168px;
    font-size: 20px;
    right: -2px;
    border-bottom: 2px double white;
    border-top: 2px double white;
    border-right: 2px double white;

}



#sub-contact {
    width: 50px;
    height: 168px;
    font-size: 20px;
    position: absolute;
    background: #303cdc;
    writing-mode: vertical-rl;
    text-align: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: ease-in 0.2s;
    z-index: 999;
}

#sub-contact:hover {
    background-color: white;
    color: #403e3c;
}

#logo {

    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 0;


}



#logo h1 {

    font-family: 'Marcellus', serif;
    font-weight: 100;
    font-size: 42px;

}

#logo h6 {

    font-weight: 30;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    letter-spacing: 8px;
    padding-left: 11px;
}


header li a>.menu-arrow {
    display: inline-block;
    border-top: 5px solid #d2d2d2;
    border-bottom: 5px solid transparent;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    position: relative;
    top: 3px;
    right: 4px;
}

header li ul {
    position: absolute;
    background: #ffffff;
    width: 85px;
    top: 59px;
    animation: fadeInUp .4s;
    display: none;
}

header li ul li {
    float: none;
    margin-left: 0;
    position: relative;
    list-style: none;
    border-bottom: rgb(110 110 110) solid;

}

header li ul li:nth-last-child(-n + 1) {

    border-bottom: none;

}

.navbar li:hover>#menu-ul {

    display: block;


}


#header_img #img_head:before {

    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);


}

#bt {

    cursor: pointer;
    border: none;
    background-color: #403e3c;
    color: white;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    display: flex;
    font-size: 15px;
    justify-content: center;
    align-items: center;

}

#bt svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.scrollTop.show {

    left: 0px;
}


#menu {


    transition: 0.10s;
    width: 0%;


}


header li {
    list-style: none;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.nav-menu a {
    color: rgb(0, 0, 0);
    transition: 0.5s;
    opacity: 0.7;
    height: 100%;
    display: flex;
    align-items: center;

}

#menu-ul a {

    padding: 15px 16px;
    width: 100%;
    opacity: 1;
    border: 1px solid #ffffff;
}

#menu-ul a:hover {

    background-color: rgb(35, 12, 138);
    color: #ffffff;

}

a {
    color: white;   

}

.navbar {

    min-height: 115px;
    display: flex;
    padding: 0px 100%;
    flex-direction: row;
    padding-top: 5%;
    width: 90%;
    max-width: 1050px;
    position: relative;
    z-index: 30;
    transition: 0.5s;
    max-width: 1500px;
    gap: 80px;
    align-items: center;
    justify-content: space-between;
    

}

.nav-menu {

    display: none;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    width: 90%;
    max-width: 920px;
}

.nav-item a {

    cursor: pointer;

}



.navbar .nav-menu .nav-item::after {

    content: '';
    height: 2px;
    background: #ffffff;
    position: absolute;
    bottom: 3px;
    width: 100%;
    right: 0px;
    transition: 0.5s;
    opacity: 0;

}

.navbar .nav-menu #target-li::before {

    opacity: 1;
    content: '';
    height: 2px;
    background: #ffffff;
    position: absolute;
    bottom: 3px;
    width: 100%;
    right: 0px;
    transition: 0.5s;
}

.navbar .nav-menu li:hover::after {

    opacity: 1;

}




.navbar li:hover>.nav-link {

    opacity: 1;
}

.nav-menu #target-li a {

    opacity: 1;
}



.sidemenu {

    position: fixed;
    bottom: 0px;
    right: 0px;
    height: 100%;
    width: 0px;
    background-color: #e4e4e4;
    z-index: 1;
    overflow: hidden;
    text-align: center;



}

.mens {

    padding: 15px;
    position: absolute;
    width: 150px;
    right: -100%;
    font-size: 14px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;


}

.sidemenu .menu-arrow {


    display: inline-block;
    border-top: 5px solid #4b4949;
    border-bottom: 5px solid transparent;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    position: relative;
    top: 0px;
    right: 0px;
}

.sidemenu #men1 {

    padding: 15px;
    position: absolute;
    width: 150px;
 
    font-size: 14px;
    color: white;
    display: block;
    transform: translate(50%, 50%);
    top: 100px;


}

.sidemenu #men2 {


    top: 170px;
   
    transform: translate(50%, 50%);



}

.sidemenu #men3 {

    top: 186px;
    transform: translate(50%, 50%);
  


}

.sidemenu #men4 {

    top: 310px;
    transform: translate(50%, 50%);
  



}

#colsub {

    position: absolute;
    top: 60px;

}


.sidemenu #men5 {

    top: 380px;
    transform: translate(50%, 50%);
   



}


#subsidemenu {

    display: flex;
    transition: 0.2s ease;
    flex-direction: column;
    align-items: center;
    height: 125px;
    background-color: #4b4949;
    position: relative;
    width: 83%;
    opacity: 0;

  

}

#subsidemenu li {
    border-bottom: 1px solid;
    width: 100%;
    justify-content: center;
}


#subsidemenu a {

    color: white;
    width: 100%;

}

#col,
#colsub {

    height: 1.5px;
    width: 150px;
    margin-top: 10px;
    transition: 0.3s;
    background-color: #4b4949;

}

.sidemenu a {



    font-size: 25px;
    color: #4b4949;
    transition: 0.2s ease-in-out;
    cursor: pointer;

}








@media(min-width: 1200px) {


   

    .hamburger-icon {

        display: none !important;
    }

    #menu {

        width: 0% !important;
        opacity: 1;
    }


    .nav-menu {

        display: flex;
    }

    #logo h1 {
        color: white !important;
    }

    #logo h6 {
        color: white !important;
    }





}

@media (max-width: 1200px) {
 

    #img_content #hemma_text h2 {
        font-size: 40px;

    }

    #contact,
    #sub-contact,
    #contact::after,
    #contact:hover::after {

        height: 135px;
        font-size: 17px;


    }

    #contact::after {
        width: 38px;
    }

    #img_content {

        margin-right: 15%;

    }


}

@media (max-width: 992px) {


    header img {
        min-width: 150px;

    }
}
@media(max-width: 870px) {





    #logo h1 {
            font-size: 36px;
        }
    
        #logo h6 {
    
            font-size: 10px;
        }

   

    .navbar {

        min-height: 100px;
    }


         #img_content #line_hemma {
    
             height: 130px;
    
    
         }
    
    
         #sub_img_content {
    
             width: 300px !important;
    
         }
    
    
    
    
         #img_content h2 {
             font-size: 38px;
             min-width: 300px;
         }
    
         #img_content {
    
             max-width: 350px;
         }




}


@media (max-width: 768px) {


   
    #img_content {
        margin-right: 20%;
    }

    #img_content #hemma_text h2 {
        font-size: 32px;
    }

    #contact,
    #sub-contact,
    #contact::after,
    #contact:hover::after {
        height: 111px;
        font-size: 15px;
        font-weight: 700;
    }

    header img {
        min-width: 130px;
    }

    #contact {
        top: 19px;
    }

}

@media (max-width: 600px) {


    #img_content #hemma_text h2 {
        font-size: 27px;
    }

    #contact,
    #sub-contact,
    #contact::after,
    #contact:hover::after {
        height: 92px;
        font-size: 13px;
        font-weight: 700;
        width: 40px;

    }

    #contact {
        right: -73px;
    }



    .hemma_text::before {
        height: 75% !important;
    }

    #img_content #hemma_text::before,
    #contact {

        top: 14px;

    }

}

@media (max-width:550px) {


    #logo h1 {
        font-size: 31px;
    }

    #logo h6 {
        font-size: 7px;
    }


    #logo {
        margin-bottom: 0;
    }
}

@media (max-width: 500px) {
  
    #img_content #hemma_text::before {
        top: 0px !important;
        width: 0%;
        right: 0px;
        height: 2px !important;
    }

    #contact {
        top: 2px !important;
        right: -73px !important;
        height: 40px !important;
        font-size: 14px;
        width: 67% !important;
    }




    #sub-contact {
        height: 40px !important;
        font-size: 14px !important;
        width: 67% !important;
        top: -45px;
        right: 73px;
        writing-mode: unset;
    }

    #contact::after {
        height: 40px !important;
        width: 65% !important;
        top: -57px;
        right: 73px;
    }

    #contact:hover::after {
        top: -50px;
        right: 73px;
        border-left: 2px double white;
        border-bottom: unset;
    }

    #img_content {

        margin-right: 6% !important;

    }

    header img {
        min-width: 100px !important;
    }


}

@media (max-width:450px) {



   

    #img_content h2 {
        font-size: 32px;
        min-width: 260px;
    }


    #img_content,
    #sub_img_content,
    #img_content h2 {
        max-width: 285px !important;
    }

    .line_p {
        height: 60px !important;
    }



}

@media (max-width: 390px) {
    #img_content #hemma_text h2 {
        font-size: 24px;
    }


    #sub-contact,
    #contact::after,
    .hemma_text2::before {

        width: 133px !important;

    }

    #contact::after,
    #contact:hover::after {

        right: 71px;
    }


}


@media (max-width: 360px) {

    #img_content #hemma_text h2 {
        font-size: 20px;
    }

    #img_content #hemma_text h2:first-child {
        font-size: 24px;
    }



}

@media (max-width:300px) {

    #logo h1 {
        font-size: 25px;
    }

    #logo h6 {
        font-size: 3px;
    }

}