*{ 
    margin : 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
   
}

header{
    min-height: 100vh;
    width: 100%;
    background: url(bg.png);
    background-position: center;
    background-size: cover;
    position: relative;

}   

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;

}

nav img{
    width: 250px;
}

.nav-links{
    flex : 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative ;
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto; 
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    font-size: 62px;
    margin-top: 120px;
    margin-bottom: 0%;
}

.text-box p{
    margin-top: 0%;
    margin-bottom: 15px;
    font-size: 30px;
    color: #fff;

}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 2s;
}

nav .fa{
    display: none; 
}
.body .equipe{
    background-color: rgb(221, 221, 221)1d1;
}

@media(max-width: 700px){
    nav img{
        width: 200px;
    }

    .text-box h1{
        font-size: 25px;
        font-weight: 400;
    }
    .nav-links ul li{
        display: block;
    }

    .text-box p{
        margin : 10px 0 40px;
        font-size: 15px;
    
    }
    .nav-links{
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition :1s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul{
        padding: 30px;

    }
}

/*---- departements -----*/
.equipe{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

h1{
    font-size: 36px;
    font-weight: 600;
}

p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;  
}

.col{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.equipe-col{
    flex-basis: 31%;
    background : #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition : 0.5s;
    
}

.equipe-row{
    flex-basis: 31%;
    background : #ffd4d4;
    border-radius: 10px;
    margin-top: -100px;
    padding: 20px 12px;
    box-sizing: border-box;
    transition : 0.5s;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.equipe-row:hover{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    cursor: default; 
}

.equipe-col:hover{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    cursor: default;
}

@media(max-width : 700px){

    .row{
        flex-direction: column;

    }
    .col{
        flex-direction: column;
        margin-top: 10px;
    }
    


}

/*----------activites--------------*/

.activites{
    width: 60%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.activites-col{
    flex-basis: 32%;
    border-radius: 15px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
   
}
.activites-col img{
    width: 100%; 
    display: block;
}

.layer{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover{
    background: rgba(248, 86, 46, 0.7);
}

.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 20px;
    bottom: -50px;
    transform: translateX(50);
    position: absolute;
    text-align: center;
    transition: 0.5S;
}

.layer:hover h3{
    bottom : 49%;
    opacity : 10;

}

@media(max-width : 700px){
    .activites-col{
        flex-basis: 32%;
        border-radius: 15px;
        margin-bottom: 50px;
        position: relative;
        overflow: hidden;
        border-radius: 10px;
       
    }
    .activites-col img{
        width: 100%; 
        display: block;
    }
    
    .layer{
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transition: 0.5s;
    }
    
    .layer:hover{
        background: rgba(248, 86, 46, 0.7);
    }
    
    .layer h3{
        width: 100%;
        font-weight: 500;
        color: #fff;
        font-size: 10px;
        bottom: -70px;
        transform: translateX(50);
        position: absolute;
        text-align: center;
        transition: 0.5S;
    }
    
    .layer:hover h3{
        bottom : 49%;
        opacity : 10;
    
    } 
    .activites h1{
        font-size: 30px;
    }  
}

.acti-btn{
    display: inline-block;
    text-decoration: none;
    color: #202020;
    border: 1px solid #202020;
    padding: 12px 34px;
    font-size: 15px;
    background: transparent;
    position: relative;
    cursor: pointer;
    margin-top: 0%;
    margin-bottom: 40px;
}

.acti-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 2s;
}

/*------------- eqyipe ------------*/

.team{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    padding-left: 200px;
    padding-right: 200px;
    background-color: antiquewhite;
}

.team-col{
    flex-basis:100%;
    border-radius: 10px;
    margin-bottom: 0%;
    text-align: center;
}

.team-col img{
    width: 60%;
    border-radius: 10px;

}

.team-col h3{
    font-size: 13px;
    margin-bottom: 0%;
}


.team-col p{
    font-size: 9px;
    margin-bottom: 0%;
}

.team-row{
    flex-basis:100%;
    border-radius: 10px;
    margin-top: 0%;
    text-align: center;
 
}

.team-row img{
    width: 40%;
    border-radius: 10px;
    

}


@media(max-width : 700px){
    .team{
        width: 80%;
        margin: auto;
        text-align: center;
        padding-top: 50px;
        padding-left: 50px;
        padding-right: 50px;
        background-color: antiquewhite;
    }
    
    .team-col{
        flex-basis:100%;
        border-radius: 10px;
        margin-bottom: 0%;
        text-align: center;
    }
    
    .team-col img{
        width: 60%;
        border-radius: 10px;
    }
    
    .team-col h3{
        font-size: 10px;
        margin-bottom: 0%;
        margin-top: 1px;
    }
    
    
    .team-col p{
        font-size: 8px;
        margin-bottom: 0%;
    }
    
    .team-row{
        flex-basis:100%;
        border-radius: 10px;
        margin-top: 0%;
        text-align: center;
    }
    
    .team-row img{
        width: 40%;
        border-radius: 10px;
    }
}


/*----------call to action ----------*/

.cta{
    margin: 100px auto;
    width: 80%;
    background: url(image/cta.png);
    background-position: center;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
    font-size: 30px;
}

@media(max-width : 700px){
    .cta h1{
        font-size: 24px ;
    }
}

/*---------footer-------*/
.footer{
    width: 100%;
    text-align: center;
    padding: 30px;
    font-weight: 600;
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa{
    color : #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;

}


/*-------------------about---------------------*/

.header-about{
    margin: 0% auto;
    width: 100%;
    background: url(image/cta.png);
    background-position: center;
    text-align: center;
    padding: 100px 0;
}

.header-about h1{
    color: #fff;
    margin-bottom: 0;
    padding: 0;
    font-size: 35px;
}

/*-----------presentation-------------*/

.presentation-text {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    width: 80%;
    margin: auto;
    overflow: hidden;
    text-align: left;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.presentation-text h1{
    font-size: 2.5em;
    margin-bottom: 20px;    
}
.presentation-text p{
    font-size: 1em;
}

.presentation-image {
    flex-basis: 100%;
    border-radius: 15px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.presentation-image img{
    width: 100%; 
    display: block;
}


