.hero {
    background-size: cover;
    background-position: center;
}

/*.hero-body {*/
/*    background-color: rgba(0, 0, 0, 0.5);*/
/*}*/

.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0.5em 1em -0.125em hsl(43, 100%, 87%), 0 0 0 1px hsl(43, 91%, 66%);
}
.box{
    box-shadow: 0 0.5em 1em -0.125em hsl(43, 100%, 87%), 0 0 0 1px hsl(43, 91%, 66%);
}
#map{
    height: 400px;
    width: 100%;
}

/* Ajuster la taille de l'image plus petite */
#equipe {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.card-content {
    flex-grow: 1;
}

.navbar-item img {
    max-height: 2.5rem;
}

.footer {
    padding: 3rem 1.5rem;
}

.footer .icon {
    margin: 0 0.5rem;
}

section {
    margin-bottom: 80px;
}

/*#accueil {*/
/*    background-color: #fccd57;*/
/*}*/
#accueil {
    background-color: #ffedbf;
}

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #f4c542;
    color: white;
    overflow: hidden;
}

.text-container {
    text-align: center;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.text-container.show {
    opacity: 1;
    transform: translateY(0);
}

.menu {
    position: absolute;
    top: 10%;
    right: 5%;
    display: flex;
    flex-direction: column;
}

.navbar-item {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.navbar-item.show {
    opacity: 1;
    transform: translateX(0);
}

/* Lettres flottantes */
.floating-letters-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0; /* Assurez-vous qu'elles sont en arrière-plan */
    pointer-events: none; /* Les lettres ne bloquent pas les clics */
}

.floating-letter {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 3rem;
    animation: float 10s linear infinite;
    will-change: transform;
}

/* Animation de flottement */
@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

