body {
    margin: 0;
    font-family: Arial, sans-serif;
}

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    border-bottom: 2px solid #ccc;
    padding: 10px;
    position: relative;
}

#logo {
    width: 150px;
    height: 25px;
}

#burger-menu {
    cursor: pointer;
    font-size: 24px;
}

#menu {
    position: absolute;
    top: 50px;
    right: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
}
#menu a {
    padding: 10px;
    text-decoration: none;
    color: black;
}

.hidden {
    display: none !important;
}

#produits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-items: center;
    align-items: center;
    height: calc(100vh - 100px); /* Ajustez selon la hauteur de l'en-tête */
    background-color: white;
}

.product {
    cursor: pointer;
}

.product img {
    width: 150px;
    height: 150px;
}

#contact {
    background-color: #333;
    color: white;
}

.modal {
    display: none; /* Masqué par défaut */
    position: fixed; /* Reste en place */
    z-index: 1; /* Au-dessus des autres éléments */
    left: 0;
    top: 0;
    width: 100%; /* Prend toute la largeur */
    height: 100%; /* Prend toute la hauteur */
    overflow: auto; /* Permet le défilement si nécessaire */
    background-color: rgb(0,0,0); /* Couleur de fond noir */
    background-color: rgba(0,0,0,0.4); /* Couleur de fond noir avec transparence */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% du haut et centré */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Largeur du modal */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    border-top: 2px solid #ccc;
    padding: 10px;
}