/* Styles de base */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom, #87CEEB, #1E90FF); /* Dégradé de fond */
    color: #333;
    line-height: 1.6;
}

/* En-tête */
header {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8); /* Fond semi-transparent */
    border-bottom: 2px solid #1E90FF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out; /* Animation d'apparition */
}

h1 {
    font-size: 2.5em;
    margin: 0;
}

p {
    font-size: 1.2em;
}

/* Galerie */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    height: auto; /* Hauteur automatique pour s'adapter au contenu */
}

/* Carte */
.card {
    background-color: #f0f8ff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease; /* Ajout de transition pour l'ombre */
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.5s ease; /* Animation d'apparition des cartes */
}

.card:hover {
    transform: translateY(-5px); /* Effet de survol */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Augmentation de l'ombre au survol */
}

/* Images dans les cartes */
.card img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0; /* Coins arrondis en haut */
}

/* Tableau */
.table-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out; /* Animation d'apparition */
}

table {
    width: 100%;
    border-collapse: collapse; /* Suppression des espaces entre les cellules */
}

th, td {
    padding: 10px;
    text-align: center;
    border: 1px solid #1E90FF; /* Bordure des cellules */
}

th {
    background-color: #1E90FF;
    color: white;
}

/* Pied de page */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-top: 2px solid #1E90FF;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        width: 90%; /* Largeur adaptable sur mobile */
    }
}
