/* Fond et police */
body {
    font-family: 'Verdana', sans-serif;
    background: #FFFFCC url('images/fond.gif');
    color: #333;
    margin: 0;
    line-height: 1.6;
}

/* Header */
header {
    text-align: center;
    padding: 5px;
}

/* Mise en page adaptative */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 5px;
    background: rgba(255, 255, 255, 0.5); /* Effet de transparence léger */
    border-radius: 10px;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.main-img {
    max-width: 100%;
    height: auto;
    border: 5px solid #009933;
}

/* Bouton moderne au lieu du lien rouge */
.btn-primary {
    display: inline-block;
    background: #FF0000;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #009900;
}

/* Galerie d'images */
.gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

footer {
    text-align: center;
    background: #009933;
    color: white;
    padding: 15px;
    margin-top: 50px;
}
/* Animation d'apparition (Fade In) */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animation de flottement léger */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Application aux éléments */
.logo {
    animation: fadeIn 2s ease-out;
}

.main-img {
    animation: fadeIn 2s ease-out, float 4s ease-in-out infinite;
    animation-delay: 0.5s, 2s; /* Attend la fin de l'apparition pour flotter */
}

.intro-text {
    animation: fadeIn 2.5s ease-out;
}