body{
    font-size: 16px;
    margin: 0;
    padding: 0;
    font-family: 'Ovo', serif;
}

/* Extra small devices (portrait phones, less than 576px) */

@media(max-width: 767.98px){
    #container{
        width: 100%;
        color: black;
    }
    /* ********* HEADER ********* */
    header{
        min-height: 100px;
        background-color: gray;
        border-bottom: 2px solid black;
    }
    .container1{
        width: 100%;        
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
    }
    .logo{
        width: 100%;  
        text-align: center;
        background-color: gray;
    }
    .logo a{
        width: 100%;   
    }
    .adresse{
        width: 100%;   
        text-align: center;
        padding-top: 20px;
    }
    .icones{
        width: 100%;   
        text-align: right;
        padding-top: 20px;
    }
    .icones i{
        font-size: 20px;
        color: black;
    }
    .icones form{
        align-items: right;
    }
    .icones input{
        text-align: center;
        border: 1px solid black;
        border-radius: 10px;
        width: 100%;  
        background-color: rgb(206, 197, 197);
    }
    /* ********* NAV ********* */
    nav{
        min-height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-bottom: 2px solid black;
    }
    .container2{
        width: 100%;  
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
        color: black;
        justify-content: space-around;
    }
    nav a{
        text-align: center;
        width: 180px;  
        display: inline-block;
        border: 1px solid gray;  
        border-radius: 10px;
        background-color: rgb(206, 197, 197);
        color: black;
        margin: 2.5px 0 2.5px 5px;
        text-decoration: none;
    }
    nav a:hover{
        background-color: rgb(235, 231, 227);
        border: 1px solid burlywood;
        color: black;
        text-decoration: none;
    }
    /* ********* MAIN ********* */
    main{
        min-height: 800px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        background-image: url(../img/fond1.jpg);
    }
    .container3{
        width: 100%;
        min-height: 800px;
        margin: 0 auto;
        background-color: white;
    }
    .A{
        width: 100%;
        margin-top: 10px;
        order: 1;
    }
    .A a{
        text-align: center;
        width: 180px;
        border: 1px solid gray;
        border-radius: 10px;
        background-color: rgb(206, 197, 197);
        margin: 5px 0 0 5px;
        display: inline-block;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: black;
    }
    .A a:hover{
        background-color: rgb(235, 231, 227);
        border: 1px solid burlywood;
        color: black;
        text-decoration: none;
    } 
    .B{
        text-align: center;
        margin-top: 20px;
        order: 2;
        width: 100%;       
    }
    .B h1{
        text-align: center;
        margin-bottom: 30px;
    }
    .B p{
        text-align: justify;
        margin: 50px 10px 0 10px;
    }
    .slider{
        border: 1px solid rgb(206, 197, 197);
        box-shadow: 8px 8px 4px rgb(206, 197, 197); /* ombrage : décalage horizontal vers la droite - décalage vertical vers le bas - force du dégradé - couleur */
        padding: 10px;
    }
    .C{
        width: 225px;
        margin-top: 100px;
        text-align: center;
        display: none;
    }
    .C ul li{
        list-style: none;
    }
    .C a{
        color: black;
        font-weight: bold;
    }
    .D{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        order: 3;
    }
    .D img{
        max-width: 100%;
        height: auto;
        border: 1px solid rgb(206, 197, 197);
        box-shadow: 8px 8px 4px rgb(206, 197, 197); /* ombrage : décalage horizontal vers la droite - décalage vertical vers le bas - force du dégradé - couleur */
    }
    .D p{
        margin-top: 50px;
    }
    .D1, .D2, .D3{
        width: 100%;
        border-bottom: 1px solid gray;
        padding: 10px;
        text-align: center;
    }
    .E{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .E img{
        max-width: 100%;
        height: auto;
        border: 1px solid rgb(206, 197, 197);
        border-radius: 10px;
        box-shadow: 8px 8px 4px rgb(206, 197, 197); /* ombrage : décalage horizontal vers la droite - décalage vertical vers le bas - force du dégradé - couleur */
        padding: 10px;
    }
    .E p{
        margin-top: 50px;
    }
    .E1, .E2, .E3{
        width: 100%;
    }
    .E1{
        order: 5;
    }
    .E2{
        order: 4;
    }
    .E3{
        order: 6;
    }
    .E1 a, .E2 a{
        color: burlywood;
    }
    .E1 img{
        max-width: 100%;
        height: auto;
    }
    .F{
        width: 100%;
        text-align: center;
    }
    .F i{
        color: burlywood;
        font-size: 35px;
    }

    /* ********* FOOTER ********* */
    footer{
        min-height: 80px;
        background-color: gray;
        border-top: 2px solid black;
    }
    .container4{
        width: 100%;  
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
    }
    .gauche, .milieu, .droite{
        width: 100%;  
    }
    .gauche a, .milieu a, .droite a{
        list-style: none;       
        color: black;
    }
    .gauche{
        text-align: center;
        order: 2;
    }
    .gauche i{
        font-size: 20px;
        padding-right: 10px;
    }
    .gauche input{
        border: 1px solid black;
        border-radius: 10px;
        width: 100%;    
    }
    .gauche input, .gauche label{
        background-color: rgb(206, 197, 197);
    }
    .gauche input[type=email]{
        text-align: center;
    }
    .gauche input[type=submit]{
        cursor: pointer;
    }
    .gauche input[type=submit]:hover{
        border: 1px solid burlywood;
    }
    .milieu{
        text-align: center;
        padding-top: 20px;
        width: 100%;        
        order: 1;
    }
    .droite{
        text-align: center;
        padding-top: 20px;
        width: 100%;   
        text-decoration: none;
        order: 3
    }
    .droite i{
        font-size: 20px;
    }
    .droite img{
        color: black;
    }
    footer a:hover{
        color: black;
    }
    .bas{
        width: 960px;
        text-align: center;
        width: 100%;   
        order: 4;
    }
}










/* Medium devices (tablets, 768px and up) */

@media(min-width: 768px) and (max-width: 991.98px){
    #container{
        width: 100%;
        color: black;
    }
    /* ********* HEADER ********* */
    header{
        min-height: 100px;
        background-color: gray;
        border-bottom: 2px solid black;
    }
    .container1{
        width: 100%;       
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
    }
    .logo{
        width: 100%;  
        text-align: center;
        background-color: gray;
    }
    .logo a{
        width: 100%;    
    }
    .adresse{
        width: 100%;   
        text-align: center;
        padding-top: 20px;
    }
    .icones{
        width: 100%;  
        text-align: right;
        padding-top: 20px;
    }
    .icones i{
        font-size: 20px;
        color: black;
    }
    .icones form{
        align-items: right;
    }
    .icones input{
        text-align: center;
        border: 1px solid black;
        border-radius: 10px;
        width: 100%;   
        background-color: rgb(206, 197, 197);
    }
    /* ********* NAV ********* */
    nav{
        min-height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-bottom: 2px solid black;
    }
    .container2{
        width: 100%;   
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
        color: black;
        justify-content: space-around;
    }
    nav a{
        text-align: center;
        width: 180px;  
        display: inline-block;
        border: 1px solid gray;  
        border-radius: 10px;
        background-color: rgb(206, 197, 197);
        color: black;
        margin: 5px 0 5px 5px;
        text-decoration: none;
    }
    nav a:hover{
        background-color: rgb(235, 231, 227);
        border: 1px solid burlywood;
        color: black;
        text-decoration: none;
    }
    /* ********* MAIN ********* */
    main{
        min-height: 800px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        background-image: url(../img/fond1.jpg);
    }
    .container3{
        width: 100%;
        min-height: 800px;
        margin: 0 auto;
        background-color: white;
    }
    .A{
        width: 100%;    
        margin-top: 20px;
        order: 1;
    }
    .A a{
        text-align: center;
        width: 180px;
        border: 1px solid gray;
        border-radius: 10px;
        background-color: rgb(206, 197, 197);
        margin: 5px 0 0 5px;
        display: inline-block;
        justify-content: center;
        align-items: center;
        color: black;
        text-decoration: none;
    }
    .A a:hover{
        background-color: rgb(235, 231, 227);
        border: 1px solid burlywood;
        color: black;
        text-decoration: none;
    }
    .B{
        text-align: center;
        margin-top: 20px;
        width: 100%;
        order: 2;
    }
    .B h1{
        text-align: center;
        margin-bottom: 30px;
    }
    .B p{
        text-align: justify;
        margin: 50px 10px 0 10px;
    }
    .slider{
        border: 1px solid rgb(206, 197, 197);
        box-shadow: 8px 8px 4px rgb(206, 197, 197); /* ombrage : décalage horizontal vers la droite - décalage vertical vers le bas - force du dégradé - couleur */
        padding: 10px;
    }
    .C{
        width: 100%;       
        margin-top: 100px;
        display: none;
    }
    .C ul li{
        list-style: none;
    }
    .C a{
        color: black;
        font-weight: bold;
    }
    .D{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        order: 3;
    }
    .D img{
        max-width: 100%;
        height: auto;
        border: 1px solid rgb(206, 197, 197);
        box-shadow: 8px 8px 4px rgb(206, 197, 197); /* ombrage : décalage horizontal vers la droite - décalage vertical vers le bas - force du dégradé - couleur */
    }
    .D p{
        margin-top: 50px;
    }
    .D1, .D2, .D3{
        width: 100%;
        padding: 10px;
        text-align: center;
    }
    .E{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .E img{
        max-width: 100px;
        height: auto;
        border: 1px solid rgb(206, 197, 197);
        border-radius: 10px;
        box-shadow: 8px 8px 4px rgb(206, 197, 197); /* ombrage : décalage horizontal vers la droite - décalage vertical vers le bas - force du dégradé - couleur */
        padding: 10px;
    }
    .E p{
        margin-top: 50px;
    }
    .E1, .E2, .E3{
        width: 100%;
    }
    .E1{
        order: 5;
    }
    .E2{
        order: 4;
    }
    .E3{
        order: 6;
    }
    .E1 a, .E2 a{
        color: burlywood;
    }
    .E1 img{
        max-width: 100%;
        height: auto;
    }
    .F{
        width: 100%;
        text-align: center;
    }
    .F i{
        color: burlywood;
        font-size: 35px;
    }

    /* ********* FOOTER ********* */
    footer{
        min-height: 80px;
        background-color: gray;
        border-top: 2px solid black;
    }
    .container4{
        width: 100%;  
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
    }
    .gauche, .milieu, .droite{
        width: 100%;  
    }
    .gauche a, .milieu a, .droite a{
        list-style: none;       
        color: black;
    }
    .gauche{
        text-align: center;
        order: 2;
    }
    .gauche i{
        font-size: 20px;
        padding-right: 10px;
    }
    .gauche input{
        border: 1px solid black;
        border-radius: 10px;
        width: 100%;     
    }
    .gauche input, .gauche label{
        background-color: rgb(206, 197, 197);
    }
    .gauche input[type=email]{
        text-align: center;
    }
    .gauche input[type=submit]{
        cursor: pointer;
    }
    .gauche input[type=submit]:hover{
        border: 1px solid burlywood;
    }
    .milieu{
        text-align: center;
        padding-top: 20px;
        width: 100%;        
        order: 1;
    }
    .droite{
        text-align: center;
        text-decoration: none;
        padding-top: 40px;
        width: 100%;   
        order: 3;
    }
    .droite i{
        font-size: 20px;
    }
    .droite img{
        color: black;
    }
    footer a:hover{
        color: black;
    }
    .bas{
        width: 960px;
        text-align: center;
        width: 100%;   
        order: 4;
    }
}










/* Ecran (desktops, 992px and up) */

@media(min-width: 992px){
    #container{
        width: 100%;
        color: black;
    }
    /* ********* HEADER ********* */
    header{
        min-height: 100px;
        background-color: gray;
        border-bottom: 2px solid black;
    }
    .container1{
        width: 960px;
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
    }
    .logo{
        width: 250px;
        text-align: left;
        background-color: gray;
    }
    .logo a{
        width: 50px;
    }
    .adresse{
        width: 460px;
        text-align: center;
        padding-top: 20px;
    }
    .icones{
        width: 250px;
        text-align: right;
        padding-top: 20px;
    }
    .icones i{
        font-size: 20px;
        color: black;
    }
    .icones form{
        align-items: right;
    }
    .icones input{
        text-align: center;
        border: 1px solid black;
        border-radius: 10px;
        width: 150px;
        background-color: rgb(206, 197, 197);
    }
    /* ********* NAV ********* */
    nav{
        min-height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom: 2px solid black;
    }
    .container2{
        width: 960px;
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
        color: black;
        justify-content: space-around;
    }
    nav a{
        text-align: center;
        width: 180px;
        display: inline-block;
        border: 1px solid gray;  
        border-radius: 10px;
        background-color: rgb(206, 197, 197);
        color: black;
        margin: 5px 0 5px 5px;
        text-decoration: none;
    }
    nav a:hover{
        background-color: rgb(235, 231, 227);
        border: 1px solid burlywood;
        color: black;
        text-decoration: none;
    }
    /* ********* MAIN ********* */
    main{
        min-height: 800px;
        justify-content: center;
        align-items: center;
        background-image: url(../img/fond1.jpg);
    }
    .container3{
        width: 960px;
        min-height: 800px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        background-color: white;
    }
    .A{
        width: 225px;
        margin-top: 160px;
    }
    .A a{
        text-align: center;
        width: 180px;
        border: 1px solid gray;
        border-radius: 10px;
        background-color: rgb(206, 197, 197);
        margin: 5px 0 0 5px;
        display: inline-block;
        color: black;
        text-decoration: none;
    }
    .A a:hover{
        background-color: rgb(235, 231, 227);
        border: 1px solid burlywood;
        color: black;
        text-decoration: none;
    }
    .B{
        text-align: justify;
        margin-top: 20px;
        width: 510px;
    }
    .B h1{
        text-align: center;
        margin-bottom: 30px;
    }
    .B p{
        margin-top: 50px;
    }
    .slider{
        border: 1px solid rgb(206, 197, 197);
        box-shadow: 8px 8px 4px rgb(206, 197, 197); /* ombrage : décalage horizontal vers la droite - décalage vertical vers le bas - force du dégradé - couleur */
        padding: 10px;
    }
    .C{
        width: 225px;
        margin-top: 160px;
    }
    .C ul li{
        list-style: none;
    }
    .C a{
        color: black;
        font-weight: bold;
    }
    .D{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        width: 960px;
    }
    .D img{
        width: 250px;
        border: 1px solid rgb(206, 197, 197);
        box-shadow: 8px 8px 4px rgb(206, 197, 197); /* ombrage : décalage horizontal vers la droite - décalage vertical vers le bas - force du dégradé - couleur */
    }
    .D p{
        margin-top: 50px;
    }
    .D1, .D2, .D3{
        width: 300px;
        padding: 10px;
        text-align: center;
    }
    .E{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
        text-align: center;
        width: 960px;
    }
    .E img{
        width: 100px;
        border: 1px solid rgb(206, 197, 197);
        border-radius: 10px;
        box-shadow: 8px 8px 4px rgb(206, 197, 197); /* ombrage : décalage horizontal vers la droite - décalage vertical vers le bas - force du dégradé - couleur */
        padding: 10px;
    }
    .E p{
        margin-top: 50px;
    }
    .E1, .E2, .E3{
        width: 300px;
    }
    .E1 a, .E2 a{
        color: burlywood;
    }
    .E1 img{
        width: 130px;
    }
    .E2{
        margin: 0 15px;
    }
    .E2 p{
        margin-bottom: 30px;
    }
    .F{
        width: 960px;
        text-align: center;
    }
    .F i{
        color: burlywood;
        font-size: 35px;
        margin-top: 30px;
    }
    /* ********* FOOTER ********* */
    footer{
        min-height: 80px;
        background-color: gray;
        border-top: 2px solid black;
    }
    .container4{
        width: 960px;
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
    }
    .gauche, .milieu, .droite{
        width: 320px;
    }
    .gauche a, .milieu a, .droite a{
        list-style: none;       
        color: black;
    }
    .gauche{
        text-align: center;
        padding-top: 40px;
    }
    .gauche i{
        font-size: 20px;
        padding-right: 10px;
    }
    .gauche input{
        border: 1px solid black;
        border-radius: 10px;
    }
    .gauche input, .gauche label{
        background-color: rgb(206, 197, 197);
    }
    .gauche input[type=email]{
        text-align: center;
    }
    .gauche input[type=submit]{
        cursor: pointer;
    }
    .gauche input[type=submit]:hover{
        border: 1px solid burlywood;
    }
    .milieu{
        text-align: center;
        padding-top: 20px;
    }
    .droite{
        text-align: center;
        padding-top: 40px;
        text-decoration: none;
    }
    .droite i{
        font-size: 20px;
    }
    .droite img{
        color: black;
    }
    footer a:hover{
        color: black;
    }
    .bas{
        width: 960px;
        text-align: center;
    }
}