
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: "Gruppo", sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 2px;
    line-height: 1.6; /* Espacement entre les lignes */
    /*text-align: justify;*/
}

a {
    text-decoration: none;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 10px;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    /* Texte à gauche */

}

@media screen and (max-width: 1000px) {
    .text-container {
        left: 50%;
    }

    .container {
        flex-direction: column;
    }
    
    .changesection {
        margin-top: 35%;
    }

    .allLink {
        flex-direction: column-reverse;
    }
    .bio p {
        text-align:left !important;
    }
    
    .projectDiv{
        height: 600px !important;
    }
}


.content {
    height: 100vh;
    padding: 50px;
    color: white;
    text-align: center;
}

.hero h2 {
    font-family: "Sixtyfour", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "BLED" 0,
        "SCAN" 0;
      

    letter-spacing: 5px;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff !important;
}

.hero h3 {
    font-size: 1.5rem;
    color: #b3b3b3;
    opacity: 0; 
}


/* Classe pour désactiver le scroll */
.no-scroll {
    overflow: hidden;
}


.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 10%;
    margin-right: 10%;
}

.about {
    /*background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.8) 70%, rgba(10, 10, 10, 1) 100%); /* Dégradé noir */
    margin-bottom: 10%;
}

.bio {
    padding: 5%;
}

.bio h3 {
    font-family: "Sixtyfour", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "BLED" 0,
    "SCAN" 0;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #b3b3b3;
}

.bio p {
    font-size: 1rem;
    max-width: 600px;
    color: #ffffff;
    text-align: justify;
}

.photo {
    width: 200px;
    height: 200px;
    background-color: #ffffff;
    border-radius: 50%;
    margin: 5%;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.tech {
    display: grid;
    place-items: center;
}

.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px; /* Hauteur fixe */
    width: 90%; /* Augmenté */
    overflow: hidden;
    background: rgb(28, 28, 28);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.4px);
    -webkit-backdrop-filter: blur(7.4px);
    border: 1px solid rgba(14, 14, 14, 0.4);
    position: relative;
}

.carousel::before,
.carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.carousel::before {
    left: 0;
    background: linear-gradient(to right, rgb(28, 28, 28), transparent);
}

.carousel::after {
    right: 0;
    background: linear-gradient(to left, rgb(28, 28, 28), transparent);
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 30px; /* Espacement augmenté */
    animation: scrolling 30s linear infinite; /* Ralenti */
    will-change: transform; /* Optimisation performances */
}

.carousel-track img {
    width: 60px; /* Taille fixe */
    height: 60px;
    object-fit: contain; /* Garder proportions */
    flex-shrink: 0; /* Empêcher rétrécissement */
    transition: transform 0.3s ease;
    filter: brightness(0.8);
}

.carousel-track img:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

@keyframes scrolling {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 3)); /* Ajusté pour 3 copies */
    }
}

/* Pause sur hover */
.carousel:hover .carousel-track {
    animation-play-state: paused;
}


.tech h3 {
    font-family: "Sixtyfour", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "BLED" 0,
    "SCAN" 0;
    
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #b3b3b3;
    margin-bottom: 5%;
    text-align: center;
}




.rs{
    display: flex;
    justify-content:right;
    align-items: center;
    margin-top:2rem;
}

.allLink{
    display: flex;
    justify-content:space-between;
    align-items: center;
    margin-top: 5%;
    margin-bottom: 5%;
}

.inlink{
    display: flex;
    justify-content:left;
    align-items: center;
    margin-top:2rem;
}

.inlink a img{
    transition: filter 0.5s ease; /* Durée et type de transition */
}

.link{
    margin-right: 2rem;
    width: 50px;
    height: 50px;
}

.zoom{
    transition: transform .2s;
}

.zoom2{
    transition: transform .2s;
}

.link img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}



footer {
    text-align: center;
    padding: 20px;
    background-color: #020202;
    color: white;
    margin-top: auto;
}






.container_project{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.projectSection{
    display: grid;
    place-items: center;
}

.projectSection h2{
    font-family: "Sixtyfour", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "BLED" 0,
    "SCAN" 0;

    font-size: 2rem;
    margin-bottom: 1rem;
    color: #b3b3b3;
    align-items: center;
}

.project{
    position: relative;
    align-items: center; /* Aligne les éléments verticalement au centre */
    width: 70%;
    margin: 2.5%;
    border-radius: 16px;
}

.projectTitle{
  background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
  color: #b3b3b3;
  font-weight: bold;
  border: 2px solid #f1f1f1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  padding: 20px;
  text-align: center;
}

.projectTitle h3{
    font-family: "Sixtyfour", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "BLED" 0,
    "SCAN" 0;

    font-size: 1rem;
    margin-bottom: 1rem;
    color: #f1f1f1;
    align-items: center;
}

.projectDiv{
    position: relative;
    width: 100%;
    height: 400px; /* Ajuste la hauteur selon tes besoins */
    background-size: cover; /* Couvre toute la div */
    background-position: center; /* Centre l'image */
    filter: blur(5px);
    border-radius: 16px;
}

.project1{
    background-image: url('contenu/Project/City.webp'); /* Remplace par le chemin de ton image */
}
.project2{
    background-image: url('contenu/Project/echec.jpg'); /* Remplace par le chemin de ton image */
}
.project3{
    background-image: url('contenu/Project/ACM-Paris.webp'); /* Remplace par le chemin de ton image */
}
.project4{
    background-image: url('contenu/Project/GasHunting.jpg'); /* Remplace par le chemin de ton image */
}
.project5{
    background-image: url('contenu/Project/metaglasse.png'); /* Remplace par le chemin de ton image */
}
.project6{
    background-image: url('contenu/Project/bitcoin.webp'); /* Remplace par le chemin de ton image */
}
.project7{
    background-image: url('contenu/Project/ebayprojet.png'); /* Remplace par le chemin de ton image */
}

.activity-feed {
    display: grid;
    place-items: center;
    margin: 5%;
}

.activity-feed h3 {
    font-family: "Sixtyfour", sans-serif;
    font-size: 2rem;
    color: #b3b3b3;
    margin-bottom: 2rem;
}

.activity-feed ul {
    list-style: none;
    padding: 0;
    position: relative;
}

.activity-feed li {
    position: relative;
    padding-left: 80px;
    margin-bottom: 2rem;
}

.span-activity {
    position: absolute;
    left: 0;
    width: 70px;
    height: 70px;
    background-color: #ffffff;
    border-radius: 50%;
}

.img-activity {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.font-feed {
    display: flex;
    flex-direction: column;
}

.font-feed h4 {
    font-size: 1.5rem;
    color: #b3b3b3;
}

.font-feed h5 {
    font-size: 1.2rem;
    color: #b3b3b3;
}

.font-feed p {
    font-size: 1rem;
    color: #b3b3b3;
}

#stars {
    position: absolute;
    background-color: #020202;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1; /* derrière le contenu */
  }
  
  .content {
    position: relative;
    z-index: 1;
  }