/* 
    author:   akram ayeb
    website:  dz-themes.com/
    facebook: facebook.com/Mr.Akram.Ayeb/

*/
:root{
    --main-color:#fff;
    --second-color:#1d1c1c;
    --third-color:#ed4b4b;


}
*{
    padding: 0;
    margin: 0;
    box-sizing:  border-box;
    
}
html{
    font-size: 20px;
    direction: rtl;
}
body{
    font-family: "cairo",sans-serif;
    background-color: var(--body-bg);
    color: var(--second-color);
    padding-top: var(--nav-height);
}
.color-main{
    color:var(--main-color)
}
.color-second{
    color: var(--second-color);
}
.color-third{
    color:var(--third-color)
}
.cursor-pointer{
    cursor: pointer;
}
.h1{
    display: block;
    font-size: 2em;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}
a{
    text-decoration: none;
}
ul{
    list-style-type: none;
}

.input{
    width: 100%;
    margin: 10px 0px;
    padding: 5px 2px;
    border: none;
    border-bottom: 3px solid var(--second-color);
    transition: 0.3s ease-in;
}
 
.input:focus{
    outline: none;
    box-shadow: none;
    border-color: var(--third-color);
}
input::placeholder{
    transition: 0.3s ease-in;
}
.input:focus::placeholder{
    color:var(--third-color)
}

.form-element{
     position: relative;
}
.form-element span{
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    transform: translateY(-50%);
    background-color: #fff;
    margin: 0px 2px;
    
}


.btn{
    padding: 10px;
    font-weight: bold;
    background-color: var(--third-color);
    color: var(--main-color);
    border: none;
    transition: 0.3s ease-in;
}
.btn:hover{
    background-color: var(--main-color);
    color: var(--third-color);
    cursor: pointer;
}

.section{
    position: relative;
    padding: 20px 0;
    min-height: 500px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.section-title{
    text-align: center;
    position: relative;
    padding: 10px ;
    margin-bottom: 25px;
}
.section-title::before{
    content: '';
    width: 40%;
    height: 6px;
    position: absolute;
    bottom: 0;
    right: 30%;
    border: 3px solid var(--third-color);
    z-index: 1;
    background-color: var(--third-color);
}
.section-title::after{
    content: '';
    z-index: 2;
    width: 15px;
    height: 15px;
    position: absolute;
    bottom: 0;
    right: 50%;
    border: 3px solid var(--third-color);
    transform: translateY(32%) translateX(50%) rotateZ(45deg);
    background-color: var(--main-color);
    border-radius: 5px;
}

.bg1-section{
     
    background-image: url(../img/background2.png);
    background-attachment: fixed;
    background-position: right bottom;
}


.bg2-section{
    background-color: var(--second-color);
    background-image: url(../img/background1.png);
    background-attachment: fixed;
    background-position: right bottom;
}
.bg-main{
    background-color: var(--main-color);
}
.bg-second{
    background-color: var(--second-color);
}
.bg-third{
    background-color: var(--third-color);
}
.alert-holder{
    color: var(--main-color);
    padding: 5px;
    border-radius: 0px 0px 20px 20px;
    position: relative;
    text-align: center;
    border-top: 4px solid var(--main-color);
 }
 
.alert-close-icon{
    display:block;
    width: max-content;
}
.alert-close-icon:hover i{
    cursor: pointer;

}
.alert-content{

}
/* navigation menu  */
.nav{
    background-color: var(--second-color);
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in;
}
.nav-menu-btn-container{
    display: none;
    width: 120px;
    padding: 10px 15px;
    position: relative;
}
.nav-menu-btn{
    width: 100%;
    height: 50px;
    position: relative;
}
.nav-menu-btn:hover{
    cursor: pointer;
}
.nav-menu-btn::after,.nav-menu-btn::before{
    content: '';
    width: 100%;
    height: 5px;
    border:5px solid var(--main-color);
    position: absolute;
}
.nav-menu-btn.active::after,.nav-menu-btn.active::before{
    border-color: var(--third-color);
}
.nav-menu-btn::before{
    top: 10%;
}
.nav-menu-btn::after{
    bottom: 10%;
}
.nav-menu{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-menu.active{
    display: flex;
}
.nav-item{
    position: relative;
    margin: 0px 10px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in-out;
    flex-direction: unset;
}
.nav-item:hover{
    cursor: pointer;
}
.nav-item::after{
    content: '';
    width: 0%;
    height: 4px ;
    background-color: var(--third-color);
    position: absolute;
    bottom: 0;
    right: 0;
    transition: width ,0.3s ease-in;
    background-color: var(--third-color);
    
}
.nav-item:hover::after{
    width: 100%;
}
.nav-item:hover>.nav-item-link{
    color: var(--third-color);
}

.nav-item-link{
    color:var(--main-color);
    padding: 10px 15px;
}

/* end navigation menu  */
/* copyright  */
.copyright{
    margin: none;
    text-align: center;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.copyright::before {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    top: 0px;
    z-index: 1;
    background-color: var(--third-color);
}
.copyright div{
   
    padding: 15px ;
}

.copyright a:hover{
    color: var(--third-color);
}
/* end copyright */
/* home page  */
    /* slide  */
.slide-item{
    padding-top: 40%;
    position: relative;
    overflow: hidden;
}
.slide-item img{
    width: 100%;
    position:absolute;
    top:0;
    left: 0;
    
}
.slide-item-content{
    position:absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--text-color);
    display: flex;
}
.overlay{
    position:absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgb(0, 0, 0,0.5);
}
.slide-item-content{
    position:absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--text-color);
    display: flex;
}

.item-content-wrapper{
 
    width: 40%;
    background-color: rgba(0, 0, 0, 0.575);
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
    padding-right: 5rem;

}
.item-content-wrapper::before{
    content: "";
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    right: 100%;
    background: linear-gradient(to left,rgba(0, 0, 0, 0.575),rgba(0,0,0,0));
}

.item-content-title{
    text-transform: capitalize;

    font-size: 2rem;
    line-height: 3rem;
    font-weight: bold;
    color:var(--main-color)
}
/* end slide  */

/* charity section  */

.charity-item{
    display: block;
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    cursor: pointer;
}
.charity-item img,.charity-item-content{
    position:absolute;
    left: 0;
    width: 100%;
}

.charity-item img{
    top:0;
    transition: transform 0.3s linear;
}
.charity-item img:hover{
    transform: scale(1.2);
}
.charity-item-content {
    bottom: 0;
    padding: 5px;
   
}
 
.charity-item-title{
    font-weight: 700;
    text-transform: uppercase;
    color:var(--main-color);
    font-size: 1.3rem ;
    text-align: center;
} 

/* end charity section  */

/* statistics section  */
.map-holder{
    height: 700px;
}

svg{
    width: 100%;
    height: 100%;
}
path{
    fill:var(--third-color);
    stroke:var(--main-color);
    stroke-width: 1px;
    transition: 0.3 linear;
    
     
}
path:hover{
    stroke-width: 2;
    fill:var(--main-color);
    stroke:var(--third-color);
    cursor: pointer;
    
}
#statistics{
    padding-bottom: 40px;
}
#statistics .section-body{
    justify-content: center;
    align-items: center;
}
#statistics ul li{
    margin: 10px;
    background-color: var(--third-color);
    color: var(--main-color);
    font-weight: bold;
    padding: 10px;
    text-align: center;
    
}
#statistics ul li:first-child{
    border-radius: 20px 20px 0px 0px;
}
#statistics ul li:last-child{
    border-radius: 0px 0px 20px 20px;
}

/* end statistics section  */

/* contact section  */
#contact-us{
    position: relative;
}
#contact-us .top-btn {
     
    color: var(--main-color);
    position: absolute;
    width: 80px;
    height: 40px;
    z-index: 10;
    align-items: center;
    text-align: center;
   
    font-weight: bold;
    top: 0%;
    left: 50%;
    transform: translateY(-100%) translateX(-50%);
    background-image: url(../img/background1.png);
    background-color: var(--second-color);
    background-attachment: fixed;
    border-radius: 25px 25px 0px 0px;
}
 
 .top-btn a span{
    transform: rotateZ(90deg);
    color:var(--main-color);
    display: block;
    font-size: 2em;
    text-align: center;
    position: relative;
    left: 4px;
 }
 .top-btn:hover>a>span{
     
    color:var(--third-color);
    
 }

.contact-information{
    color:var(--main-color);
    margin: 10px 0px;

}
.contact-information>.row{
    margin:10px 0px;
    
}
.contact-information>.row>div:first-child{
    font-weight: bold;
}
.contact-form{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
/* end contact section  */
/* end home page  */
/* login page  */

.login-holder{
    position: fixed;
    top: 0;
    left:0 ;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../img/blob_14-8-196.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--second-color);

}
 
.login-holder input{
    width: unset;
}
.login-holder>.row{
    justify-content: center;
    align-items: center;
}
.avatar-holder{
    width: 100px;
    height: 100px;
}
.avatar-holder img{
    width: 100%;
    height: 100%;
}
.login-holder form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    max-width: 600px;
}

/* end login page  */




/* responsive  */
@media only screen and (max-width: 1024px) {
    .nav{
        height: unset;
    }
    .nav-menu-btn-container{
         display: block;
    }
    .nav-menu{
        display: none;
        flex-direction: column;
    }
    .item-content-title{
        font-size: 1rem;
    }

}


@media screen and (max-width:768px) {

    .slide-item{
        padding-top: unset;
    }
    .slide-item-content{
        position: relative;
    }
    .slide-item-content img{
        height: 100%;
    }
    .item-content-title{
        font-size: 0.8rem;
    }
    .item-content-wrapper{
        width: 100%;
        height: 100%;
        padding-bottom:20px;
        padding-right:5rem ;
        background-color: rgb(0, 0, 0,0.2);

    }
    .charity-item-title {
         
        font-size: 1rem;
         
    }
    .section-title::before{
        content: '';
        width: 60%;
        height: 6px;
        position: absolute;
        bottom: 0;
        right: 20%;
        border: 3px solid var(--third-color);
        z-index: 1;
        background-color: var(--third-color);
    }

}
@media screen and (max-width:500px) {

    .charity-item-title {
         
        font-size: 0.8rem;
         
    }
    .section-title::before{
        content: '';
        width: 90%;
        height: 6px;
        position: absolute;
        bottom: 0;
        right: 5%;
        border: 3px solid var(--third-color);
        z-index: 1;
        background-color: var(--third-color);
    }
    .login-holder form {
        width: 100vw;
    }
    .login-holder input{
        width: 100%;
    }
    .login-holder .form-element{
        width: 100%;
    }
   

}