body {
    font-family: Helvetica, sans-serif, sans-serif;
    cursor: none;
    opacity: 100;
    margin-bottom: 10px;
    padding: 0px;
    background-color: #ffffff;
    overflow-x: hidden;
  

}



h1 {
    font-family: Helvetica, sans-serif, sans-serif;
    text-transform: uppercase;
    font-size: 1.9vh;
    font-weight: 500;
    padding-left: 35px;
}

h2 {
    font-family: Helvetica, sans-serif, sans-serif;
    text-transform: uppercase;
    font-size: 1.8vh;
    font-weight: 500;
    padding-left: 35px;
    padding-bottom: 50px;
}

h3 {
    font-family: Helvetica, sans-serif, sans-serif;
    text-transform: uppercase;
    font-size: 1.6vh;
    font-weight: 500;

}

#customCursor {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: black;
    position: absolute;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
}

.spline {
    z-index: -3;
    box-sizing: border-box;
    padding: 0px;
  
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid #000;
    flex-wrap: wrap;
    font-size: 2rem;
    font-family: helvetica;
    letter-spacing: -0.05em;
    text-decoration: none;
    background-color: #ffffff;
    z-index: 1000000;
    width: 100%;
    position: -webkit-sticky;
    position: sticky !important;
    top: 0 !important;
}

.nav-link {
    margin-left: auto;
    margin-right: 50px;
    text-decoration: none;
    color: black;
    z-index: 100000;
}

.home {

    text-decoration: none;
    color: black;
    z-index: 100000;
}

.contact-info {
    margin-left: 35px;
    padding-right: 40px;
    text-decoration: none;
    font-family: helvetica;
    letter-spacing: -0.05em;
    z-index: 100000;

}

.mail {
    color: blue;
    text-decoration: none;
    font-family: helvetica;
    z-index: 100000;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0px;
    padding-top: 0px;
    padding-left: 30px;
    position: relative;
    transition: all 0.6s ease;
    width: 90%;
    justify-content: left;
    /* Ajouté pour centrer les projets */
    width: 100%;
    /* Ajouté pour éviter le débordement */
    box-sizing: border-box;
    /* Ajouté pour inclure le padding et les bordures dans la largeur totale */
    margin: 0 auto;
    /* Ajouté pour centrer */
}

.projects a {
    text-decoration: none;
    color: #000000;
}

.project {
    position: relative;
    font-size: 1.6vh;
    border: 0px solid #000;
    border-radius: 3px;
    z-index: 9999;
    background: linear-gradient(20deg, rgba(255, 255, 255, 100) 17%, rgba(236, 236, 236, 0) 69%, rgb(255, 255, 255, 0) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    box-shadow:
        0px 0px 0px 1px rgba(165, 165, 165, 0.04),
        -9px 9px 9px -0.5px rgba(0, 0, 0, 0.1),
        -18px 18px 18px -1.5px rgba(0, 0, 0, 0.08),
        -37px 37px 37px -3px rgba(0, 0, 0, 0.16),
        -75px 75px 75px -6px rgba(0, 0, 0, 0.24),
        -150px 150px 150px -12px rgba(0, 0, 0, 0.48)
}



.project:hover {
    background-size: cover;
    background-position: center;
    color: transparent;

}

.project.large {
    width: 400px;
    height: 350px;
    transition: all 0.3s ease;
}

.project.medium {
    transform: rotate(-1deg);
    width: 300px;
    height: 400px;
    transition: all 0.3s ease;
}

.project.small {
    width: 250px;
    height: 200px;
    transition: all 0.3s ease;
}

.project.wide {
    width: 500px;
    height: 250px;
    transition: all 0.3s ease;
}

.project.tilted {
    transform: rotate(-5deg);
    width: 300px;
    height: 300px;
    transition: all 0.3s ease;
}

.project.tilted2 {
    transform: rotate(3deg);
    width: 220px;
    height: 280px;
    transition: all 0.3s ease;
}



.text-block {
    border: 1px solid #000;
    font-family: helvetica;
    letter-spacing: -0.05em;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 2rem;
    background-color: #000;
    color: rgb(255, 255, 255);
}

.circle {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    color: rgb(255, 255, 255);
    font-size: 3rem;

}



#circle {
    position: fixed;
    top: 120px;
    z-index: 9999;
    right: 50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow:
        0px 0px 0px 1px rgba(165, 165, 165, 0.04),
        -9px 9px 9px -0.5px rgba(0, 0, 0, 0.04),
        -18px 18px 18px -1.5px rgba(0, 0, 0, 0.08),
        -37px 37px 37px -3px rgba(0, 0, 0, 0.16),
        -75px 75px 75px -6px rgba(0, 0, 0, 0.24),
        -150px 150px 150px -12px rgba(0, 0, 0, 0.48)
}

#text-block {
    position: fixed;
    z-index: 9999;
    bottom: 50px;
    right: 50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid #000;
    transform: rotate(2deg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow:
        0px 0px 0px 1px rgba(165, 165, 165, 0.04),
        -9px 9px 9px -0.5px rgba(0, 0, 0, 0.04),
        -18px 18px 18px -1.5px rgba(0, 0, 0, 0.08),
        -37px 37px 37px -3px rgba(0, 0, 0, 0.16),
        -75px 75px 75px -6px rgba(0, 0, 0, 0.24),
        -150px 150px 150px -12px rgba(0, 0, 0, 0.48)
}




.info-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;

    text-transform: uppercase;
    line-height: 20px;
    letter-spacing: -0.02em;
}

.info-block-left {
    padding-right: 20px;
}


.project-image-container {
    position: absolute;
    top: 10px;
    right: 10px;
}

.project-image-container img {
    width: 100px;
    /* Adjust */
    height: 100px;
    /* Adjust */
    border-radius: 99px;
}






.project-container {
    height: calc(108vh - 137px - 18px);
    overflow-y: scroll;
}

.project-container .project-info {
    position: sticky;
    top: 0;
    max-height: 100vh;
    transition: 1s ease-out;
    background: white;
    overflow-y: hidden;
    padding-bottom: 40px;
    border-bottom: #000 solid 1px;
    border-right: #000 solid 1px;
    margin-bottom: 0px;
}

.project-container.retracted .project-info {
    max-height: 50px; /* Pmodif taille */
    padding-top: 0px;
}

/* Project contents */

/* Project infos */
.project-header {
    font-size: 2em;
    margin: 0;
    font-family: helvetica;
    letter-spacing: -0.05em;
    text-decoration: none;

}

.project-header p {
    font-size: 1em;
    color: #000000;
}

.project-details p {
    margin: 5px 0;
    color: #777;
    text-transform: uppercase;
}

.project-details2 {
    margin: 50px 0;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 100px;
    font-size: 1.5rem;
    color: #777;
    text-transform: uppercase;
    line-height: 30px;
}

.services {
    margin-top: 20px;
    margin-top: 50px;
}

.deliverables {
    margin-top: 20px;
}

.project-content img {
    max-width: 100%;
    margin: 0px 0;
}

.project-image {
    width: 100%;
}

.project-text {
    margin: 50px 0;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 100px;
    font-size: 1.2rem;
    inline-size: 95%;
    line-height: 160%;
    text-transform: uppercase;
}

.project-text h2 {
    margin-top: 0;
}

canvas #logo {
    display: none;
}


lottie-player {
    --lottie-player-seeker-track: none;
    --lottie-player-seeker-thumb: none;
    z-index: -1;
}

.project-content-grid {

    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    display: flex;

}

.project-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}



.logoinfo {
    display: flex;
    width: 450px;
    height: 450px;

    padding-left: 0px;
    rotate: 10deg;


}


/* Vue desktop */
@media (min-width: 769px) {
    .project-container {
        display: flex;
        flex-direction: row;
    }

    .project-info {
        flex: 0 0 33%; /* Ajuste la largeur de project-info à 33% */
        border-bottom: none;
        height: 100vh;
        border-right: 1px solid #000;
        transition: none; /* Désactiver l'animation en mode desktop */
        padding-left: 25px;
        padding-right: 25px;
    }

    .project-content {
        flex: 1 0 66%; /* Ajuste la largeur de project-content à 66% */
        overflow-y: auto;
    }
}

@media (min-width: 1868px) {
    .project-content-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
        transition: all 0.3s ease;
    }
}



@media (max-width: 1468px) {
    .project-content-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
        transition: all 0.3s ease;
    }
}






@media (max-width: 768px) {

    .project-info,
    .project-content {
        width: 100%;
        
    }

    .project-info {
        position: static;
        border-right: none;
    }

    .project-content-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        width: 100%;
        transition: all 0.3s ease;
    }

    .spline {
        display: none; /* Masque l'iFrame sur les écrans de taille mobile */
    }

    h1 {
        padding-top: 50px;
    }
}





@media (max-width: 768px) {



    .info-container {
        flex-direction: column;
        padding: 10px;
    }



    .projects {
        flex-direction: column;
        align-items: center;
        transition: all 0.3s ease;

    }

    .project {
        width: 100%;
        height: auto;
        transform: none;
        transition: all 0.3s ease;
        margin: 40px 0;

    }

    .text-blocks {
        flex-direction: column;
        align-items: center;
        transition: all 0.3s ease;
    }

    .circle,
    .rectangle {
        width: 100%;
        height: auto;
        transition: all 0.3s ease;
    }

    .nav-bar {
        flex-direction: column;
        align-items: flex-start;
        /* Les éléments s'aligneront à gauche */
    }

    .nav-link,
    .contact-info {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0px;
        /* Espace entre les éléments */
    }

    .nav-link {
        align-self: flex-start;
        /* Pour assurer que le lien "INFORMATIONS" reste à gauche */
    }

    #circle {
        position: static;
        /* Réinitialise la position en mode mobile */
        margin: 20px auto;
        /* Centré avec une marge */
    }

    #text-block {
        position: static;
        /* Réinitialise la position en mode mobile */
        margin: 0px auto;
        /* Centré avec une marge */
    }
}


@media (max-width: 480px) {


    .project-container,
    .info-container,
    .projects,
    .project,
    .text-blocks,
    .circle,
    .rectangle,
    .project-content-grid {
        width: 100%;
        box-sizing: border-box;
        padding: 0px;
        margin: 0;
        overflow-y: none;
    }

   

    .project-info {
        text-align: left;
        padding: 15px 15px;
        font-size: 0.9rem;
        overflow: hidden;
        border-bottom: #000 solid 1px;
        border-right: #000 solid 0px !important;
        overflow-y: none;
    }

    .project-header p {
        font-size: 1.1rem;
        letter-spacing: -0.3px;
    }

    .project-details p,
    .services p,
    .deliverables p {
        font-size: 1rem;
        /* Ajuster la taille de la police pour les mobiles */
    }




    .projects {
        flex-direction: column;
        align-items: center;
       
        
    }

    .project {
        width: 100%;
        height: auto;
        transform: none;
        transition: all 0.3s ease;
        margin: 40px 0;
        width: 90% !important
        
    }

     /* Ajuster les projets mobiles */


.project.tilted {
    font-size: 1.3rem;
    padding: 20px;
}
.project.large  {
    font-size: 1.3rem;
    padding: 20px;
}
.project.medium  {
    font-size: 1.3rem;
    padding: 20px;
}
.project.tilted2  {
    font-size: 1.3rem;
    padding: 20px;
}
.project.wide  {
    font-size: 1.3rem;
    padding: 20px;
}




/* titres */




    .project-image-container img {
        width: 70px;
        height: 70px;
        border-radius: 99px;
        transition: all 0.3s ease;
    }


    .text-blocks {
        flex-direction: column;
        align-items: center;
        transition: all 0.3s ease;
    }

    h3 {
        flex-direction: column;
        align-items: center;
    }
    .circle {
        width: 100%;
        height: auto;
        transition: all 0.3s ease;
        font-size: x-large;
    }
    .rectangle {
        flex-direction: column;
        align-items: center;
    }

    .nav-bar {
        flex-direction: column;
        align-items: flex-start;
        font-size: 1.3rem;
        padding-left: 10px;
    }

    .nav-link,
    .contact-info {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0px;
        font-size: 1.3rem;
    }

    .nav-link {
        align-self: flex-start;
        font-size: 1.3rem;
    }

    #circle {
        position: static;
        margin: 20px auto;

    }

    #text-block {
        position: static;
        margin: 20px auto;
    }

    .project-details2 {
        font-size: 1rem;
       
    }

    .project-text  {
        font-size: 1rem;
        line-height: 23px;
        
        inline-size: 90%;
        
    }

  #customCursor {
    display: none;
  }
}