* {
    box-sizing: border-box;
   text-decoration: none;
}

body {
   
    background-image:url(/tom/gallery/img/main.webp);
   background-repeat:no-repeat;
   background-position: center center;
   background-attachment: fixed;
   background-size: cover;
}
.search-container {
    display: flex;
    justify-content: center;
    margin: 2px 0;
}

.search-container form {
    display: flex;
}

.search-container input[type="text"] {
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.search-container button {
    padding: 10px;
    font-size: 17px;
    border: 1px solid #4CAF50;
    background-color: #4CAF50;
    color: rgb(238, 224, 224);
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    outline: none;
}

.search-container button:hover {
    background-color: #45a049;
}
/* main.css */

/* Style pour le menu de navigation */
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #0d01ad;
}

ul li {
    float: left;
}

ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
   
}

ul li a:hover {
    background-color: #111;
}

ul li a.active {
    background-color: #0004ff;
}

ul li:last-child {
    float: right;
}

/* Style pour la section des produits */
.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px auto;
    padding: 20px;
    max-width: 1200px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.products section {
    flex: 0 1 calc(33.333% - 20px);
    box-sizing: border-box;
    margin: 10px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s;
    text-align: center;
}

.products section:hover {
    transform: translateY(-10px);
}

.products img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.products h2 {
    font-size: 1.5em;
    color: #333;
    margin: 10px 0;
}

.products p {
    padding: 10px;
    color: #ffffff;
    font-size: 1em;
    margin: 5px 0;
    background-color: green;
  
    
}

@media (max-width: 768px) {
    .products section {
        flex: 0 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .products section {
        flex: 0 1 100%;
    }
}
