/* Reset pour harmoniser le style entre les navigateurs */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Style pour l'en-tête du site */
header {
    background-color: #2e7d32;
    color: white;
    padding: 40px 10px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 28px;
}

header p {
    margin-top: 10px;
    font-size: 14px;
    color: #c8e6c9;
}

/* Style pour la navigation */
nav {
    background-color: #81c784;
    padding: 20px;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    margin: 0 10px;
    background-color: #4caf50;
    border-radius: 20px;
    display: inline-block;
    transition: background-color 0.3s;
    font-size: 18px;
}

nav a:hover {
    background-color: #388e3c;
}

/* Style pour le contenu avec des vignettes */
.content {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.content h2 {
    font-size: 30px;
    margin-bottom: 40px;
    color: #2e7d32;
}

/* Style pour les vignettes */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.grid-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 40px);
    padding: 20px;
    transition: transform 0.3s;
}

.grid-item:hover {
    transform: translateY(-10px);
}

.grid-item img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.grid-item h3 {
    font-size: 22px;
    color: #2e7d32;
    margin-bottom: 10px;
}

.grid-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Style pour le pied de page */
footer {
    background-color: #2e7d32;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 14px;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .grid-item {
        width: calc(50% - 30px);
    }

    nav a {
        display: block;
        margin: 10px 0;
    }
}

@media screen and (max-width: 480px) {
    .grid-item {
        width: 100%;
    }
}
