/*
#############
    font
############
*/
@font-face {
    font-family: 'Nunito';
    src: url(../font/Nunito/Nunito-Regular.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Fjalla';
    src: url(../font/Fjalla_One/FjallaOne-Regular.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}


body{
    margin: 0;
    text-align: center;
    font-family: 'Nunito';
}
a{
    text-decoration: none;
}
/* 
###############
    header
###############
*/

header{
    width: 100%;
    background-color: #00748D;
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    font-size: 20px;
    background-image: url('../img/path.png');
    background-repeat: repeat-x;
    background-position: bottom;
}

header nav{
    width: 30%;
    display: flex;
    justify-content: space-around;
}

header nav a{
    color: white;
    font-family: Fjalla;
    padding: 10px;
    height: 30%;
}

header nav a:hover{
    color: #00748D;
    background-color: white;
}

header img{
    height: 50px;
}

header div{
    display: flex;
    width: 40%;
}

header div p{
    color: white;
    font-family: 'Fjalla';
    font-size: 24px;
}

/* 
###############
    Main index
###############
*/

/* général */
main{
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
}

h2{
    color: #00748D;
}

/* heder du body */
.headermain{
    background-image: url('../img/bg-header.jpg');
    padding: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
}

h1{
    font-size: 30px;
    font-family: 'Fjalla';
    background-color: #CB8606;
    padding: 15px;
    color: white;
    text-transform: Uppercase; 
}

main .headermain p{
    background-color: white;
    padding: 15px;
    color: #00748D;
    font-weight: bold;
    font-size: 20px;
}

/* prestations */ 

main .prestations div:nth-of-type(1), .actuart div{
    display: flex;
    justify-content: center;
    font-size: 20px;
    align-items: center;
}

main .prestations div:nth-of-type(1) p{
    color: #CB8606;
    font-weight: bold;
    font-size: 40px;
}


main .prestations div:nth-of-type(2){
    display: flex;
    justify-content: space-around;
}

main .prestations div:nth-of-type(2) i{
    background-color: #CB8606;
    padding: 20px;
    font-size: 35px;
    color: white;
}

main .prestations div:nth-of-type(2) h3{
    font-family: 'Fjalla';
}

main .prestations articles{
    width: 20%;
}

main .prestations div:nth-of-type(2) p{
    text-align: justify;
}

main .prestations div:nth-of-type(2) a, .actuart a{
    background-color: #00748D;
    color: white;
    padding: 10px;
    display: block;
    margin: 10px;
    border: 1px solid white;
}

main .prestations div:nth-of-type(2) a:hover{
    background-color: white;
    color: #00748D;
    border: 1px solid #00748D;
}

/* sectiopn 2 */

main .Prestataires div:nth-of-type(1){
    display: flex;
    justify-content: center;
    font-size: 20px;
    align-items: center;
}

main .Prestataires div:nth-of-type(1) p{
    color: #CB8606;
    font-weight: bold;
    font-size: 40px;
}

main .Prestataires div:nth-of-type(2) i{
    background-color: #CB8606;
    padding: 20px;
    font-size: 35px;
    color: white;
}

main .Prestataires div:nth-of-type(2){
    display: flex;
    justify-content: space-around;
}

/* 
###############
main actualiter
###############
*/

.actuart h1{
    color:  #CB8606;
    background-color: white;
}

.actuart img{
    float: left;
    width: 50%;
    margin-right: 20px;
    max-width: 475px;
}

.actuart article{
    margin: 50px;
    text-align: left;
}

.actuart a{
    display: inline;
}

.temoin img{
    width: 10%
}

aside{
    height: 500px;
    overflow: scroll;
    width: 50%;
}

.temoin {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.titre p{
    color: #CB8606;
    font-weight: bold;
    font-size: 40px;
}


/* 
###############
   Footer
###############
*/

footer{
    width: 100%;
    background-color: #00748D;
    display: flex;
    justify-content: space-around;
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 20px;
    background-image: url('../img/path.png');
    background-repeat: repeat-x;
    background-position: bottom;
    margin-top: 50px;
}

footer div:nth-of-type(2){
    width: 30%;
    font-size: 50px;
}

footer div:nth-of-type(2) i{
    color: white;
    padding: 10px;
    height: 50%;
}

footer div:nth-of-type(2) i:hover{
    color: #00748D;
    background-color: white;
}



footer img{
    height: 50px;
}

footer div{
    display: flex;
    width: 40%;
}

footer div p{
    color: white;
    font-family: 'Fjalla';
    font-size: 24px;
}

