* {
    overflow: auto;
}


body {
    font-family: Arial;
    margin: 0;
}   

.entrer {background-color: #8BA1BB;}
.soupe {background-color: #f9fc28;}
.salade {background-color: #3acf5a;}
.boeuf {background-color: #e82424;} 
.porc {background-color: #e8247c;}
.poulet {background-color: #da8f0d;}
.poisson {background-color: #fd7b7b;}
.pate {background-color: #e7feb1;}
.sauce {background-color: #f7673b;}
.mijoteuse {background-color: #cb3bf7;}
.dejeuner {background-color: #395679}
.dessert {background-color: #2e65a9;}
            
div.contenu {
    background-color: white;
    margin: 40px 8px 40px 8px;
    padding: 0px 8px 20px 8px;
    box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.2);
    overflow: visible;
} 

h1 {
    text-align: center;
    margin-bottom: 12px;
    margin-top: 10px;
} 

p.description {
    text-align: center;
    max-width: 400px;
    display: inline-block;
    font-size: 14px;

}

/* Mon commentaire CSS */    
                       
.centre {
    text-align: center;
    width: 100%;
}

p.categorie {
    background-color: black;
    color: white;
    display: inline-block;
    margin-top: -15px;
    padding: 8px 18px;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 16px;    

}

div.categorie {
    margin-bottom: 0px;
    margin-top: 0px;
    overflow: visible;
}

div.separateur {
    width: 100px;
    height: 1px;
    background-color: black;
    margin-left: auto;
    margin-right: auto;
}

div.info {
    position: relative; 
}

table.info  {
    position: absolute;
    bottom:0; 
    width:100%; 
    color:  white; 
    height: 50px;
}

.catentrer {background-color: #8BA1BB;}
.catsoupe {background-color: #f8fb3ddc;}
.catsalade {background-color: #96e759da;}
.catboeuf { background-color: #fa4646c6}
.catporc {background-color: #ea77abda;}
.catpoulet {background-color: #f1b449dc;}
.catpoisson {background-color: #fb8b8be2;}
.catpate {background-color: #e7feb1cc;}
.catsauce { background-color: #fa7f5ac1;}
.catmijoteuse {background-color: #de7afdb5;}
.catdejeuner {background-color: #68819fc9}
.catdessert { background-color: #7da2cfd0}

table.info td {
    text-align: center;
    font-size: 12px;
    vertical-align: top;
}

table.info th {
    font-size: 14px;
    vertical-align: bottom;
    padding-bottom: 8px;
}

img.info {
    display: block;
    max-height: 400px;
    object-fit: cover;
    min-height: 200px;
    background-color: lightgrey;
}

div.colonne {
    width: 100%;
    margin-top: 20px;
}

div.colonne h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 15px;
    margin-bottom: 5px;
}

div.border h2 {margin-bottom: 5px;}

.sauce {border-bottom: 5px solid #f7673b;}
.boeuf {border-bottom: 5px solid #e82424;}
.porc {border-bottom: 5px solid #e8247c;}
.poulet {border-bottom: 5px solid #da8f0d;}
.poisson {border-bottom: 5px solid #fd7b7b;}
.pate {border-bottom: 5px solid #e7feb1;}
.soupe {border-bottom: 5px solid #f9fc28;}
.salade {border-bottom: 5px solid #3acf5a;}
.entrer {border-bottom: 5px solid #8BA1BB;}
.dejeuner {border-bottom: 5px solid #395679}
.mijoteuse {border-bottom: 5px solid #cb3bf7;}
.dessert {border-bottom: 5px solid #2e65a9;}


div.colonne1{
    display: inline-block;
    
}

div.ingredients p {
    text-align: center;
    font-size: 14px;
    border: 1px solid lightgray;
    padding: 4px 0;
    margin-top: 1px;
    margin-bottom: 0;
}

.colorredbold {
    color:red;
    font-weight: bold;
    
}    

.colorreditalic {
    color:red;
    font-style: italic;
}    

table.preparation p.numero {
    color: white;
    width: 25px;
    height: 25px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    padding-top: 4px;
    box-sizing: border-box;
    border-radius: 50%;
    margin: 0;
}

/*.sauce {background-color: #f7673b;}
.boeuf {background-color: #e82424;}
.porc {background-color: #e8247c;}
.poulet {background-color: #da8f0d;}
.poisson {background-color: #fd7b7b;}
.soupe {background-color: #f9fc28;}
.salade {background-color: #3acf5a;}
.entrée {background-color: #8BA1BB;}
.mijoteuse {background-color: #cb3bf7;}
.dessert {background-color: #2e65a9;}*/

table.preparation td {
    vertical-align: top;
}

table.preparation td.preparation_etape {
    font-size: 14px;
    padding-left: 10px;
    padding-bottom: 10px;

}

table.preparation tr {
    height: 40px;
}

/* Styles pour ordinateur */
@media only screen and (min-width: 768px) {
    div.contenu {
        margin: 60px 10% 80px 10%;
        padding: 0px 30px 30px 30px;
        min-width: 350px;
        
    } 

    table.info {
        height: 80px;
    }

    table.info td {
        font-size: 14px;
     
    }

    table.info th {
        font-size: 16px;
    }
    
    div.colonne {
        width: 45%;
    }
          
    div.colonne1{
        margin-right: 10%;
    }
    
    div.colonne2{
        float: right;
       
    }
    
}

@media only screen and (min-width: 768px) {
    div.contenue {
        margin-left: auto;
        margin-right: auto;
        width: 645px;

    }        


}  


