
:root {
  --main-logo-blob: rgb(255, 255, 255);
}
        html,html,body, body{ height: 100vh; flex-direction: column; align-items: center;background-color: var(--main-bg); justify-content: center; font-family: sans-serif; overflow: hidden !important; 
         overscroll-behavior: none;}

        .stack { position: relative; width: 320px; height: 500px; z-index: 5; margin-top: 15vh;}

        .card {
            position: absolute; width: 100%; height: 100%;
            background-color: white; border-radius: 20px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            display: flex; flex-direction: column; overflow: hidden;
            transition: transform 0.5s cubic-bezier(0.32, 1, 0.23, 1);
            user-select: none;
        }

        .card-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; z-index: 2;}
        .card-bg-blur { position: absolute; inset: 0; background-size: cover; filter: blur(15px); opacity: 0.3; z-index: 1; }
        .video-container { height: 100%; background: #000; display: flex; align-items: center; }
        video { width: 100%; height: auto; }
        .cta-btn { margin-top: auto; background-color: #0a66c2; color: white; padding: 15px; text-decoration: none; border-radius: 10px; font-weight: bold; text-align: center; }
        .card img {
    pointer-events: none;
    -webkit-user-drag: none;
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
  user-select: none;
}
        .controls { display: flex; gap: 40px; margin-top: 30px; z-index: 10; }
        .c-btn { width: 65px; height: 65px; border-radius: 50%; border: 2px solid; background: white; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; -webkit-tap-highlight-color: transparent; }
        .c-btn:active { transform: scale(0.8); }
        .btn-n { color: #f44336; border-color: #f44336; }
        .btn-l { color: #4caf50; border-color: #4caf50; }

        /* Modale */
        .overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(5px); opacity: 0; pointer-events: none; transition: 0.3s; z-index: 100; }
        .modal { position: fixed; bottom: 0; left: 0; width: 100%; background: white; border-radius: 25px 25px 0 0; padding: 35px 20px; transform: translateY(100%); transition: 0.5s cubic-bezier(0.32, 1, 0.23, 1); z-index: 9999; box-sizing: border-box; text-align: center; }
        .overlay.active { opacity: 1; pointer-events: auto; }
        .modal.active { transform: translateY(0%); }
        p {
          padding : 15px 10px;
        }
.stamp {
            position: absolute;
            top: 30px;
            padding: 5px 15px;
            border: 4px solid;
            border-radius: 8px;
            font-weight: 900;
            font-size: 1.5rem;
            text-transform: uppercase;
            opacity: 0;
            pointer-events: none;
        }
        .stamp-right { right: 20px; color: #4caf50; border-color: #4caf50; transform: rotate(-20deg); }
        .stamp-left { left: 20px; color: #f44336; border-color: #f44336; transform: rotate(20deg); }
        /* Bulle LinkedIn */
        #linkedin-bubble {
            position: fixed; bottom: 120px; right: 20px;
            width: 56px; height: 56px;
            background: white; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            z-index: 200; opacity: 0; transform: translateY(100px);
            transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-decoration: none;
        }
        #linkedin-bubble.show { opacity: 1; transform: translateY(0); }
        #linkedin-bubble img { width: 28px; height: 28px; }
        .close-container {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 110;
        -webkit-tap-highlight-color: transparent;
    }

    .close-icon {
        font-size: 22px;
        color: #000;
        font-weight: bold;
        z-index: 2;
        transition: color 0.2s ease;
    }

    .close-circle {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 0, 0, 0.2); /* Rouge translucide */
        border-radius: 50%;
        transform: scale(0); /* Caché par défaut */
        transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 1;
    }

    .close-container:active .close-icon {
        color: #ff0000; /* Devient rouge */
    }

    .close-container:active .close-circle {
        transform: scale(1);
    }

.profile-img-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    margin-top: 10px;
}

.profile-pic {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.scroll-area {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 8px;
    text-align: left;
    -webkit-overflow-scrolling: touch;
}

.diploma-block {
    margin-bottom: 15px;
    border-left: 3px solid var(--primary);
    padding-left: 12px;
}

.date-span {
    font-size: 0.75rem;
    color: var(--primary);
    background: rgba(0, 119, 181, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    float: right;
}

.subjects { font-size: 0.8rem; color: #666; margin-top: 5px; }

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.tag {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #555;
}
.c-btn .material-symbols-outlined {
    font-size: 32px; /* Ajustez la taille selon votre préférence */
    display: flex;
    align-items: center;
    justify-content: center;
}