* {/*proprieter taille de boite trés utile notament pour le responssive*/
    box-sizing: border-box;
}


body{
    background-image: url(../img/fond.png);
    /* Proprieter background*/
    /*
     background-repeat:no-repeat;
     background-size: cover; 
     */
    
    width: 100%;
}
/* En tete */
header{
    background-color: rgb(87, 214, 176);
    text-align: center;
}
header h1{
    color:rgb(48, 104, 85);
    font-size: 45px;
    /*Telecharger font est copier coller link*/
    font-family: "Anton", sans-serif;
    letter-spacing: 1px;
    /* Pour enlever la marge du titre*/
    margin:0 auto;
    text-align: center; 
}
header img{
    width: 10%;
}

nav{
    background-color: rgb(48, 104, 85);
    display: flex;
    justify-content: space-around;
}

nav a {
    border: 2px solid rgb(172, 251, 148);
    background: rgb(87, 214, 176);
    color: rgb(48, 104, 85);
    margin: 10px;
    padding: 2px 10px;
    border-radius: 10px 0px;
    text-decoration: none;
    font-size: 20px;
}

/* Corp de page  */
body{
    background-image: url(../img/fond.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

/* En tete */
header{
    background-color:rgb(87, 214, 176);
    text-align: center;
}
header h1{
    margin: 0px;
}
header img{
    width: 10%;
}

nav{
    background-color: rgb(48, 104, 85);
    display: flex;
    justify-content: space-around;
}
.sticky{
    position: sticky;
    top: 1px;
}

nav a {
    border: 2px solid rgb(172, 251, 148);
    background: rgb(87, 214, 176);
    color: rgb(48, 104, 85);
    margin: 10px;
    padding: 2px 10px;
    border-radius: 10px 0px;
    text-decoration: none;
    font-size: 20px;
}

/* Corp de page  */
main{
    background-color: rgb(87, 214, 176);;
    margin: 0 auto;
    text-align: center;
    width: 50%;
}
h2{
  color: rgb(34, 105, 31);
  padding: 20px;
  font-size:35px;
  text-shadow: 1px 1px 2px #aaa;
/* 4 valeurs : ombre horizontale, verticale, zone de flou, couleur de l'ombre */
}
h3{
  color: rgb(14, 131, 86);
  padding: 15px;
  font-size:22px;
}
.flex{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}
.flex div{
    display: flex;
    flex-direction: column;
    width: 45%;
}
/*responsive*/
/*
@media screen and (max-width:480px) { 
    Ici affichage pour ecran moins de 480px
}
*/
/*
@media screen and (min-width:768px) {
    Ici affichage pour écran à partir de 768px et plus
}
*/
/*
@media screen and (min-width:992px) {
    Ici affichage pour écran à partir 992px et supérieur
}
*/
/*
@media screen and (min-width:1200px) {
    Ici affichage pour écran à partir 1200px et supérieur
}
*/
.gros{
    color:rgb(14, 131, 86);
    font-size: 20px;
}
.liens{
    background-color:rgb(14, 131, 86);
    border:1px solid rgb(14, 131, 86);
    color:aliceblue;
    text-decoration: none;
}
.petit{
    width:55%;
}
.btn{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    border: 2px solid rgb(172, 251, 148);
    background: rgb(48, 104, 85);
    color: rgb(87, 214, 176);
    padding: 2px 10px;
    border-radius: 10px 0px;
    text-decoration: none;
    font-size: 20px;
    width:25% ;
    }

/* La zone de pied de page */

footer{
    background-color:rgb(48, 104, 85);
    color:antiquewhite;
    text-align: center;
}

@media screen and (max-width:768px) {
    body{
        /* display: flex; */
        height: 100vh;
        width: 100vw;
    }
    .container{
        display: flex;
    }
    header{
        display: flex;
        flex-direction: column;
        width: 30%;
    }
    header img{
        width: 85%;
        margin: 0 auto;
    }
    header nav{
        display: flex;
        flex-direction: column;

    }
    header nav a{
        margin-top: 7%;
    }
    main{
        width: 69%;
    }
    footer h3{
        margin-top: 0;
    }


}
