.scroller{
    overflow-x: hidden;
    position: relative;
}

.horizontally {
    width: 450vw;
    height: 110vh;
    padding: 0 50px 0 100px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    color: #FFFFFA;
}

.horizontally_2 {
    width: 200vw;
    height: 110vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    color: #FFFFFA;
}

.vertically {
    /* display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; */
    color: #FFFFFA;
}

.bloc-1, .bloc-3 {
    height: 100vh;
    width: 100%;
    background-color: #100B00;
    overflow: hidden;
}
.bloc-2, .bloc-4 {  
    background-color: #100B00;
}
.bloc-2 .title_project{
    font-family: "Nighty";
    font-size: 16vw;
    text-align: center;
    margin-right: 150px;
}
@media (max-width: 700px) {
    .bloc-2 .title_project{
        margin-left: 300px;
    }
}
.bloc-2 .project-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 10px 40px 0 40px;
    height: 80%;
    width: 700px;
    transition: transform 0.1s;
    will-change: transform;
}
.bloc-2 .project-card a{
    text-align: center;
}
.bloc-2 .project-card img{
    width: 350px;
    border-radius: 20px;
    margin-bottom: 20px;
    background-color: #100B00;
}
.bloc-2 .project-card h3 {
    text-align: left;
    margin-bottom: 10px; 
    font-size: 1.5rem;
    color: #FFFFFA;
}
.bloc-2 .project-card p {
    text-align: left;
    font-size: 1rem;
    color: #FFFFFA;
    max-width: 100%;
}
.bloc-2 .project-card .last-title{
    width: 400px;
    font-size: 1.8rem;
    text-align: center;
}
.scrolling-text, .scrolling-text-2, .scrolling-text-3{
    position: absolute;
    color: #FFFFFA;
    margin-top: 90px;
    overflow: hidden;
    font-size: 4rem;
    white-space: nowrap;
    transform: translateY(-50%);
    z-index: 10;
    border: 3px solid #FFFFFA;
    padding: 10px;
    background-color: #100B00;
}

.scrolling-text-2, .scrolling-text-3{
    margin-top: 0;
}

@media (max-width: 700px) {
    .bloc-2 .project-card {
        width: 350px;
        margin: 0 30px;
    }

    .bloc-2 div img {
        width: 300px;
        margin-bottom: 10px; /* Moins d'espace en bas pour les petits écrans */
    }

    .bloc-2 .project-card h3 {
        font-size: 1.2rem; /* Réduire un peu la taille du titre */
    }

    .bloc-2 .project-card p {
        font-size: 0.9rem; /* Réduire la taille du texte */
        max-width: 100%; /* Texte qui prend toute la largeur de la carte */
    }
    
}

/* ============ SKILLS =========== */
.hard-skill{
    width: 300px;
    margin: 20px ;
}
.skills {
    width: inherit;
    position: relative;
    float: left;
  }
  
  .skills h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 25px;
  }
  
  .skills ul {
    padding-top: 50px;
  }
  
  .skills ul > li {
    margin-bottom: 70px;
    background: #000;
    height: 5px;
    border-radius: 3px;
    border-left: 1px solid #111;
    border-top: 1px solid #111;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    position: relative;
  }
  
  .skills ul > li em {
    font-size: 18px;
    position: relative;
    top: -30px;
  }
  
  .skills ul > li span {
    height: 1px;
    margin: 2px 0;
    background: orangered;
    position: absolute;
    box-shadow: 0px 0px 10px 1px orangered;
  }
  
  .html {
    width: 90%;
    animation: html 2s ease-out;
  }
  
  .css3 {
    width: 80%;
    animation: css3 2s ease-out;
  }
  
  .js {
    width: 70%;
    animation: js 2s ease-out;
  }
  
  .photoshop {
    width: 75%;
    animation: photoshop 2s ease-out;
  }

  .illustrator {
    width: 70%;
    animation: illustrator 2s ease-out;
  }

  .premiere {
    width: 65%;
    animation: premiere 2s ease-out;
  }
  
  @keyframes html {
    0% { width: 0px; }
    100% { width: 90%; }
  }
  
  @keyframes css3 {
    0% { width: 0px; }
    100% { width: 80%; }
  }
  
  @keyframes js {
    0% { width: 0px; }
    100% { width: 70%; }
  }
  
  @keyframes photoshop {
    0% { width: 0px; }
    100% { width: 75%; }
  }

  @keyframes illustrator {
    0% { width: 0px; }
    100% { width: 70%; }
  }

  @keyframes premiere {
    0% { width: 0px; }
    100% { width: 65%; }
  }