@font-face {
	font-family: 'Motley Forces';
    src: url('fonts/MotleyForces.woff2') format('woff2');
    src: url('fonts/MotleyForces.woff') format('woff');
	src: url('fonts/MotleyForces.ttf') format('ttf');
    src: url('fonts/MotleyForces.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-SemiBold';
    src: url(fonts/montserrat/Montserrat-SemiBold.otf) format('opentype');
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url(fonts/montserrat/Montserrat-Regular.otf) format('opentype');
}

@font-face {
    font-family: 'Montserrat-Black';
    src: url(fonts/montserrat/Montserrat-Black.otf) format('opentype');
}

@font-face {
    font-family: 'Montserrat-Light';
    src: url(fonts/montserrat/Montserrat-Light.otf) format('opentype');
}

/* reglages initiaux de la page */

body { 
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
}

.page-actuelle {
    color: #FFDF6F;
    text-decoration: underline;
}

/* STYLE DU MENU */
nav {
    position: sticky;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Motley Forces';
    font-size: 2vw;
    letter-spacing: 0.07vw;
    background-color: #0E1422;
    height: 15vh;
    color: white;
}
nav a {
    text-decoration: none;
    color: #FBFBFB;
}

.menu a:hover {
    color: #FFDF6F;
}

/* le menu + le burger */
.liens {
    display: flex;
    width: 75%;
    gap: 5.3vw;
    align-items: center;
    justify-content: center;
}
/* menu qui contient simplement les liens */
.menu {
    order: 1;
    display: flex;
    gap: 3.1vw;
}

/* lorsque le menu burger est ouvert, la page doit pas pouvoir se scroll */
.stopscroll {
    overflow: hidden;
}

/* creer un separateur qui evitera une superposition de contenu 
lorsque le menu burger sera ouvert (faire baisser le hero) */
.separateur {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none; /* Initialement masquée */
}
.separateur.visible {
    display: block; /* Affichage lorsque la classe visible est présente */
}
/* FIN DU STYLE DU MENU */


/* MENU EN RESPONSIVE */
/* duplication du menu burger/container liens menu 
mais initialement placés en display none et s'affichent 
quand l'écran est inferieur a 900px*/
.hamburger-resp {
    width: 5.4vw;
    height: 5.4vw; 
    cursor: pointer;
    border: none;
    display: flex;
    background: #0E1422;
    align-items: center;
    position: relative;
    justify-content: center;
    display: none;
    padding: 0;
}
.hamburger-resp span{
    display: block;
    width: 100%;
    height: 0.5vw;
    background: #FBFBFB;
    position: absolute;
    pointer-events: none;
    transition: opacity 0.3s 0.15s ease-out;
}
/* Les 3 traits (span) se décollent en remontant le 1 et baissant le 3 */
.hamburger-resp span:nth-child(1){
    transform: translateY(1.8vw);
}
.hamburger-resp span:nth-child(3){
    transform: translateY(-1.8vw);
}
.hamburger-resp span:nth-child(1), .hamburger span:nth-child(3){
    transition: transform 0.3s ease-out;
}
/* Quand on déclenche la classe open, animation des barres du menu burger pour devenir une croix */
.hamburger-resp.open span:nth-child(1) {
    transform: translate(0) rotate(135deg);
}
.hamburger-resp.open span:nth-child(2) {
    opacity: 0;
    transition: opacity 0s ease-out;
}
.hamburger-resp.open span:nth-child(3) {
    transform: translate(0) rotate(-135deg);
}
.containerliensmenu-resp {
    flex-direction: column;
    align-items: center;
    position: absolute;
    background-color: #0E1422;
    top: 15vh;
    right: 0px;
    margin: 0;
    padding: 0;
    height: calc(100vh - 15vh);
    width: 100vw;
    justify-content: center;
    border-right: 0.06vw solid #c5c5c6;
    display: none; 
}

/* menu */
.conteneur-txt {
    height: 80%;
    display: flex;
    align-items: center;   
}

.open {
    display: flex;
}




/* faire disparaitre le hero lorsque le menu burger est ouvert */
 .cachee {
    display: none;
 }

 .hamburger {
    display: none;
 }

 .containerliensmenu-resp a {
    margin: 3vw 0vw;
    text-decoration: none;
    color: white;
    display: inline-block;
    position: relative;
    font-family: 'Motley Forces';
    font-size: 26px;
    display: none;
}

.hero {
    all: unset;
    display: flex;
    width: 100vw;
    height: 35vw;
    background-color: #fbfbfb;
    justify-content: center;
    gap: 4vw;
    align-items: center;
}

.projettitre {
    all: unset;
    display: flex;
    width: 42vw;
    height: 20vw;
    flex-direction: column;
}

.illustrationprojet {
    display: flex;
    width: 32vw;
    height: 20vw;
    overflow: hidden;
}


.illustrationprojet video {
    position: relative;
    top: -0.1vw;
}

.nomprojet {
    width: 100%;
    height: 50%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-end;
}

.nomprojet h1 {
    font-family: 'Motley Forces';
    font-size: 3vw;
    margin: 0;
    color: #000000;
}

.competencesprojet {
    width: 100%;
    height: 40%;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.5vw 0.5vw;
    margin-top: 2vw;
    flex-wrap: wrap;
    align-content: flex-start;
}

.boutonrecherche {
    all: unset;
    padding: 0.1vw 1vw 0.1vw 1.4vw;
    text-align: center;
    border-radius: 3vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
}

.webdesign {
    background-color: #FE9A02;
}
.creationgraphique {
    background-color: #FE9A02;
}

.boutonrecherche p {
    all: unset;
    color: #010101;
    font-family: 'Montserrat-SemiBold';
    font-size: 0.95vw;
}

.iconerecherche {
    height: 2.5vw;
}

.iconewebdesign {
    width: 2vw;
}

.conteneurlancement {
    height: 28vw;
    width: 80vw;
    margin: 4vw 10vw;
    display: flex;
    justify-content: center;
    gap: 1.5vw;
}

.attentes {
    width: 35.6vw;
    height: 22.6vw;
    padding: 2vw;
    border-radius: 2vw;
    border: 0.2vw solid #FE9A02;
}

.attentes p {
    font-family: 'Montserrat-Light';
    font-size: 1.3vw;
    line-height: 1.8vw;
    text-align: justify;
    margin-top: 2vw;
    color: #010101;
}

.nomportfolio {
    display: none;
}

.titreattente {
    font-family: 'Montserrat-SemiBold';
    margin: 0;
    font-size: 2vw;
    color: #010101;
}

.realisations {
    width: 36vw;
    height: 23vw;
    padding: 2vw;
    border-radius: 2vw;
    background-color: #010101;
}

.realisations p {
    font-family: 'Montserrat-Light';
    font-size: 1.3vw;
    line-height: 1.8vw;
    text-align: justify;
    margin-top: 2vw;
    color: #fbfbfb;
}

.titrerealisation {
    font-family: 'Montserrat-SemiBold';
    margin: 0;
    font-size: 2vw;
    color: #fbfbfb;
}

.projetenimage {
    font-family: 'Montserrat-Black';
    margin-top: 6vw;
    font-size: 2.5vw;
    padding-left: 10vw;
    color: #010101;
}

.mentionslegales {
    text-decoration: none;
    cursor: pointer;
    color: white;
}
.mentionslegales {
    text-decoration: none;
    cursor: pointer;
    color: white;
}
.conteneurimages {
    width: 80vw;
    height: 29vw;
    margin: 0vw 10vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 1.5vw;
}

.image1 { 
    grid-area: 1 / 1 / 2 / 2;
    border-radius: 1vw;
    position: relative;
    overflow: hidden;
}

.image2 { 
    grid-area: 1 / 2 / 2 / 3;
    border-radius: 1vw;
    position: relative;
    overflow: hidden;
}


.imagen1 {
    width: 40vw;
    position: absolute;
    top: -1vw;
}

.imagen2 {
    width: 47vw;
    position: absolute;
    left: -3.8vw;
    top: -2vw;
}









/* FOOTER */
.wave-wrapper {
    position: relative;
    height: 9vw;
}

.wave-inversee {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -1vw;
    background-repeat: no-repeat;
    background-image: url("medias/vague1.svg"); /* Chemin vers l'image */
    transform: scaleX(-1) scaleY(-1);
}
body {
    position: relative;
}
footer {
    position: absolute;
    width: 100vw;
    height: 25vw;
    margin: 0;
    padding: 0;
    bottom: 0;
}

.separateurfooter {
    height: 30vw;
    width: 100vw;
    margin: 0;
    padding: 0;
}
.contenufooter {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 20vw;
    position: relative;
    background-color: #0E1422;
}

.mentions {
    position: absolute;
    width: 50vw;
    height: 7vw;
    top: 0vw;
    left: 25vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mentions p {
    font-family: 'Montserrat-SemiBold';
    font-size: 1.5vw;
    margin: 0.5vw;
    color: #fbfbfb;
}

.nomfooter {
    position: absolute;
    bottom: 0;
    width: 100vw;
    height: 9vw;
    overflow: hidden;
}

.nomfooter p {
    position: absolute;
    left: -1vw;
    bottom: -3vw;
    font-size: 11.2vw;
    background: linear-gradient(to right, #FFDF6F, #F9A473, #B8CEDE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Montserrat-Black';
    width: 101vw;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}



@media screen and (max-width: 750px) {
    .liens {
        display: flex;
        width: 75%;
        gap: 5.3vw;
        align-items: center;
        justify-content: space-between;
    }

    .nomportfolio {
        display: flex;
    }

    nav {
        font-size: 3vw;
    }

    body {
        overflow-x: hidden;
    }
    .menu, .hamburger {
        display: none;
    }
    .hamburger-resp {
        display: flex; 
    }

    .containerliensmenu-resp {
        display: none;
        gap: 0.6rem
    }

    .containerliensmenu-resp a {
        display: block;
    }
    
    .open {
        display: flex;
    }

    .hero {
        height: 50vw;
        flex-direction: column;
    }

    .conteneurlancement {
        height: 90vw;
        width: 80vw;
        margin: 4vw 10vw;
        display: flex;
        align-items: center;
        gap: 5vw;
        flex-direction: column;
    }

    .conteneurimages {
        all: unset;
        width: 100vw;
        height: 100vw;
        gap: 5vw;
        flex-direction: column;
        align-items: center;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        justify-items: center;
    }

    .image1, .image2 {
        all: unset;
        height: 45vw;
        width: 78vw;
        overflow: hidden;
        border-radius: 3vw;
    }
    
    .imagen1, .imagen2 {
        all: unset;
        height: 59vw;
        position: relative;
        top: -9vw;
    }
        
    .image1 { grid-area: 1 / 1 / 2 / 2; }
    .image2 { grid-area: 2 / 1 / 3 / 2; }

    .hero { 
        height: 100vw;
    }

    .projettitre {
        width: 85vw;
        height: 50vw;
    }

    .nomprojet h1 {
        font-size: 6vw;
        text-align: center;
        margin-bottom: 4vw;
    }

    .competencesprojet {
        height: 65%;
        justify-content: center;
    }

    .boutonrecherche {
        padding: 1.6vw 2.5vw 1.6vw 2.9vw;
        border-radius: 6vw;
        gap: 2vw;
        margin: 0.5vw;
    }

    .boutonrecherche p {
        font-size: 2.5vw;
    }

    .illustrationprojet {
        width: 60vw;
        height: 37vw;
    }

    .attentes {
        width: 70vw;
        height: 30vw;
        padding: 4vw;
        border-radius: 3vw;
        border: 0.3vw solid #FE9A02;
    }

    .realisations {
        width: 70vw;
        height: 32vw;
        padding: 4vw;
        border-radius: 2vw;
        background-color: #010101;
    }

    .titreattente, .titrerealisation {
        font-size: 3.3vw;
    }

    .attentes p, .realisations p {
        font-size: 2.6vw;
        line-height: 3.1vw;
    }

    .conteneurlancement {
        height: 90vw;
        width: 80vw;
        margin: 4vw 10vw;
        gap: 5vw;
    }


    .projetenimage {
        margin-top: 5vw;
        font-size: 3.5vw;
        padding-left: 11.5vw;
    }

    .mentions {
        position: absolute;
        width: 50vw;
        height: 15vw;
    }

    .contenufooter {
        height: 35vw;
    }

    .mentions p {
        font-family: 'Montserrat-SemiBold';
        font-size: 3vw;
        margin: 2.5vw;
        color: #fbfbfb;
    }

    .iconerecherche {
        height: 5.5vw;
    }
    .iconewebdesign {
        width: 5vw;
    }

    .nomportfolio {
        display: flex;
    }

    .nomportfolio {
        display: flex;
    }

    nav {
        font-size: 3vw;
    }
}