main{
    
    display: flex;
    flex-direction: column;

}

.titre_apropos {
    width: 100%;
    border-top: 2px solid black;
    max-height: 700px;
    object-fit: cover;
    object-position: 90% 70%;

}

.titre_text_apropos{ 
    /*bloc titre sur photo avec chaussons chats*/
   
    position: absolute;
    top:30%;
    left:10%;
    display: flex;
    flex-direction: row;
    width: 40%;
    border: 3px solid brown;
    background-color: #D8BD8A;
    border-radius: 100px 100px 100px 100px ;
    margin:20px
   

}
.titre_text_apropos img { 

    padding: 10px;
    max-height: 150px;
    max-width: 30%;
    align-self: center;
    clip-path: ellipse(45% 45%) ;
    object-fit:fill;
 
}
.blabla_titre_apropos{
    margin: 15px;
    width: 60%;
}
@media screen and (max-width:1100px)and ( min-width:800px ){ 
    .titre_text_apropos{
        
        align-items: center;
        margin:20px;
        width: 50%;
    }
    
    .titre_text_apropos img {
        display: flex;
        clip-path: none;
        border: solid #d8bd8abb 3px;
        padding: 0px;
        margin:10px;
        border-radius: 10px;
        height: max-content;
        width: 30%;
        object-fit: cover;
       
       
    }
   
}

@media screen and (max-width: 800px) {/*on passe re en ligne et centré*/
   
    .titre_text_apropos{
        display:flex;
        flex-direction: column;
        position: inherit;
        padding :10px;
        align-items: center;
        justify-content: center;
        border-radius: 0px;
        width: 90%;
        margin:0px;
        border-radius: 10px;
        border: #D8BD8A;
        margin:20px;
        box-shadow: rgba(0, 0, 0, 0.164) 10px 10px;
    }
    
    .titre_text_apropos img {
        display: none;
        
    }
    .blabla_titre_apropos{
        width: 100%;
    }  
}

.titre_text_apropos h1{
    margin: 0px;    
}

/*------------------------------------------------*/
/*la mamie creepy là*/

.pour_mettre_bien_la_mamie{
    display: flex;
    flex-direction: row;
    margin:20px;
    justify-content: sleft;
    align-items: center;
    flex-wrap: wrap;
    max-height: fit-content;
    background-color: #D8BD8A;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.164) 10px 10px;
    padding-top:10px;
}

.mamie_titre{
    display: flex;
    flex-direction: column;
    width: 80%;
    align-items: center;
        
}
.histoire{
    display: flex;
    text-align: justify;
    width: 70%;
    margin:20px;
    margin-bottom:0px;
    text-size-adjust: 14pt;
    letter-spacing: 3px;
    line-height: 3em;
}

.la_mamie{
    display: flex;
    flex-direction: column;  
    align-items: center;   
    width: 10%;
    margin-left:30px
      
}


.la_mamie img{
    width: 100%;
    border : solid black 3px;
}
.la_mamie p{
    display: flex;
    align-items: center;
    margin: 5px;
    padding: 5px;
    background-color: #785964;
    color: white;
    text-align: center;
    border-radius: 5px;
}
@media screen and (max-width: 1200px){
    /*désoléé mamie mais tu vas disparaitre...*/
    .mamie_titre{
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding-left: 10px;
    }
    
    .la_mamie{
        display: none;
    }
    .histoire{
        letter-spacing: 1px;
        line-height: 2em;
    }
    
}


/*-------------------------------------*/
/*triangle et bloc global sous-thème*/


#triangle-down {
    width: 0px;
    height: 0px;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 50px solid rgb(12, 12, 12);
    
}
.liste_triangle{
    margin:20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    max-height: fit-content;
    background-color: #D8BD8A;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.164) 10px 10px;
    padding-top:10px;
    
    
}


/*image diagonale*/

.diagonals_images{
    clip-path: polygon(0% 30%, 100% 0%, 100% 70%, 0% 100%);
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 40%;
    margin-bottom: 20px;
}

/*------------------------------------------------*/
/*bloc sous-thème ingrédient*/
.ingredients {
    height: 80%;
    display: flex;
    flex-direction: column;
}

.liste_ingredient{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px;
    width: 80%;


}
.img_ingredient{
    display: flex;
    flex-direction: column;
    gap:10px;
    width: 300px;
}

.img_ingredient p{
    position: relative;
    bottom: 160px;
    left: 70px;
    width: 150px;
    height: 20%;
    opacity:0;
    margin: 0;
    text-align: center;
    background-color: rgba(250, 235, 215, 0.699);
    border: #d8bd8abb solid 3px;
    
}

.rond {
    clip-path: circle(40%);
    object-fit:cover;
    width: 300px;
    height: 250px;
   
}
.img_ingredient :hover{
      opacity: 1;
     
}
@media screen and (max-width:800px){
    .liste_ingredient{
        margin:0px;
        width: 100%;
    }
    .img_ingredient{
        width: 50%;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding-bottom:10px;
    }
    .rond{
        clip-path: none;
        width: 150px;
        height: 100px;
        object-fit: cover;
    }
    .img_ingredient p{
        position: inherit;
        opacity: 1;
        background-color: #d8bd8abb;
        padding-top: 5px;
        border: none;
    }
}
/*----------------------------------------*/
/*sous-thème préparation*/

.preparation{
    list-style-type: decimal;
    width: 80%;
    letter-spacing: 3px;
    line-height: 3em;
    
}

.la_prepa{
    display: flex;
    flex-direction: column;
    height: 80%;
}
@media  screen and (max-width:800px) {
    .preparation{
        letter-spacing: 1px;
        line-height: 2em;
    }
    .preparation li{
        margin-bottom:15px;
    }
}

/*-----------------------------------*/
/*sous-thème formulaire contact*/

.formulaire{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width:  80%;
    flex-wrap: wrap;
    margin-bottom: 20px;

}
.formulaire label{
    display: flex;
    width: 500px;

}
.formulaire input textarea{
    display: flex;
    width: 500px;
}

.checkbox{
    display: flex;
    flex-direction: row;
}

button{
    display: flex;
    width: 70px;
    justify-content: center;

   
}
.formulaire fieldset{
    width: 80%;
}
@media screen and (max-width:800px){
    .liste_triangle p{
        padding-left: 10px;
    }
    .formulaire{
        width:90%;
    }
   
}
