html, body {
    margin: 0;
    height: 100%;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

.bubble {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle at 30% 30%,
    rgba(255, 255, 255, 0.5),
    rgba(255, 0, 255, 0.2),
    rgba(0, 255, 255, 0.2),
    rgba(255, 255, 0, 0.1));
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
    box-shadow:
            0 0 25px rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #ffffff;
    backdrop-filter: blur(3px);
    margin: 0 auto;
}

@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-18px); }
    100% { transform: translateY(0); }
}

.bubble-link {
    margin-top: 20px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}

.bubble-link:hover {
    color: black;
    text-decoration: none;
}

.bubble-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
    padding: 60px 20px;
    text-align: center;

    /* ✅ Ajouts pour effet détaché du fond */
    border-radius: 20px;                         /* coins arrondis pour douceur */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);   /* ombre douce */
    z-index: 1;                                  /* au-dessus du fond */
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #E5E1DC;
    top: 0;
    left: 0;
    z-index: -1;
}

#accueil {
    color: black;
}



#accueil {
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: white;
}

.ligne {
    display: block;
}



.bubble-link {
    font-size: 21px;
    color: black;
    text-decoration: none;
    transition: color 0.3s;
    margin-top: 100px;
    margin-left: 63px;
    display: inline-block;


}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-container {
    display: flex;
    justify-content: space-between;
    align-items:  flex-start;;
    padding: 2rem;

}

.texte-gauche {
    flex: 1;
    font-size: 1.5rem;
}

.image-droite {

    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 800px; /* fixe une hauteur stable */
    overflow: hidden;

}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-droite img {
    max-width: 60%;
    height: 80%;
    border-radius: 12px;


    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.texte-gauche h3 {

    margin-bottom: 140px;
    margin-left: 60px;
    color: black;
    font-size: 45px;
    position: relative;
    margin-top: 110px;

}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.texte-gauche p,
.bubble-link {
    animation: zoomIn 1s ease-out forwards;
    animation-delay: 0.3s; /* même délai pour les deux */
    opacity: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.bubble-link:hover {
    transform: scale(1.08);
    color: gray;
}


.texte-gauche p {
    margin-left: 60px;
   margin-top: -60px;


}

#typed-text::after {
    content: "|";
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}