@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.otf') format('truetype');


}

html, body {
    margin: 0;
    height: 100%;
    padding: 0;
    overflow-x: hidden;
}


.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: #f6e1cf;
    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.6rem;
    font-family: Montserrat, sans-serif;
}

#bienv {
    font-family: Montserrat, sans-serif;
    font-weight: bold;
    font-size: 28px;

}

#inte {
    margin-top: -40px;
}

#texte {
    margin-top: -20px;
}

.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 {
    opacity: 0;
    animation: softZoomIn 0.6s ease-out forwards;
    animation-delay: 0.2s;
    transform-origin: center center;


}


@keyframes softZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.97);

    }
    100% {
        opacity: 1;
        transform: scale(1);

    }
}




.bubble-link:hover {
    transform: scale(1.08);
    color: gray;
}


.texte-gauche p {
    margin-left: 60px;
    margin-top: 130px;


}

#typed-text::after {
    content: "|";
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

#here {
    color: gray;
    text-decoration: none;
}

#here:hover {
    color: white;
}