/* Style général */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

/* En-tête */
header {
    background-color: #333;
    padding: 0px 10px;
    position: fixed;
    width: 100%;
}

.dropdown_menu{
    display: none;
}

header .toggle_btn{
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

header h1 {
    color: white;
    text-align: center;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
}

nav ul {
    list-style-type: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* Section hero */

.hero {
    background: url('https://cdn.futura-sciences.com/sources/images/e-shop.jpeg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    height: 435px;
}

.hero h1 {
    margin: 200px 0;
    font-size: 2.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Section produits */
.section-produits {
    padding: 40px;
    background-color: #fff;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.produits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.produit {
    width: 23%;
    margin-bottom: 20px;
    text-align: center;
    background-color: #fafafa;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.produit h3 {
    margin: 10px 0;
}

.produit p {
    font-size: 14px;
    color: #555;
}

.produit button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.produit button:hover {
    background-color: #0056b3;
}

/* Pied de page */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
    bottom: 0;
}

/* Requêtes médias pour la réactivité */
@media (max-width: 768px) {
    .produits-container {
        flex-direction: column;
        align-items: center;
    }

    .produit {
        width: 80%;
    }
    nav ul li a {
        display: inline-block;
        margin: 20px 0px 0px 0px;
    }
 }

@media (max-width: 480px) {
    .produit {
        width: 100%;
    }
}
