@font-face {
    font-family: "OGG";
    src: url(/src/fonts/Ogg-Regular.otf);
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "OGG";
    src: url(/src/fonts/Ogg-RegularItalic.otf);
    font-style: italic;
    font-weight: 400;
}

@font-face {
    font-family: "Helvetica Neue Regular";
    src: url(/src/fonts/HelveticaNeueRoman.otf);
    font-weight: 400;
}

@font-face {
    font-family: "Helvetica Neue Light";
    src: url(/src/fonts/HelveticaNeueLight.otf);
    font-weight: 400;
}

* {
    cursor: none !important;
}

body {
    background-color: black;
    color: white;
    margin: 0;
    padding: 0;
    font-family: "OGG", serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-btn {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    transition: transform 0.3s ease;
}

.menu-btn span {
    display: block;
    width: 70px;
    height: 70px;
    width: 100%;
    background: black;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.projet-list {
    width: 100%;
    margin: 0 10vw;
    margin-top: 2vw;
}

/* Navigation */

.projet-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 80px;
}

.projet-content, .projet-content-var{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    width: 100%;
}

.projet-list li {
    position: relative;
    font-size: 120px;
    line-height: 1;
    letter-spacing: -5px;
    font-weight: 400;
}

.projet-name {
    display: flex;
    flex-direction: row;
}

.projet-num {
    font-family: "OGG", serif;
    font-style: normal;
    font-size: 20px;
    letter-spacing: 0px;
    opacity: 0.6;
}

/* Liens */
.projet-list a {
    color: white;
    text-decoration: none;
    line-height: 1;
    transition: opacity 0.3s ease;
}


.projet-list li a {
    font-family: "OGG", serif;
    font-style: normal;
}

.alt {
    font-family: "OGG";
    font-style: italic;
}

.end-text {
    font-family: "Helvetica Neue Regular";
}

.projet-text {
    max-width: 550px;
    font-family: "Helvetica Neue Regular";
    font-size: 16px;
    line-height: 1.3;
    color: rgb(255, 255, 255);
    text-align: left;
    will-change: transform;
}
.project-link {
    font-size: 20px;
    text-decoration: underline !important; 
    display: inline-block;
}


@media screen and (max-width: 1480px) {
    .projet-list {
        margin-top: 15vw;
    }
}

@media screen and (max-width: 1200px) {
    .projet-list {
        margin-top: 20vw;
    }
}


@media screen and (max-width: 980px) {

    html,
    body,
    * {
        cursor: auto !important;
    }

    body {
        height: auto;
        overflow-y: auto;
        gap: 0;
        padding-top: 100px;
    }

    .menu-btn {
        top: 80px;
    }

    .projet-list {
        margin-top: 20vw;
        margin-bottom: 20vw;
    }

    .projet-list ul {
        justify-content: center;
        align-items: center;
        gap: 160px;
    }

    .projet-content {
        flex-direction: column;
        align-items: center;
        gap: 64px;
    }

    .projet-name {
        display: flex;
        align-items: baseline;
        gap: 16px;
    }

    .projet-list li {
        font-size: 80px;
        letter-spacing: -2px;
        line-height: 1;
    }

    .projet-num {
        font-size: 14px;
        opacity: 0.6;
    }

    .projet-text {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.45;
        opacity: 0.85;
    }

    .projet-content-var {
        flex-direction: column-reverse;
        gap: 64px;
    }

}
