* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}
h2{
    font-size: 1.2rem;
}
a{
    text-decoration: none;
}

#top_bar{
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    font-size: 1.4rem;
    background-color:#16275e;
    /* background-color: #39f; */
    padding: 15px 20px
}

#top_bar .location_bar::before{
    content: ' \27A2';
    margin-right: 5px;
}

#top_bar .email_bar::before{
    content: ' \2706';
    margin-right: 5px;

}

/* ****************************  Start Header  */

header {
    position: sticky;
    left: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#f8f9fa;
    width: 100%;
    box-shadow: 0px 2px 4px grey;
    z-index: 100;
    

}


header .logo{
    cursor: pointer;
    margin-left: 30px;


}

.nav_links{
    display: flex;
    margin-right: 50px;
    list-style: none;
    font-weight: 600;
    color:black;
    flex-wrap: wrap;
    
}

.nav_links li{
    margin: 0 20px;
}


.nav_links li a{
    font-weight: 600;
    font-size: 1rem;
    color: #000;
    padding: 7px 10px;
    /* border-bottom: #4189c0 1px solid; */

}

.nav_links li a:hover{
    border-radius: 3px;
    border: 1.8px solid #16275e;
    padding: 5px 8px;


}

.nav_btn{
    display: none;
    border: none;
    padding: 8px 16px;
    color: #eee;
    background-color: #16275e;
    margin: 10px auto;
    cursor: pointer;

}


/* ####################################   Start TOP section ##################################### */

#container{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-wrap: wrap;
}

#container img{
    width: 100%;
}

#container h2{
    color: #000;
    margin: 30px 20px;
    font-size: 2rem;
    width: 100%;
    text-align: center;
    background-color: #f8f9fa;
}
#container h2 span{
    color: #39f;
}

.a_prpos_text {
    display: grid;
    /* background-color: #f8f9fa; */
    width: 100vw;
    text-align: left;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.3rem;
    color: gray;


}

.a_prpos_text img{
    margin: 0 auto;    
    max-width: 50%;
    height: auto;
}

/* ##############################  Start Map ########################### */

iframe{
    margin: 20px;
    border: #39f 5px solid;

}



















/* ############################################ Start FOOTER  ######################*/

footer{
    display: grid;
    justify-items: center;
    align-items: center;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    height: 60vh;
    width: 100vw ;
    background-color: #3c90f7;
    margin-top: 20px;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    
}

.footer_col a{
color: #f8f9fa;
opacity: 0.8;
}

footer .footer_col a:hover{
opacity: 1;
}

footer img{
    width: 10%;
    height: auto;
}


@media screen and (max-width: 900px){
    
    header{
        display: flex;
        justify-content: center;
        flex-direction:column ;  
        align-items: center;
        position: relative;


}
    .logo{
        margin-top: 10px;
        /* left: 35vw; */
}

    .nav_links{
        background-color: #fff;
    }


    .nav_links li {
        display: flex;
        width: 100%;
        margin: 5px;
    }

    .nav_links li a{
        width: 100%;
        background-color: rgb(218, 218, 218);
        color: black;
        border-radius: 2px;

    }
    .nav_links li a:hover{
        background-color: #eef;
        color: #000;
    }

    #top_bar{
        display: flex;
        justify-content: space-around;
        align-items: center;
        color: white;
        font-size: 1.1em;
        background-color:#16275e;
        padding: 15px 20px
    }

    .nav_btn{
        display: block;
        border: none;
        padding: 8px 16px;
        color: #eee;
        background-color: #16275e;
        margin: 10px auto;
    
    }

    .nav_links{
        display:none;
        margin: 20px auto;
        padding: 20px;
        list-style: none;
        color:black;
        text-align: center;
        transition: .51s display ease-in-out;
    
        
        }
        .nav_father.show_links .nav_links{
            display: flex;
        }    .nav_btn{
        display: block;
        border: none;
        padding: 8px 16px;
        color: #eee;
        background-color: #16275e;
        margin: 10px auto;
    
    }

            footer img{
            width: 30%;
            height: auto;
        }

}





@media (min-width: 900px) {
    #home_top .Contactinfos, #home_bottom .equipe{
        grid-template-columns: 1fr 1fr 1fr;

    }

    #home_top .nos_service{
        grid-template-columns: repeat(4, 1fr);

    }

    .a_prpos_text{
        grid-template-columns: 1fr 2fr;
        text-align: left;

    }

    .a_prpos_text img{
        margin: 0 auto;    
        max-width: 80%;
        height: auto;
    }

}