
/* @font-face {
    font-family: "Neue Haas Display Pro",sans-serif;
    src: url(NeueHaasDisplayBlack.ttf);
    font-weight: 300;
  }
@font-face {
    font-family: "Neue Haas Display Pro",sans-serif;
    src: url(NeueHaasDisplayMediu.ttf);
    font-weight: 200;
  }
  @font-face {
    font-family: "Neue Haas Display Pro",sans-serif;
    src: url(NeueHaasDisplayXThin.ttf);
    font-weight: 100;
  }
  @font-face {
    font-family: "Syne",sans-serif;
    src: url(Syne-Medium.ttf);
    font-weight: 200;
  }
  @font-face {
    font-family: "Syne",sans-serif;
    src: url(Syne-Regular.ttf);
    font-weight: 100;
  }
  @font-face {
    font-family: "HelveticaNeue",sans-serif;
    src: url(Helvetica_Neue_Condensed_Black.ttf);
    font-weight: 300;
  } */

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;
    overflow-x: hidden;
}
html::-webkit-scrollbar {
    display: none; /* Pour Chrome, Safari et Opera */
}

h1{
    font-family: "Neue Haas Display Pro",sans-serif;
    font-weight: 300;
}
header{
    width: 100vw;
    height: 100vh;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: stretch;
        align-content: stretch;

}

h1{
    font-size: 19.5vw;
    margin: 0;
}

#portrait{
    height: auto;
    display: block; /* Nécessaire pour appliquer les marges auto */
    margin-left: auto;
    margin-right: auto;
    width: 25%;
    margin-top: 7vh;
}

#stats{
    font-family: "Neue Haas Display Pro",sans-serif;
    font-weight: 200;
    font-size: 0.8rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

#nav{
    position: fixed;
    z-index: 99;
    background-color: white;
    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;
    
}

footer{
    width: 100vw;
    height: 45px;
    background-color: #d1d1d1;
    margin-bottom: 45px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}
#madeWith{
    font-family: "Neue Haas Display Pro",sans-serif;
    font-weight: 100;
    font-size: 0.8rem;
}
#backToTopBtn {
    font-family: "Neue Haas Display Pro",sans-serif;
    font-weight: 200;
    font-size: 0.8rem;
    text-decoration: none;
    color: black;
    cursor: pointer;
}



.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-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 */
    max-width: 100%;
    max-height: 100%;
}

.hidden {
    display: none;
}







.full-screen-background {
    height: 250vh; /* Hauteur de la fenêtre entière */
    width: 100vw; /* Largeur de la fenêtre entière */
    background-image: url('../LoanBackground.webp'); /* Image de fond */
    background-size: cover; /* L'image couvre tout l'écran */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    position: relative; /* Nécessaire pour placer le texte */
}

/* Superposition du texte */
.overlay-text {
    position: absolute; /* Le texte est positionné par rapport à son parent */
    top: 63%;
    left: 120px; /* Aligne à gauche avec une marge de 20px */
    transform: translateY(-50%);
    text-align: left;
    max-width: 500px;
    color: white; /* Couleur du texte */
    font-family: "Neue Haas Display Pro",sans-serif;
    font-weight: 200;
    font-size: 3.6rem;
    line-height: 110%;
}

.light-text {
    font-weight: 100;
}
.overlay-titre {
    position: absolute; /* Le texte est positionné par rapport à son parent */
    bottom: 0px;
    color: #000; /* Couleur du texte */
}
h2{
    font-family: "Neue Haas Display Pro",sans-serif;
    font-weight: 300;
    font-size: 8rem;
    margin: 0;
    text-align: center;
}
h2 span{
    background-color: #fff;
    padding: 20px 30px;
}
h3{
    font-family: "Neue Haas Display Pro",sans-serif;
    font-weight: 200;
    font-size: 3rem;
    margin-left: 120px;
    margin-bottom: 10px;
}

.texteMedia{
    font-family: "Syne",sans-serif;
    font-weight: 100;
    font-size: 1.2rem;
    width: 40vw;
    margin: 0;
    margin-left: 120px;
    line-height: 140%;
}
h4{
    font-family: "Neue Haas Display Pro",sans-serif;
    font-weight: 200;
    font-size: 1.2rem;
    margin-left: 120px;
    margin-bottom: 10px;
}
h4 span{
    color: #fff;
    background-color: #000;
    padding-left: 5px;
    padding-right: 5px;
}
.logiciels{
    margin-left: 44vw;
    width: 36vw;
}

h3 span{
    color: #fff;
    background-color: #000;
    padding-left: 10px;
    padding-right: 10px;
}




#sectionMedia{
    width: 100vw;
    height: 80vh;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.media-container-2 {
    width: 80vw;
    height: 80vh;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#hover-image-2, #hover-video-2 {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
}
.links-2 {
    text-align: center;
    width: 70vw;
}

/* Style des liens */
.nav-link-2 {
    text-decoration: none;
    font-size: 1.2rem;
    color: black;
    transition: all .3s ease;
    display: inline-block;
}

.links-2 .nav-link-2{
    font-family: "Syne",sans-serif;
    font-weight: 100;
}

.links-2 .nav-link-2:hover {

    /* font-style: italic; */
    transform: skewX(-15deg)!important;
}
.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){
   
    #portrait{
        margin-top: 0;
        width: 15%;
    }
    header{
        height: calc(100vh - 10px);
    }
    h2{
        font-size: 5rem;
    }
    .overlay-text{
        left: 80px;
    }
    .logiciels{
        margin-left: 36vw;
        width: auto;
    }
    #sectionMedia{
        height: 500px;
    }
    #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;
    }
}