body {
    /* Propriétés pour l'image de fond */
    background-image: url('../img/fleole.png');
    /* Remplacez par le chemin de votre image */
    background-size: cover;
    /* Assure que l'image couvre toute la zone */
    background-position: center;
    /* Centre l'image */
    background-repeat: no-repeat;
    /* Empêche l'image de se répéter */
    background-attachment: fixed;
    /* L'image reste en place lors du défilement */

    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
    color: #fff;
    /* Couleur de texte pour un fond sombre */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Ajoute de l'ombre au texte pour le rendre plus lisible */
}

/* Ajoutez un calque semi-transparent pour améliorer la lisibilité du texte sur l'image */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    /* Un calque noir semi-transparent */
    z-index: 0;
}

.welcome-container {
    text-align: center;
    position: relative;
    z-index: 1;
    /* S'assure que le contenu est au-dessus du calque et de l'image de fond */
}

.fléole-text {
    font-weight: bold;
    color: #4CAF50;
    text-shadow: none;
    /* Retirez l'ombre du texte "Fléole" pour qu'il ressorte */
}

/* Styles pour l'animation */
.fléole-animation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
}

.fléole-brin {
    position: absolute;
    width: 8px;
    height: 60px;
    background-color: #8BC34A;
    /* Vert clair */
    border-radius: 4px;
    transform-origin: bottom;
    animation: sway 5s ease-in-out infinite;
}

.fléole-brin:nth-child(1) {
    left: 10px;
    height: 70px;
    animation-delay: 0.5s;
    transform: rotate(-10deg);
}

.fléole-brin:nth-child(2) {
    left: 45px;
    height: 80px;
    animation-delay: 1s;
}

.fléole-brin:nth-child(3) {
    left: 80px;
    height: 65px;
    animation-delay: 1.5s;
    transform: rotate(15deg);
}

@keyframes sway {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}