/* Voici la version corrigée de votre style.css */
@font-face {
    font-family: "Angelic Bright";
    font-family: "Angelic Bright";
    src: url("AngelicBright.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
:root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    color: black;
    background-color: whitesmoke;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
    /* Structure de base pour permettre le défilement du contenu sur un fond fixe */
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Fond avec blobs qui reste fixe */
.bouncing-blobs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Hauteur fixe égale à la hauteur de la fenêtre */
    z-index: -1;
    overflow: hidden;
}

.bouncing-blobs-glass {
    position: fixed; /* Change de absolute à fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(140px);
    -webkit-backdrop-filter: blur(140px);
    will-change: transform;
    transform: translateZ(0);
    pointer-events: none;
    z-index: 0;
}

.bouncing-blobs {
    position: fixed; /* Change de absolute à fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.bouncing-blob {
    width: 32vw;
    aspect-ratio: 1;
    border-radius: 50%;
    will-change: transform;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    transform-origin: left top;
}

.bouncing-blob--blue {
    background: #4783c7;
}

.bouncing-blob--white {
    background: #ffffff;
    z-index: 2;
    width: 15vw;
}

.bouncing-blob--purple {
    background: #8c8ff1;
}

.bouncing-blob--pink {
    background: #e289cd50;
}

/* Contenu qui peut défiler */
.container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px;
    padding-bottom: 80px;
    background-color: rgba(240, 240, 240, 0.6);
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 420px;
    margin: 20px auto;
    margin-bottom: 20px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-family: "Angelic Bright", sans-serif;
}

p {
    color: #202020;
    margin-bottom: 20px;
    font-family: "Montserrat", sans-serif;
}


.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.social-icons a {
    color: #333;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #8c8ff1;
}

/* Styles des liens d'action */
.action-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.action-links h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
    font-family: "Montserrat", sans-serif;

}

.action-links a {
    display: block;
    padding: 12px 20px;
    background-color: #8c8ff1;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    font-family: "Montserrat", sans-serif;

}

.action-links a:hover {
    background-color: #4783c7;
}

.action-links a i {
    margin-right: 8px;
    
}

.share-icon {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #8c8ff1;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 18px;
}

.share-icon:hover {
    background-color: #4783c7;
}

.copy-message {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-message.show {
    opacity: 1;
}

/* Media Queries */
@media (max-width: 500px) {
    .container {
        width: 85%;
        max-width: 85%;
        padding: 20px;
        padding-bottom: 80px;
        margin: 20px auto;
        background-color: rgba(240, 240, 240, 0.85); /* Plus opaque sur mobile */
    }
    
    .bouncing-blob {
        width: 60vw;
    }
    
    .bouncing-blob--white {
        width: 30vw;
    }
    
    /* S'assurer que le flou reste visible partout */
    .bouncing-blobs-glass {
        backdrop-filter: blur(90px);
        -webkit-backdrop-filter: blur(90px);
        position: fixed !important;
        height: 100vh !important;
    }
}

@media (max-width: 1200px) {
    .bouncing-blobs-glass {
        backdrop-filter: blur(120px);
        -webkit-backdrop-filter: blur(120px);
    }
}