:root {
    --color-primary: #073998;
    --color-secondary: #e3f4f3;
    --color-success: #2f8381;

}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Titillium Web', sans-serif;
    width: 100vw;
    overflow-x: hidden;
    background-color: var(--color-secondary);
}

.top-bar {
    background: rgb(0,28,115);
    background: linear-gradient(90deg, rgba(0,28,115,1) 0%, rgba(7,57,152,1) 0%, rgba(0,28,115,1) 100%); 
    padding: 0px 4%;
    display: flex;
    justify-content: space-between;
    color: whitesmoke;
    


}
.top-bar p{
    padding: 10px 0;
}

.top-bar .social-networks {
    display: flex;

    align-items: center;
   
    

}

.top-bar .social-networks a {
    text-decoration: none;
    color: whitesmoke;
    margin: 0px 8px;
    display: block;
}

.top-bar .social-networks img {

    height: 16px;
}
.top-bar .social-networks .phone{
    background-color:#e3f4f3;
    padding: 10px;
    display: flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: bold;
}
.top-bar .social-networks .phone span{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

.menu-bar {
    background: white;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    border-radius: 3px;
    margin-right: 7px;
}

.logo .logo-text h1 {
    margin: 0;
    padding: 0;
    line-height: 1.9rem;

}

.logo .logo-text p {
    color: var(--color-success);
    margin: 0;
    padding: 0;
    line-height: 1rem;
    font-weight: bold;
}

.menu-bar .menu {
    display: flex;
    align-items: center;
}

.menu-bar .menu a {
    text-decoration: none;
    padding: 0 15px;
    font-weight: 600;
    color: black;
}

.menu-bar .menu .donate {
    background-color: var(--color-primary);
    color: white;
    border-radius: 50px;
    text-align: center;
    padding: 10px 30px;
   

}

.slider{
width: 100%;
overflow: hidden;
position: relative;
height: 500px;
box-sizing: border-box;
padding: 0;
}
.slider .dark{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(0, 0, 0,0.5);
    text-align: center;
    color: white;
    box-sizing: border-box;

}
.slider .dark h1{
    font-size: 70px;
    margin-top: 70px;
    line-height:5.5rem;
}
.slider .dark h1 span{
    color: var(--color-secondary);
    text-decoration: underline;
}
.slider .dark p{
    font-size: 30px;
    width: 50%;
    margin: auto;
}
.slider img{
    width: 100%;
}
.communique{
    background: var(--color-success);
    padding: 20px;
    width: 100%;
    color: white;
    text-align: center;
    box-sizing: border-box;
}
.mission{
    text-align: center;
    width: 70%;
    box-sizing: border-box;
    margin: auto;
    padding: 3%;
}
.mission h1{
    font-size: 40px;
}
.about{
    display: grid;
    grid-template-columns: 1fr 2fr;
    background-color: white;
    margin-top: 40px;
    margin-bottom: 80px;

}
.presentation{
    padding: 40px;
    
}
.presentation h1{
    color: var(--color-primary);
    margin-bottom: 20px;

}
.presentation p{
    color: #767586;
    margin-bottom: 20px;
}
.presentation a{
    display: flex;
    align-items: center;
    color: white;
    background: var(--color-success);
    border-radius: 50px;
    padding: 7px 20px;
    text-align: center;
    text-decoration: none;
    width: fit-content;
}
.presentation a svg{
    margin-left: 7px;
}
.vision{
    position: relative;
    background-image: url(../img/cover1.jpg);
    text-align: left;
   
}

.vision .dark{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 40px 40px;
    
    background-color: rgba(0, 0, 0,0.6);
    text-align: left;
    color: white;
    box-sizing: border-box;

}
.vision .dark h1{
    margin-bottom: 20px;
}

.vision .dark p{
    margin-bottom: 20px;
   
   
}
.vision .dark a{
    display: flex;
    align-items: center;
    font-weight: bold;
    color: var(--color-secondary);
}
.vision .dark a svg{
    margin-left: 10px;
}
.domaines{
    position: relative;
    background: url(../img/cover2.jpg);
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height:1300px;

    
}
.domaines .dark{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0,0.6);
   
    padding: 5% 10%;
    box-sizing: border-box;
    color: white;
    text-align: center;
}
.domaines .dark p{
    width: 60%;
    margin: auto;
}
.domaines .dark .domain-list{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin-top: 50px;
}
.domaines .card{
    background: white;
    padding: 7px;
    border-radius: 10px;
    color: #767586;
}
.domaines .card h3{
    line-height: 1.3rem;
    font-weight: 600;
    font-weight: normal;
    text-align: left;
}
.domaines .card img{
    width: 100%;
    height: 150px;
    object-fit: cover;
    

}
.domaines .card a,.news-card .card-text a{
    display: flex;
    align-items: center;
    color: var(--color-success);
    text-align: center;
    margin: 15px 0;
    font-weight: bold;
    width: fit-content;
}
.domaines .card svg, .news-card .card-text svg{
    margin-left: 10px;
}

.news-home{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    padding: 40px 4%;
    gap: 30px;
}
.news-home img{
    width: 100%;
}
.news-card{
    background: white;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.28);
    -webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.28);
    -moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.28);
}
.news-card .cadre img{
 height: 280px;
 object-fit: cover;
}
.other-news .news-card .cadre img, .blog-news .news-card .cadre img{
    height: 180px;
    object-fit: cover;
   }
.news-card .card-text{
    padding: 15px 50px;
}
.news-card .card-text p{
    color: #767586;
    margin-top: 20px;
}
.news-card .card-text .news-date{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.news-card .card-text .news-date span{
    color: var(--color-success);
}
.news{
    padding-top: 50px;
}
.news-header{
    text-align: center;
}
.news-header h1{
    color: var(--color-primary);
}
.news-header h3{
    color: var(--color-success);
}
.other-news{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}
.other-news .card-text{
    padding: 10px 15px;
    margin-top: 0px;
}
.other-news .card-text h3{
    font-size: 14px;
}
.other-news .card-text .news-date{
    font-size: 14px;
    margin: 0;
}
.main-new .news-card{
    height: 100%;
}
.partenaires{
    
    background-color: white;
    display: grid;
    grid-template-columns: 3fr 2fr;
    margin-top: 30px;
    overflow: hidden;
}
.logo-partenaires{
    padding: 50px 50px;
}
.logo-partenaires .logo{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 30px;
}
.logo-partenaires .logo img{
    width: 100%;
    object-fit: contain;
}
.cover-partenaires{
    background-image: url(../img/image-66-copyright.jpg);
    background-size: cover;
    /* padding: 30px 50px; */
}
.cover-partenaires .dark{
    background-color: rgba(0, 0, 0,0.7);
    height: 100%;
    color: white;
    padding: 50px 50px;
}
.cover-partenaires .dark h1{
    font-size: 50px;
    line-height: 3rem;
    margin-bottom: 20px;
}
.cover-partenaires .dark p{
    margin-bottom: 20px;
}
.cover-partenaires .dark a{
    display: flex;
    align-items: center;
    background-color: var(--color-success);
    width: fit-content;
    padding: 10px 25px;
    color: white;
    text-align: center;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
}
.cover-partenaires .dark a span{
    margin-right: 7px;
}
.newsletter{
    text-align: center;
    padding: 40px 0px;
    box-sizing: border-box;
}
.newsletter h1{
    color: var(--color-primary);
}
.newsletter h3{
    color: var(--color-success);
}
.newsletter .zdt{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0px;
}
.newsletter .zdt input{
    width: 300px;
    height: 40px;
    padding-left: 20px;
    border: none;
    border-radius: 50px;
    margin-right: 15px;
}
.newsletter .zdt button{
    height: 40px; 
    border: none;
    background-color: var(--color-success);
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    font-weight: bold;
    padding: 0px 20px;
}
.newsletter .zdt button span{
    margin-right: 10px;
}
.footer{
    background-color: var(--color-primary);
    padding: 30px 4%;
    color: white;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 30px;
}
.footer img{
    width: 60px;
    border: 2px solid white;
    border-radius: 4px;
}
.footer p{
    color: var(--color-secondary);
}
.quick-links{
    display: flex;
    flex-direction: column;
}
.quick-links a{
    color: var(--color-secondary);
}
.copyright{
    background-color: #001c73;
    color: var(--color-secondary);
    text-align: center;
    padding: 15px;
}
.copyright a{
    color: var(--color-secondary);
}
/* Page A propos */

.cover{
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 300px;
    box-sizing: border-box;
    padding: 0;
    }
    .cover .dark{
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        
        background-color: rgba(0, 0, 0,0.5);
        text-align: center;
        color: white;
        box-sizing: border-box;
    
    }
    .cover .dark h1{
        font-size: 60px;
        margin-top: 80px;
    }
    .cover .dark h1 span{
        color: var(--color-secondary);
        text-decoration: underline;
    }
    .cover .dark p{
        font-size: 30px;
        width: 50%;
        margin: auto;
    }
    .cover img{
        width: 100%;
    }
    .about-2{
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 70px;
        margin-bottom: 20px;
        background-color: white;
    }

    .about-image img{
        width: 100%;
       
    }
    .about-image{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        justify-content: center;
    }
    .mission-2{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 30px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        margin: auto;
        margin-top: 70px;
        margin-bottom: 70px;
        padding: 3% 5%;
       
        color: var(--color-secondary);
        background: rgb(0,28,115);
        background: linear-gradient(90deg, rgba(0,28,115,1) 0%, rgba(7,57,152,1) 0%, rgba(0,28,115,1) 100%); 
    }
    .mission-2 h1{
        font-size: 40px;
    }
    .mission-2 .card{
        background: white;
        color: #464555;
        padding: 20px;
        border-radius: 3px;

    }
    .mission-2 .card .icon{
        background-color: #f9f7ff;
        
        border-radius: 50%;
        width: 80px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: auto;

    }
    .mission-2 .card .icon svg{
        width: 50px;
        height: 50px;
        color: var(--color-primary);
    }

    /* OBJECTIFS*/
    .centrer{
        padding: 5%;
        padding-top: 2%;
       
    }
    .centrer h2{
        text-align: center;
        background: white;
        padding: 20px;
        font-size: 35px;
        color: var(--color-primary);
    }

    .nos-objectifs{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 2%;
       
        background: white;
    }
    .objective p{
        padding: 10px;
     padding-left: 20px;

     margin-left: 25px;
     border-left: 3px solid var(--color-primary);
    }
    .objective h1{
        border-radius: 50%;
        border: 2px solid var(--color-primary);
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .domaines-intervention{
        text-align: center;
        padding: 30px;
    }
    .domaines-intervention .domaine{
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: left;
        margin: 5%;
        background: white;
        box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.28);
        -webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.28);
        -moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.28);
        border-radius: 5px;
        overflow: hidden;
    }
    .domaines-intervention .domaine .col-textes{
        background: rgb(0,28,115);
        background: linear-gradient(90deg, rgba(0,28,115,1) 0%, rgba(7,57,152,1) 0%, rgba(0,28,115,1) 100%); 
        color: white;
        padding: 20px;
    }
    .domaines-intervention .domaine .col-textes ul{
        padding-left: 20px;
        margin-top: 15px;
    }
    .domaines-intervention .domaine .col-image{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 20px;
    }
    .domaines-intervention .domaine .col-image img{
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 3px;
        
    }
.equipe{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
    padding: 5%;
}
.equipe .card{
    background-color: white;
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.28);
        -webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.28);
        -moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.28);
        border-radius: 5px;
        overflow: hidden;
}
.equipe .card img{
    width: 100%;
    border-bottom: 4px solid var(--color-success);
 
}
.equipe .card h3{
    color: var(--color-primary);
}
.equipe .card p{
   
    padding-bottom: 20px;
    color: #464555;
    
}
/*BLOG*/

.blog-news{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    padding: 5%;
}
.blog-news .card-text{
    padding: 10px 15px;
    margin-top: 0px;
    text-align: left;
}
.blog-news .card-text h3{
    font-size: 14px;
}
.blog-news .card-text .news-date{
    font-size: 14px;
    margin: 0;
}
.blog-news img{
    width: 100%;
}
.album{
    padding: 5%;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}
.album .album-card{
    background-color: white;
    border-radius: 30px;
    overflow: hidden;
}
.album .album-card h3{
    background: rgb(0,28,115);
    background: linear-gradient(90deg, rgba(0,28,115,1) 0%, rgba(7,57,152,1) 0%, rgba(0,28,115,1) 100%); 
    color: white;
    padding: 20px;
    font-weight: 300;
    text-align: left;
    font-size: 14px;
}
.album .album-card img{
    width: 100%;
}
.album .album-card .news-date{
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.album .album-card .news-date a{
    display: flex;
    align-items: center;
    font-weight: bold;
    color: var(--color-primary);
}
.album .album-card .news-date span{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 7px;
}
.contacts{
    padding: 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.contact-item{
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.contact-item svg{
    width: 50px;
    height: 50px;
    margin-right: 20px;
    color: var(--color-primary);
}
.contact-item span{
    font-weight: bold;
}
.contact-form{
    background-color: white;
    box-sizing: border-box;
    
    padding: 20px 30px;
}
.form-ligne{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
   
    box-sizing: border-box;
}
.zdt{
    width: 100%;
    margin: 10px 0px;
    padding-left: 10px;
    box-sizing: border-box;
    height: 40px;
}
.ta{
    width: 100%;
    margin: 10px 0px; 
}
.contact-form .btn{
    padding: 13px 27px;
    font-weight: bold;
    border: none;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50px;
}
.map{
    margin: 3% 5%;
    margin-bottom: 5%;
    background-color: white;
    padding: 10px;
    border: 2px solid var(--color-success);
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.28);
        -webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.28);
        -moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.28);
}
.map iframe{
    width: 100%;

}
.map h1{
    text-align: center;
    padding: 20px;
}
.article{
    display: grid;
    grid-template-columns: 2fr 1fr;
    text-align: left;
    gap: 40px;
    padding: 4%;
    background-color: white;
}
.article .post img{
    width: 100%;
    
}
.post small{
 color: gray;
 margin: 20px;
}
.post small span{
    font-weight: bold;
    color: var(--color-success);
}
.post p{
    margin-top: 25px;
}
.little-post-card{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    margin-top: 15px;
    border-bottom: 1px solid grey;
    padding-bottom: 20px;
}
.little-post-card .cadre{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.little-post-card img{
    width: 100%;
    border-radius: 3px;
}
.little-post-card p{
    font-size: 14px;
    font-weight: 600;
}
.little-post-card small{
    font-size: 12px;
    color: var(--color-success);
    font-style: italic;
}
.picture-card{
    background-color: white;
    padding: 5px;
    height: 180px;
    transition: 0.5s ease-in-out;
   
    
}
.picture-card:hover{
    transform: scale(1.2);
}
.picture-card img{
    width: 100%;
    height: 100%;
    object-fit:cover;  
    
}
.publications{
    padding: 3% 5%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
}
.publications .card{
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--color-success);
}
.publications .card img{
    width: 100%;
}
.publications .card a{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    background-color: var(--color-secondary);
    padding: 10px 15px;
    border-radius: 50px;
    text-align: center;
    color: var(--color-success);
    font-weight: bold;
    text-decoration: none;

}
.publications .card a svg{
    margin-left: 10px;
}
.publications .card .cadre1 svg{
width: 50px;
height: 50px;
color: var(--color-success);
margin-right: 10px;
}
.menu-mobile,#menu-btn{
    display: none;
}

/*================== MEDIA QUERIES ==============*/
@media screen and (max-width: 1200px) {
    body{
        width: 100%;
       
    }
     }
     
     /*================== MEDIA QUERIES ==============*/
     
     @media screen and (max-width: 768px) {
        .menu-mobile,#menu-btn{
            display: block;
        }
   
     body{
        width: 100%; 
     }
     .menu-bar .menu{
        display: none;
     }
     .top-bar p{
        display: none;
     }

     .logo .logo-text p {
        font-size: 14px;
     }
     .slider{
        height: 350px;;
     }
     .slider img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .slider .dark h1{
        font-size: 40px;
        margin-top: 70px;
        line-height: 2.5rem;
    }
    .slider .dark p{
        font-size: 20px;
        width: 90%;
        margin: auto;
        margin-top: 20px;
    }

    .mission{
        width: 100%;
        text-align: left;
        padding:  4% 10%;
    }
    .about{
        grid-template-columns: 1fr;
    }
    .about .presentation h1{
        line-height: 2.2rem;
    }
    .vision{
        height: 330px;
    }
    .domaines{
        height:3500px;
    }
    .domaines .dark p{
        width: 100%;
    }
    .domaines .dark .domain-list{
        grid-template-columns: 1fr;
    }
    .domaines .dark{
        padding: 5% 5%;
    }
    .news-home,.other-news,.partenaires{
        grid-template-columns: 1fr;
    }
    .news-card .card-text{
        padding: 15px 20px;
    }
    .cover-partenaires .dark{
        padding:50px 20px;
    }
    .logo-partenaires .logo{
        grid-template-columns: repeat(2,1fr);
    }
    .newsletter{
        padding: 40px 10px;
    }
    .newsletter h1{
        line-height: 2.2rem;
    }
    .footer{
       
        grid-template-columns: 1fr 1fr;
    }
    .footer .one, .footer .four{
        grid-column: 1 / 3;
    }
    .cover{
        height: 200px;
    }
    .cover .dark h1{
        font-size: 40px;
        margin-top: 60px; 
        line-height: 2.2rem;
        margin-bottom: 10px;
    }
    .cover .dark p{
        font-size: 20px;
        width: 100%;
        margin: auto;
    }
    .cover img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .about-2{
        grid-template-columns: 1fr;
        margin: 20px;
        grid-auto-flow: dense;
    }
    .about-image{

    }

    .mission-2, .nos-objectifs{
        grid-template-columns: 1fr;
        gap: 0px;
    }
.domaines-intervention{
    padding: 20px;
}
    .domaines-intervention .domaine{
        grid-template-columns: 1fr;
        margin: 2%;
    }
    .equipe,.blog-news,.article{
        grid-template-columns: 1fr;
    }
    .article .post h1{
        line-height: 2rem;
        font-size: 25px;
    }
    .publications{
        grid-template-columns: 1fr;
        padding: 3% 2%;
    }
    .album{
        grid-template-columns: 1fr;
    }
    .contacts{
        grid-template-columns: 1fr;
    }

    /* MENU */
    @keyframes showMenu{
        to{
            left: 0;
        }
   }
    .menu-mobile{    position: fixed;
        left: -100%;
        left: 0;
        top: 0;
        background:white;
        width: 18rem;
        z-index: 3;
        box-shadow: 1rem 3rem 4rem #464555;
        height: 100vh;
        padding-right: 10px;
        display: none;
        animation: showMenu 400ms ease forwards;
        flex-direction: column;
        padding-top: 20px;
     }
     
     .mobile-logo{
         position: relative;
     display: flex;
     height: 80px;
     padding: 1rem;
     justify-content: space-between;
     align-items: center;
     gap:1.5rem;
     margin-bottom: 30px;
     }
     .mobile-logo h1{
         font-size: 1.5rem;
     }
     
     .close-btn{
         position: absolute;
         right: 0;
         cursor: pointer;
         top: 0;
     }
.menu-item{
    display: flex;
    flex-direction: column;
    margin: var(--card-padding);
    align-items: center;
}   

.menu-item a{
	font-size: 15px;
	text-decoration: none;
	font-weight:700;
    height: 3rem;
    color: #464555;
}

.mobile-logo{
    padding: 20px;
    
}

     }



