main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#prodart {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
 
#panier {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

div.article {
    display: flex;
    margin-top: 25px;
    border-radius: 15px;
    width: 80%;
    height: 300px;
    background-color: white;
    border: rgba(128, 128, 128, 0.321) 1px solid;
    
}

div.buy {
    width: 400px;
    text-align: center;
    margin-top: 10px;
    border-radius: 15px;
    height: 125px;
    background-color: white;
    border: rgba(128, 128, 128, 0.321) 1px solid;
    
}

/*Personalisation des boutons d'achat*/

.buy a.buyrn {
    text-decoration: none;
    color: black;
    font-weight: bold;
    margin: 2em;
    padding: 10px;
    border-radius: 15px;
    background-color: #fff;
    border: #ffe185 2px solid;
    transition: background-color 0.3s ease;
    transition: border 0.1s ease;

}

/*Le bouton passe au vert pour inciter l'utilisateur à acheter*/

.buy a.buyrn:hover{
    border: #85ff8b 2px solid;
    background-color: #85ff8b;
    box-shadow: 0 4px 30px rgba(51, 232, 84, 0.619);
}

.image {
    display: block;
    height: 100% ;    
    color: black;
    text-decoration: none;
    width: 30%;
    align-items: center;
    text-align: center ;
}

.image img {
    height:70% ;
    width: 70%;
    border-radius: 10px;
}

.image figure {
    margin: 1em;   
}

.description {
    display: block;
    height: 400px ;    
    color: black;
    text-decoration: none;
    width: 60%;
    text-align: left;
    font-size: large;
}

.description h2 {
    text-align: center;
    margin-top: 1.5em;
}

.description p.last {
    margin-bottom: 2em;
}

.description a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    margin: 4em 2em;
    padding: 10px;
    border-radius: 15px;
    background-color: #fff;
    border: #ffe185 2px solid;
    transition: background-color 0.3s ease;
}

.description a:hover{
    background-color: #ffe185;
    box-shadow: 0 4px 30px rgba(232, 190, 51, 0.619);

}

/*Bouton de suppression rouge pour "dissuader" l'utilisateur de supprimer un article*/

.description a.red:hover{
    border: #e81809 2px solid;
    background-color: #e81809;
    box-shadow: 0 4px 30px rgba(232, 51, 51, 0.619);

}

body {
  font-family: sans-serif;
}



#nombreprod {
  display: flex;
  align-items: center;
  background: #e6e6e6;
  border-radius: 999px;
  padding: 0px;
  width: fit-content;
  margin: auto;
}

.btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  transition:  0.2s;
}

.btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.value {
  min-width: 32px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

button.vtmsize {
    background-color: white;
    border: #ffe185 2px solid;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 3em;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}