.fade-in {
    margin-top: 0px;
    animation: fadeSlideUp 0.8s ease forwards;
    opacity: 0;
}

#google-map {
    margin-top: 20px;
    text-align: center;
}

#google-map-2 {
    margin-top: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}


.map-link a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    background-color: #2d2d3a;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.map-link a:hover {
    background-color: #44445c;
}

#google-map h3 {
    color: white;
    text-align: center;
    font-weight: bold;
    margin-top: 0rem;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

#google-map p {
    color: white;
    text-align: center;
    white-space: pre-line;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.3rem;

    animation: fadeSlideIn 1s ease 0.3s forwards;
    opacity: 0;
}

#google-map iframe {
    width: 60%;
    max-width: 800px;
    height: 350px;
    border: none;
    border-radius: 12px;
    display: block;
    margin: 2rem auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

#bus {
    text-align: center;
    /* Centrer le texte dans toute la section */
}

section h3 {
    color: white;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    width: auto;
}

section p {
    color: white;
    white-space: pre-line;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.3rem;
}

.fa-solid {
    margin-right: 8px;
    /* Un léger espace après l'icône */
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    #form {
        padding: 10px;
    }
}