.menu-navigation { text-align: center; margin: 20px 0; } .menu-navigation ul { list-style: none; padding: 0; } .menu-navigation li { display: inline-block; margin-right: 20px; } .menu-navigation a { text-decoration: none; color: #333; font-size: 16px; font-weight: bold; transition: color 0.3s ease-in-out; } .menu-navigation a:hover { color: #ff8c00; } .menu-categorie { margin-bottom: 40px; background-color: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); } .menu-categorie h3 { font-size: 28px; border-bottom: 3px solid #ccc; padding-bottom: 10px; margin-bottom: 15px; color: #1a1a1a; } .menu-elements { display: flex; flex-wrap: wrap; justify-content: space-between; } .menu-element { text-align: center; width: calc(33.33% - 20px); /* 33.33% pour afficher trois éléments par ligne avec une marge de 20px entre eux */ box-sizing: border-box; margin-bottom: 20px; } .menu-element img { width: 100%; max-width: 250px; height: auto; border-radius: 10px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); margin: 0 auto; } .menu-element h4 { font-size: 22px; color: #333; margin-bottom: 10px; margin: 0 auto; } .menu-element p { font-size: 16px; line-height: 1.5; margin: 0 auto; } .prix { font-weight: bold; color: #ff8c00; font-size: 18px; margin-top: 8px; margin: 0 auto; } @media only screen and (max-width: 767px) { .menu-elements { flex-direction: column; /* Afficher les éléments en colonne sur les petits écrans */ } .menu-element { width: 100%; } }