* {
    overflow: auto;
}

body {
    background-color: #8BA1BB;
    font-family: Arial;
}

p.categorie {
    background-color: #000000;
    color: white;
    display: inline-block;
    margin-left: 0px;
	margin-bottom: 0px;
	margin-top: -30px;
    padding: 8px 18px 8px 18px;
	font-weight: bold;
    font-size: 16px;
	bottom: 10px;
}

div.contenu {
    background-color: white;
    margin: 40px 8px 15px 8px;
    padding: 0px 8px 20px 8px;
    box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.25);
    overflow: visible;
}

/*
pour id= use
p#categorie {
     background-color: #000000;
     color: white;
}
*/

h1 {
    text-align: center;
    margin-bottom: 16px;
    margin-top: 10px;
}

p.description {
    text-align: center;
    max-width: 400px;
    display: inline-block;
    font-size: 14px;
}

.centre {
    text-align: center;
    width: 100%;
}

div.categorie {
    margin-bottom: 0px;
    margin-top: 0px;
    overflow: visible;
}

div.separator {
    width: 100px;
    height: 1px;
    background-color: grey;
    margin-left: auto;
    margin-right: auto;
}

div.info {
    position: relative; 
}

table.info {
    position: absolute; 
    bottom: 0; 
    width: 100%; 
    color: white; 
    background-color: #6C829DC0; 
    height: 50px;
}

table.info td {
    text-align: center;
    font-size: 12px;
    vertical-align: top;
}

table.info th {
    text-align: center;
    font-size: 14px;
    vertical-align: bottom;
}

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;
    border-bottom: 5px solid #6C829D;
    padding-bottom: 5px;
}

div.colonne1 {
    display: inline-block;
}

div.ingredients p {
    text-align: center;
    font-size: 14px;
    border: 1px solid lightgrey;
    padding: 8px 0;
    margin-top: 4px;
    margin-bottom: 0;
}

table.preparation p.numero {
    background-color: #6C829D;
    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;
}

table.preparation td {
    vertical-align: top;
    scrllin: unset;
}

table.preparation td.preparation_etape {
    font-size: 14px;
    padding-left: 10px;
    padding-bottom: 10px;
}

table.preparation tr {
    height: 40px;

}

/* style pour ordinateur */
@media only screen and (min-width: 768px) {
    div.contenu {
        min-width: 350px;
        margin: 60px 10% 20px 10%;
        padding: 0px 30px 30px 30px;
    }

    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: 900px) {
    div.contenu {
        margin-left: auto;
        margin-right: auto;
        width: 645px;
    }
}