@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&family=Poppins:wght@300;600&display=swap');

body {
    margin: 0;
    background: radial-gradient(circle at 20% 30%, #1e1f22, #1e1f22, #1e1f22);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.digital-about {
    padding: 100px 20px;
    max-width: 1000px;
    margin: auto;
}

.intro {
    text-align: center;
    margin-bottom: 60px;
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.highlight {
    background: linear-gradient(90deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Orbitron', sans-serif;
}

.typewriter {
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #ffffff;
    animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
    width: 100%;
    max-width: 600px;
    margin: auto;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}
@keyframes blink {
    50% { border-color: transparent; }
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    flex: 1 1 250px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px #ffffff;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card ul {
    list-style: none;
    padding-left: 0;
}
.card ul li::before {
    content: '🚀';
    margin-right: 8px;
}

.btn-glow {
    display: inline-block;
    padding: 12px 24px;
    background: #ffffff;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 0 15px #ffffff;
    transition: background 0.3s, transform 0.3s;
}
.btn-glow:hover {
    background: #ffffff;
    transform: scale(1.05);
}

.socials {
    text-align: center;
    margin-top: 60px;
}
.socials p {
    margin-bottom: 10px;
    font-size: 1.6rem; /* Exemple de taille agrandie */
}

.icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.icons img {
    width: 48px;
    height: 48px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s, filter 0.3s;
}

.icons a:hover img {
    transform: scale(1.3);
    filter: brightness(1) sepia(1) hue-rotate(180deg);
}

@media screen and (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }
}




#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}




.card:has(.btn-glow) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}










.floating-icon {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}






.btn-glow:active {
    transform: scale(0.95);
    box-shadow: 0 0 20px #ffffff;
}


.card:hover {
    box-shadow: 0 0 40px #ff0000, 0 0 5px #8e0d0d inset;
    transform: translateY(-12px) scale(1.01);
}






.about-me {
    position: relative;
    padding: 120px 20px;
    background-color: #141414;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.about-me-wrapper {
    position: relative;
    z-index: 2;
}

.heading {
    font-size: 3rem;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 4px;
    opacity: 0;
    animation: headingReveal 1.5s ease-in-out forwards;
}




.content {
    max-width: 1000px;
    margin: 100px auto;
    display: grid;
    gap: 100px;
    padding: 0 40px;
    position: relative;
}

.line {
    position: relative;
    font-size: 1.3rem;
    line-height: 2;
    color: rgba(245, 245, 245, 0.9);
    padding: 40px 30px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 10px 25px rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
    transform: scale(0.98) translateY(50px);
    opacity: 0;
    animation: capsuleFadeIn 1.4s ease-out forwards;
    transition: all 0.5s ease;
}

.line:hover {
    transform: scale(1.02) translateY(0px);
    box-shadow: 0 25px 60px rgb(255, 0, 0);
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
}

.line::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #ff0000;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px #ff0000;
}

.highlight {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff0000;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
@keyframes capsuleFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(80px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0px);
    }
}






.floating-icons {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.icon {
    font-size: 4rem;
    margin: 0 20px;
    opacity: 0;
    transform: scale(1);
    animation: bounce 1.2s infinite ease-in-out;
    cursor: pointer;
}

.icon.mode:hover {
    color: #ff9900;
}

.icon.psychology:hover {
    color: #6a63f0;
}

.icon.social:hover {
    color: #ffffff;
}

.about-me:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://source.unsplash.com/1600x900/?fashion,psychology,social') center/cover no-repeat;
    filter: blur(10px);
    z-index: -1;
    opacity: 0.3;
    animation: backgroundScroll 15s linear infinite;
}

@keyframes headingReveal {
    0% { transform: translateY(-30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes backgroundScroll {
    0% { background-position: center; }
    50% { background-position: left; }
    100% { background-position: right; }
}

@media screen and (max-width: 768px) {
    .heading {
        font-size: 2.2rem;
    }
    .line {
        font-size: 1.1rem;
    }
    .icon {
        font-size: 3rem;
    }
}

























/* Header fixe avec loupe flottante */
.header {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.menu-icon {
    font-size: 3.8rem;
    cursor: pointer;
    color: white;
    animation: float 2s ease-in-out infinite;
    transition: transform 0.2s ease;
}

/* Effet au clic */
.menu-icon:active {
    transform: scale(0.9);
}

/* Animation flottante */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

/* Overlay menu animé */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 999;
}

.nav-overlay.open {
    transform: translateY(0);
    opacity: 1;
}

.nav-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.nav-overlay li {
    margin: 20px 0;
}

.nav-overlay a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-overlay a:hover {
    color: #d70000;
}

.scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 80px 0 20px;
    position: relative;
    z-index: 10;
}

.scroll-line {
    width: 6px;
    height: 70px;
    background: linear-gradient(to bottom, #ff0000, #8e0000);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8), 0 0 40px rgba(255, 0, 0, 0.5);
    animation: moveDown 1.2s infinite ease-in-out;
    opacity: 1;
    transition: transform 0.3s ease;
}

.scroll-line:nth-child(2) {
    animation-delay: 0.2s;
}
.scroll-line:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes moveDown {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(20px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }
}
.scroll-indicator::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.2) 0%, transparent 70%);
    filter: blur(8px);
}

