:root {
--neon-red :#f83224;
--neon-pink :rgb(180, 106, 119);
--dark-bg :#0a0a0a;
--darcker-bg:#050505;
--text-light :white;
--text-dim :#aaaaaa;
--transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32 ,1.275, );}


/* * parametrage de mon cv */


body{
   background: var(--dark-bg);
   color: var(--text-light);
   height: 100vh;
   position: relative;
   display: flex;
   justify-content: center;
   align-items: center;
   
}
.navbar{
    position: fixed;
    top: 0;
    left: 0;
    height: 70px;
    width:100% ;
    padding: 10px 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.7);
    border-bottom: 1px solid rgba(16, 22, 201, 0.1);

}

.logo{
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 2px;
} 
.logo span {
    color: var(--neon-red);
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.7)
}
.nav-links{
    display: flex;
    gap:50px;
    padding-right: 15px;
}
.nav-link{
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    letter-spacing:1px ;
    position: relative;
    transition: var(--transition);

}
.nav-link::after{
    content:"" ;
    position: absolute;
    bottom: -5px;
    left:0 ;
    width: 0;
    height: 2px;
    background: var(--neon-red);
    transition: var(--transition);


}
.nav-link:hover {
    color:var(--text-light);
}
.nav-link:hover::after{
    width: 100%;
}





/* caroussel*/
  #carroussel {
    width: 640px;
    height: 360px;
    overflow: hidden;
    border: 2px solid red;
    border-radius: 20px;
    margin: 30px auto;
  }

  .images {
    display: flex;
    animation: mesImages 20s linear infinite;
  }

  .images img {
    flex: 0 0 640px;
    height: 360px;
    object-fit: cover;
    box-shadow: #f83224 20px;
  }

  @keyframes mesImages {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-640px); }
    40%  { transform: translateX(-1280px); }
    60%  { transform: translateX(-1920px); }
    80%  { transform: translateX(-2560px); } /* la copie de la 1re image */
    90%  { transform: translateX(-3400px); }
    100% { transform: translateX(0); }
  }

  #carroussel:hover .images {
    animation-play-state: paused;
  }
.contact{
    width: 640px;
    height: 100px;
    overflow: hidden;
    border: 2px solid red;
    border-radius: 20px;
    margin: 30px auto;
    font-size: 50px;
    color: aliceblue;
    justify-content: center;
    align-items: center;
    padding-top: 25px;
    padding-left: 15px;
    
}


@media(max-width: 576px){
    .hero-text h1{
        font-size: 2.5rem;
    }
    .btn-group {
        flex-direction: column;

    }
    .profile-wrapper{
        width: 280px;
        height: 280px;
    }
    .section-title{
        font-size: 2.3rem;
        
    }
    .particle {
        position: absolute;
        border-radius: 50%;
        background: var(--neon-red);
        pointer-events: none;
        z-index: 5;
        
    }

    .nav-link{
        margin: 0 -0.5rem;
    }
     h1 {
    font-size:  1.5rem;
    margin-top: 30vh;
    }
    h2 { font-size: 0.8rem; 
       }
    nav ul li {
        margin: 0 .5rem;
    }
     nav ul li a{
        color: #fff; 
        text-decoration: none; 
        font-size: 0.8rem; 
        white-space: nowrap;
        color: #f83224;
    }

    

    
}

