*{
    margin:0;
}

body{
    cursor: crosshair;
    user-select: #000;
    font-family: 'Shippori Antique B1', sans-serif;
}

p::selection {
    color: white;
    background-color: black;
}

#cursor {
    background-color: black;
    z-index: 99999999;
    height: 40px;
    width: 40px;
    border-radius: 0;
    pointer-events: none;
    display: block;
    position: absolute;
    transform: translate(-50%, -50%) rotate(0deg);;
    transition: 0.3s;
    transition-property: border-radius;
    transition-property: transform;
    filter: invert(1);
    mix-blend-mode: difference;
  }

  .container:hover + #cursor{
    transition: 0.4s;
    transition-property: border-radius;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: none;
    border-radius: 100%;
  }

  @media screen and (max-width:850px) {
    
    #cursor{
        display: none;
    }
    
}

html{
    scroll-behavior: smooth;
}

a{
    color: #000;
    text-decoration: none;
    display: contents;
}

.nav-top .contact p:hover{
    background-color: #000;
    color: white;
    display: block;
}

.nav-top .bio-link:hover{
    background-color: #000;
    color: white;
}

.nav-top{
    height: 10vh;
    background-color: white;
    font-family: 'Shippori Antique B1', sans-serif;
    font-size: 0.9em;
    display: flex;
    border-bottom: #000 1px solid;
    width:100vw;
    align-items: center;
    padding : 0px 30px;
    box-sizing: border-box;
    justify-content: space-between;
    z-index: 999999;
    position: absolute;
    top: 0;
    left: 0;

}

.nav-top .left .logo{
    height: 35px;
}

.nav-top .left{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-right: 30px
}

.nav-top .contact{
    display: flex;
    border-left: #000 1px solid;
    align-items: center;
    padding-left: 30px;
    box-sizing: border-box;
    word-wrap: none;
    min-width: 300px;
    min-width: 400px;
}

.nav-top .contact p{
    margin-left: 20px;
}

.nav-side{
    width: 15vw;
    height: 90vh;
    background-color: white;
    border-right: #000 1px solid ;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    z-index: 999999;
    position: absolute;
    bottom: 0;
    left: 0;
    font-family: 'Shippori Antique B1', sans-serif;
}

.nav-side .domaine{
    margin-top: 30px;
    width: 75%;
}

.nav-side .domaine p:hover{
    background-color: #000;
    color: white;
    cursor:crosshair;
}

.nav-side .domaine .title{
    background-color: #000;
    color: white;
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.nav-side .domaine .title-actif{
    background-color: #000;
    color: white;
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.nav-side footer{
    bottom: 12px;
    position: absolute;
    background-color: white;
    padding: 5px;
    box-sizing: border-box;
    font-size: 11px;
}


@media screen and (max-width:850px){
    .nav-top{
        flex-direction: column;
        width: 50vw;
        height: 15vh;
        flex-wrap: no-wrap;
        justify-content: space-between;
        border-left: #000 1px solid;
        left: auto;
        right: 0;
        padding: 0;
        max-height: 102px;
    }

    .nav-top .logo{
        border-bottom: #000 1px solid;
        padding-bottom: 2px;
        padding-top: 0px;
        width: 20vw;
        padding-left: 1vw;
        padding-right: 29vw;
    }

    .nav-top .left{
        flex-direction: column;
        align-items: flex-start;
        border-bottom: #000 1px solid;
        margin: 0;
        padding: 0 0px;
        box-sizing: border-box;
    }

    .nav-top .title-page{
        margin-left: 5px;
        display: none;
    }

    .nav-top .bio-link{
        margin-left: 1vw;
        padding-bottom: 4px;
        font-size: 13px;
    }

    .nav-top .contact{
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        min-width: auto;
        border: none;
        width: 100%;
        padding: 0 0px;
        box-sizing: border-box;
        font-size: 13px;
        background-color: white;
    }

    .nav-top .contact p{
        margin: 0;
        margin-left: 1vw;
    }



    .nav-side{
        width: 50vw;
        height: 15vh;
        bottom: auto;
        left: 0;
        top: 0;
        align-items: initial;
        border-bottom: #000 1px solid;
        border-right: none;
        justify-content: space-between;
        font-size: 13px;
        max-height: 102px;
    }

    .nav-side .domaine .projet{
        display: none;
    }

    .nav-side .domaine .title{
        background-color: white;
        color: rgb(255, 255, 255);
        color: black;
        box-sizing: border-box;
        margin-left: 1vw;
    }

    .nav-side .domaine{
        margin: 0;
        width: 100%;
        border-bottom: 1px solid ;
    }

     .nav-side .domaine{
        margin: 0;
        width: 100%;
        border-bottom: 1px solid ;
    }

    .nav-side .domaine:nth-child(5){
        border-bottom: none
    }


    .nav-side footer{
        display: none;
    }
}


/* CONTAINER */

.container{
    width: 85vw;
    height: 90vh;
    overflow: scroll;
    scroll-snap-type: y mandatory;
    margin-left: 15vw;
    margin-top: 10vh;
    box-sizing: border-box;
    position: fixed;
    display: flex;
    justify-content: space-between;
}

.container .column{
    width: 49%;
    display: flex;
    flex-direction: column;
    position : relative;
    border-left : 1px solid black;
    border-right : 1px solid black;
}

.container .column:nth-child(1){
    border-left: none;
}

.container .column:nth-child(3){
    border-right: none;
}

.container .column img{
    position: absolute;
    max-width: 100%;
    height: 100px;
    bottom: 0;
}


@media screen and (max-width:850px){
    .container{
        flex-direction: column;
        margin-left: 0;
        width: 100vw;
        margin-top: 18vh;
    }

    .container .column{
        width: 100%;
        height: fit-content;
        padding-bottom:120px ;
        margin-bottom: 80px;
        border-bottom: 1px solid;
    }

    .container .column img{
        max-width: 400px;
        bottom: 10px;
    }
}