section {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.produit {
    background-color: white;
    border: 3px solid purple;
    max-width: 500px;
    max-height: 400px;
    flex: 1 0 25%;
    padding: 2cap;
    margin: 2cap;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: space-evenly;
    color: black;
    transition: all 0.3s ease-in-out;

}

.produit:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

.voirPlus, .ajouterPanier, .supprimerPanier {
    flex: 0 0 25%;
    max-height: 20%;
}

button, select, #recherche {
    appearance: none;
    padding: 0.5em;
    background-color: white;
    color: purple;
    border: 2px solid purple;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

#recherche {
    cursor: text;
    max-width: 40%;
}

button:hover, select:hover {
    background-color: purple;
    color: white;
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

img,
p {
    height: 70%;
    flex: 0 0 40%;
    width: 50%;
}

span {
    flex: 0 0 40%;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    color: purple;
}

#panier {
    width: 5%;
    min-width: 50px;
    float: right;
    text-align: center;
}

a{
    text-decoration: none;
    color: purple;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

#afficherPlus{
    display: block;
    margin: 0 auto;
}

#barre{
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 60px;
    background-color: black;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#barrePanier{
    position: fixed;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    height: 60px;
    background-color: black;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#totalPanier{
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    color: purple;
}

#decrit {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: transparent;
}
#texte{
    text-align:justify;
    color: white;
    background-color: black;
    height: 50%;
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    border: 3px solid purple;
}

body {
    color: white;
    background-color: black;
    font-family: 'Poppins', sans-serif;
}