

html{
    margin: 0;
    font-size:max(14px,1.2vw);
    scrollbar-width: none; /* Pour Firefox */
    -ms-overflow-style: none; /* Pour Internet Explorer et Edge */
}


body{
    margin: 0;
    padding: 0;
}
html::-webkit-scrollbar {
    display: none; /* Pour Chrome, Safari et Opera */
}



h1{
    font-family: "Helvetica Neue",sans-serif;
    font-weight: 300;
    font-size: 3rem;
    margin: 0;
}
#categorieProjet{
    font-family: "Syne",sans-serif;
    font-weight: 100;
    font-size: 0.8rem;
    margin: 0;
}
#descriptionProjet{
    font-family: "Syne",sans-serif;
    font-weight: 200;
    font-size: 1.2rem;
    margin: 0;
    width: 40vw;
}
header{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100px;
    padding-left: 20px;
    padding-right: 20px;
    position: fixed; /* Header toujours visible */
    top: 0;
}
#titreContainer{
    width: 40vw;
}




/* mica */
.horizontal-scroll-container{
    
    height: 1075vh;
    margin-top: 15vh; /* à calculer en js */
    overflow:visible;
}
.horizontal-scroll-container article.scroller-inside{
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    scrollbar-width: none; /* Pour Firefox */
    -ms-overflow-style: none; /* Pour Internet Explorer et Edge */
    
}
.horizontal-scroll-container article.scroller-inside::-webkit-scrollbar {
    display: none; /* Pour Chrome, Safari et Opera */
}
.horizontal-scroll-container article.scroller-inside div.screen{
    /* position: relative; */
    min-height: 75vh;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    scrollbar-width: none; /* Masquer la barre de scroll sur Firefox */
}



.projetContainer {
    min-width: calc(40vw + 20px);
    height: 75vh;
    display: flex;
}
.projetContainer video{
    padding-left: 20px;
}

.devellopementContainer {
    width: max-content;
    height: 75vh;
    display: flex;
    gap: 20px;
}
.xyz{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.texteDevellopement{
    font-family: "Syne",sans-serif;
    font-weight: 100;
    font-size: 0.8rem;
    width: 280px;
    margin-left: 20px;
}
.texteDevellopement span{
    color: #fff;
    background-color: #000;
    padding-left: 5px;
    padding-right: 5px;
}
p.texteDevellopement{
    margin: 0;
}
.centerTitre{
    display: flex;
    align-items: center;
    margin-left: 300px;
}
.titreDevellopement{
    font-family: "Neue Haas Display Pro",sans-serif;
    font-weight: 100;
    font-size: 2rem;
    transform: rotate(-90deg);
    transform-origin: center center;
}
.gallery-container {
    width: 80%;
    max-width: 1000px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-bottom: 20px;
}
.gallery-grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    margin-bottom: 20px;
}

.gallery-grid img {
    width: auto;
    height: 100%;
}
.texteGallery{
    font-family: "Syne",sans-serif;
    font-weight: 100;
    font-size: 0.8rem;
    width: 340px;
}
.texteGallery span{
    color: #fff;
    background-color: #000;
    padding-left: 5px;
    padding-right: 5px;
}

.suivantContainer{
    min-width: 100vw;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.boutonSuivant{
    text-align: center;
}
#suivant{
    font-family: "Neue Haas Display Pro",sans-serif;
    font-weight: 300;
    font-size: 4rem;
    margin: 0;
}
.projetSuivant{
    font-family: "Neue Haas Display Pro",sans-serif;
    font-weight: 100;
    font-size: 1.6rem;
    color: black;
    transition: 0.3s ease;
    display: inline-block;
    margin: 0;
}
.boutonSuivant:hover .projetSuivant {
    transform: skewX(-15deg);
}






#nav{
    position: fixed;
    z-index: 99;
    background-color: #fff;
    bottom: 0;
    width: 100%;
    height: 45px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    padding-left: 20px;
    padding-right: 20px;
}
a{
    font-family: "Neue Haas Display Pro",sans-serif;
    font-weight: 200;
    font-size: 0.8rem;
    text-decoration: none;
    color: black;
    
}

.burger-menu {
    width: 40px; /* Largeur du bouton burger */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 30px; /* Hauteur totale, inclut l'espacement entre les lignes */
    position: relative;
    z-index: 10; /* S'assurer que le menu burger est au-dessus du contenu */
}

/* Les deux lignes du burger */
.burger-menu span {
    display: block;
    width: 100%; /* Prend toute la largeur du conteneur */
    height: 4px; /* Épaisseur des lignes */
    background-color: black;
    border-radius: 2px; /* Coins arrondis pour un look moderne */
    transition: all 0.3s ease-in-out; /* Transition pour animation (optionnelle) */
}
/* Effet de transformation en croix */
.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}


.burger-menu.active span:nth-child(2) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-container {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    display: none; /* Cacher le div par défaut */
    flex-wrap: wrap;
    justify-content: center;
	align-items: center;
}
#navBg{
    width: 90vw;
    height: 80vh;
    background-color: #fff;
    display: flex;
    justify-content: flex-end;
    padding: 50px;
}
.media-container{
    width: 49vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: contain;
}
.nav-colonne{
    width: 20%;
    list-style-type: none; /* Supprimer les puces des listes */
}
.gauche{
    text-align: left;
}
.droite{
    text-align: left;
}

ul{
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.nav-nom-projet{ font-family: "Helvetica Neue", sans-serif;
    font-weight: 300;
    font-size: 1.4rem;
    line-height: 90%;
    transition: all .3s ease;
    display: inline-block;
}
.nav-nom-projet:hover{
    transform: skewX(-15deg)!important;
}
.nav-categorie-projet{
    font-family: "Syne",sans-serif;
    font-weight: 100;
    font-size: 0.6rem;
    margin-top: 0;
}

#hover-image,
#hover-video {
    pointer-events: none; /* Empêche l'image ou la vidéo de capturer des événements de souris */
    transition: transform 0.1s ease-out; /* Transition douce pour le mouvement */
}

.hidden {
    display: none;
}
.contenuReduit{
    height: 100vh; /* Hauteur de la fenêtre entière */
    width: 100vw; /* Largeur de la fenêtre entière */
    position: relative; /* Nécessaire pour placer le texte */
    display: none;
}
#Showreel{
    height: 100vh;
    width: auto;
    object-fit: cover;
    filter: brightness(0.2);
    
}
#screenRotation{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30vw;
    height: auto;
    z-index: 98;
}
@media screen and (max-width:500px){
    .contenuComplet{
        display: none;
    }
    .contenuReduit{
        display: block;
    }
}
@media screen and (max-height:500px){
    header{
        height: 70px;
    }
    #descriptionProjet{
        width: 60vw;
    }
   
    .horizontal-scroll-container article.scroller-inside div.screen{
        align-items: flex-start;
    }
    .projetContainer{
        height: calc(100vh - 120px);
        min-width: 480px;
    }
    .devellopementContainer{
        height: calc(100vh - 120px);
    }
    .suivantContainer{
        height: calc(100vh - 120px);
    }
    #navBg{
        padding: 10px;
        width: 100vw;
        height: calc(100vh - 45px);
    }
    .nav-container{
        align-items: baseline;
    }
    .media-container{
        width: 40vw;
    }
    .nav-colonne{
        width: 100%;
    }
    ul.nav-colonne{
        gap: 5px;
    }
    



    .gallery-container{
        display: flex;
        gap: 20px;
    }
    .gallery-grid img{
        height: 180px;
    }
    .gallery-grid2 img{
        height: 180px;
    }
    .xyz{
        gap: 20px;
    }
}