@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* à faire à chaque fois pour que les marges aillent bien jusqu'au bout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

/* ------------------------------ MENU BURGER --------------------------*/

#burger{
    position: absolute;
    width: 100%;
    font-size: 20px;
    height: 500px;
    right: 0;
    top: 0;
    display: none;
}

#burger .nav-burger{
    position: absolute;
    background-color: black;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    transition: transform 1s;
}

#open, #close{
    height: 45px;
    font-size: 50px;
    position: absolute;
    z-index: 1;
    right: 20px;
    top: 0px;
}

#burger a{
    text-decoration: none;
    color: white;
    display: block;
    margin: 10px 0;
}

/* faire apparaitre ou disparaitre le bouton  */

#burger:target #open,
#burger:not(:target) #close{
    display: none;
}

/* si #burger n'apparait pas dans l'url
place la nav en dehors de l'écran */

#burger:not(:target) .nav-burger{
    transform: translate3d(0, -220px, 0);
}

#burger:not(:target) #open{
    color: black;
}

/* si #burger apparait pas dans l'url
place la nav à sa position d'origine */

#burger:target .nav-burger{
    transform: translate3d(0, 0, 0);
}

/* ------------------------------ FIN MENU BURGER --------------------------*/


header,footer{
    background-color: rgb(228, 227, 225);
    /*display: flex;
    justify-content: center;*/
}

.contenu {
    width: 1000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* ------tout pareil -----
    padding-top: 20px;
    padding-bottom: 20px;  
    padding: 20px 0 20px 0; */
    padding: 30px 0;
}

.contenu div{
    flex-basis: 0;
    flex-grow: 1;
}

#logo {
    width: 155px;
}

header nav{
    display: flex;
    gap: 50px;
}   

header nav a{
    color: black;
    text-decoration: none;
    font-size: 18px;
    transition: 0.5s;
}

header nav a:hover{
    color: rgb(220, 127, 83);
}

a{
    text-decoration: none;
    color: black;
}

.active{
    color: rgb(220, 127, 83);
}

#banniere{
    height: 86vh;
    /* background-image: url('../images/fond.webp');
    background-position: center;
    background-size: cover; */
    background: url('../images/fond.webp') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1{ 
    font-size: 72px;
    font-weight: 500;
    text-align: center;
    line-height: 0.9;
}

h2{
    font-size: 60px;
    text-align: center;
}

section{
    padding: 40px 0;
}

.bouton{
    border: thin solid black;
    padding: 15px;
    text-decoration: none;
    color: black;
}

#produits{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bloc-img1{
    width: 300px;
    height: 330px;
    background: url(../images/bloc1.webp) center/cover no-repeat;
    border-radius: 15px; /* bord rond */
}

.bloc-img2{
    width: 300px;
    height: 330px;
    background: url(../images/bloc2.webp) center/cover no-repeat;
    border-radius: 15px;
}

.bloc-img3{
    width: 300px;
    height: 330px;
    background: url(../images/bloc3.webp) center/cover no-repeat;
    border-radius: 15px;
}

#nouveautes p{
    text-align: center;
    margin-top: 20px;
}

#nouveautes .contenu div{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#nouveautes .contenu{
    gap: 50px;
}

#mission .contenu div{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 30px;
}

.mission-img{
    border-radius: 50%;
    height: 430px;
    width: 430px; 
    background: url(../images/bloc4.webp) center/cover no-repeat;
}

#mission .contenu{
    gap: 95px;
}

#savoir{
    background-color: rgb(220, 127, 83);
    padding: 10px;
    color: white;
}

#savoir h2{
    font-size: 50px;
}

.bouton-blanc{
    color: white;
    border-color: white;
    background-color: rgb(220, 127, 83) ;
    transition: 0.5s;
}

.bouton-blanc:hover{
    font-size: 20px;
}

#logo-footer{
    width: 145px;
}

footer nav{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 30px 0 0 20px;
}

footer p{
    text-align: right;
}

.reseaux{
    display: flex;
    justify-content: end;
    gap: 10px;
    margin-top: 10px;
}

.reseaux img{
    width: 30px;
}

.banniere{
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

#banniere2{
    background: url('../images/fond-propos.webp') center/cover no-repeat;
}

.contenu2{
    align-items: start;
}

#existons .contenu div{
    flex-basis: 0;
    flex-grow: 1;
}

#existons .contenu{
    gap: 100px;
}

#banniere3{
    background: url('../images/fond-produit.webp') center/cover no-repeat;
}

#fauteuil .contenu div{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 30px;
    flex-basis: 0;
    flex-grow: 1;
}

.produits-img{
    border-radius: 15px;
    height: 400px;
    width: 400px; 
}

#produits .contenu{
    gap: 300px
}

.fauteuil{
    background: url(../images/chaise2.webp) center/cover no-repeat;
}

.canape{
    background: url(../images/fond-produit.webp) center/cover no-repeat;
}

.luminaire{
    background: url(../images/lampe.webp) center/cover no-repeat;
}

.chaise{
    background: url(../images/bloc3.webp) center/cover no-repeat;
}



#fauteuil{
    background-color:rgb(228, 227, 225);
}

#canape .contenu div{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 30px;
    flex-basis: 0;
    flex-grow: 1;
}


#luminaire .contenu div{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 30px;
    flex-basis: 0;
    flex-grow: 1;
}

#fauteuil .contenu, #canape .contenu, #luminaire .contenu, #chaise .contenu{
    gap: 200px;
}

#luminaire{
    background-color:rgb(228, 227, 225);
}

#chaise .contenu div{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 30px;
    flex-basis: 0;
    flex-grow: 1;
}

#banniere-contact{
    background: url('../images/fond-contact.webp') center/cover no-repeat;
}

#contact h2{
    text-align: center;
    margin: 30px;
}



/* -----------------------------------MOI------------------

.picto{
    width: 100px;
    height: 100px;
}

.telephone{
    background: url(../images/picto_phone.webp) center/cover no-repeat;
}

.adresse{
    background: url(../images/picto_geo.webp) center/cover no-repeat;
}

.mail{
    background: url(../images/picto_mail.webp) center/cover no-repeat;
}

#contact .contenu div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 33%;
}

#carte{
    display: flex;
    flex-direction: column;
    align-items: center;
}

iframe{
    border-radius: 15px;
}

#formulaire{
    display: flex;
    flex-direction: column;
    align-items: start;
    margin: 30px;
}

input{
    width: 100%;
    height: 50px;
}
----------------------------CORRECTION--------------*/

.info-contact{
    text-align: center;
}

.info-contact img{
    width: 90px;
}

iframe{
    border-radius: 15px;
}

textarea{
    resize: none;
    width: 100%;
    height: 100px;
    margin-bottom: 20px;
}

#formulaire h2{
    text-align: left;
    margin-bottom: 40px;
}

#formulaire img{
    border-radius: 15px;
}

input, textarea{
    width: 100%;
    margin-bottom: 20px;
    height: 30px;
}

.gap-pdt{
    gap: 120px;
}

.bouton-envoie{
    background-color: rgb(220, 127, 83);
    width: 150px;
    height: 50px;
    border: none;
    font-size: 18px;
    color: white;
}

.heures{
    text-align: center;
}

.heures hr{
    margin: 20px 0;
}

.heures h3{
    font-weight: bold;
    font-size: 20px;
}

/* -----------RESPONSIVE------------------ */

@media screen and (max-width:1000px){

    #burger{
        display: block;
    }

    .contenu{
        width:90%;
        flex-direction: column;
    }

    #banniere{
        height: 50vh;
    }

    h1, h2{
        font-size: 40px;
    }

    .bloc-img1, .bloc-img2, .bloc-img3{
        margin: auto;
    }

    #mission .contenu div{
        align-items: center;
    }

    .contenu div{
        flex-basis: auto;
    }

    #mission-img{
        width: 300px;
        height: 300px;
    }

    #savoir h2{
        font-size: 40px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    #footer nav{
        margin-left: 0;
        text-align: center;
    }

    footer p{
        text-align: center;
        margin-top: 20px;
    }

    .reseaux{
        justify-content: center;
    }

    .banniere{
        height: 350px;
    }

    .img-pdt{
        width: 350px;
        order: 1 !important;
    }

    .gap-pdt{
        gap: 40px;
    }

    #horaires .contenu{
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    header nav{
        display: none;
    }
}


