@font-face {
    font-family: apercu;
    src: url("apercu-regular.woff");
}

@font-face {
    font-family: apercumono;
    src: url("apercu-mono-regular.woff");
}

body {
    font-family: apercu,arial;
    margin: 0;
    padding: 0;
    background-color: white;
    color: #1A1A1A;
}


html::-webkit-scrollbar {
    display: none;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    scrollbar-color: transparent;
}

* {
    scrollbar-color: transparent;
    scrollbar-width: none;
    /* Firefox */

}

*::-webkit-scrollbar {
    display: none;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    scrollbar-color: transparent;
}


.hidden {
    display: none;
}

#positionBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* background-color: aliceblue; */
    /* z-index: 10000; */
}

#horizontal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 1px;
    border-top: 1px solid #1A1A1A;
    overflow: hidden;
    pointer-events: none;
    /* z-index: -1; */
}

#vertical {
    position: fixed;
    top: 0;
    left: 0;
    width: 1px;
    height: 100vh;
    border-left: 1px solid #1A1A1A;
    overflow: hidden;
    pointer-events: none;
    /* z-index: -1; */
}

#positions {
    position: fixed;
    top: 0;
    left: 0;
    /* width:50px; */
    /* height:20px; */
    line-height: 0px;
    transform: translate(20px, 0);
    font-family: apercumono;
    font-size: 10px;
    pointer-events: none;
    /* z-index: -1; */
}

#logo {
    position: fixed;
    top: 0;
    left: 0;
    font-family: apercumono;
    padding: 0;
    margin: 0;
    font-size: 20px;
    color:#1A1A1A;
}


.desktop {
    display: block;
    padding: 2vw;
    font-size: 15px;
    line-height: 30px;
}


.mobile {
    display: none;
}



#text {
    position: fixed;
    top: 0;
    right: 0;
    width: 66vw;

}

#text p {
    padding: 2vw;
    font-size: 23px;
    color:#1A1A1A;
}


#section {
    overflow: scroll;
    height: 100vh;
}



.boxes {
    position: relative;
    width: 100vw;
    height: 100vh;
    font-family: apercumono;
}

.box {
    font-size: 14px;
    cursor: pointer;
}

.frontDiv {
    position: absolute;
    top: 0;
    left: 0;
    width: 102%;
    height: 102%;
    background-color: #1A1A1A;
    color: white;
    z-index: 3;
    border: 0.5vw solid #1A1A1A;
}

.front {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.frontDiv:hover {
    opacity: 0;
}

.backDiv {
    position: absolute;
    top: 0;
    left: 0;
    width: 102%;
    height: 102%;
    border: 0.5vw solid #1A1A1A;
    background-color: white;
    z-index: 2;
}

.back {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.back2 {
    font-family: apercu;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1vw;
}

.back3 {
    font-family: apercu;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72%;

}

.profil {
    position: absolute;
    top: 40vh;
    left: 15vw;
    width: 80px;
    height: 400px;
}

.coordonnees {
    position: absolute;
    top: 45vh;
    left: 40vw;
    width: 200px;
    height: 200px;
    cursor:default !important;
}

.projets {
    position: absolute;
    top: 10vh;
    left: 60vw;
    width: 200px;
    height: 100px;
}

.ecrivez {
    position: absolute;
    top: 80vh;
    left: 65vw;
    width: 280px;
    height: 50px;
}

a {
    color: #1A1A1A;
    text-decoration: none;
}

#sectionMobile {
    display: none;
}


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

    body {
        overflow-x: hidden;
    }

    #section {
        display: none;
    }

    #sectionMobile {
        display: block;
        overflow: scroll;
        height: auto;
        position: absolute;
        overflow-x: hidden;
        width: 100vw;
    }


    #logo {
        position: fixed;
        top: 5vw;
        left: 5vw;
        font-family: apercumono;
        padding: 0;
        margin: 0;

    }


    #logo .desktop {
        display: none;
    }


    #logo .mobile {
        display: block;
        font-size: 4vw;
        line-height: 8vw;
        margin-top: 0;
        padding-top: 0;
        /* padding:5vw; */
    }


    #text {
        display: none;
    }

    #textMobile {
        position: relative;
        margin: 0;
        padding: 0;
        /* top: 5vw; */
        /* right: 5vw; */
        /* width: 65vw; */
        font-size: 5vw;
        width: 100vw;
    }

    #textMobile p {
        position: absolute;
        top: 5.5vw;
        right: 5vw;
        margin: 0;
        padding: 0;
        width: 65vw;

    }

    .boxesMobile {
        position: relative;
        width: 100vw;
        height: 660vw;
        font-family: apercumono;
    }

    .boxM {
        font-size: 4vw;
        cursor: pointer;
    }

    .frontDiv:hover {
        opacity: 1;
    }



    .projetsM {
        position: absolute;
        top: 320vw;
        left: 30vw;
        width: 40vw;
        height: 30vw;
    }


    .coordonneesM {
        position: absolute;
        top: 380vw;
        left: 40vw;
        width: 60vw;
        height: 70vw;
    }



    .profilM {
        position: absolute;
        top: 480vw;
        left: 0;
        width: 30vw;
        height: 90vw;
    }


    .ecrivezM {
        position: absolute;
        top: 600vw;
        left: 10vw;
        width: 80vw;
        height: 20vw;
    }

    #positionBox {
        display: none;
    }

}