/* blank */ 
body{
    margin: 0 auto;
    /*background-color: rgb(255, 107, 81);*/
    /*background-color: #2e71ec;*/
    background-color: rgb(220, 220, 220);
    /*background-color: rgb(216, 203, 203);*/
    font-family: inuse;
    
}

.mobile{
    display: none;
}

a{
    text-decoration: none;
    color: unset;
}

::selection{
    background-color: tomato;
    color: white;
}

#index{
    display: inline-block;
    cursor: pointer;
    transition: .2s;
    width: auto;
}
#dispTri{
    cursor: pointer;
    display: inline-block;
    position: absolute;
    right: 0;
    transition: .3s;
    transform-origin: center;
    padding: 0 50px;
    text-align: right;
}

#dispTri:hover{
    color: white;
    transform: rotate(180deg);
}

#index:hover{
    color: white;
}

img{
    width: 50vw;
    height: auto;
    display: block;
}

#name{
    position: sticky;
    top: 0;
    display: block;
    background-color:  rgb(220, 220, 220);
    text-align: left;
    z-index: 2;
    padding:15px 25px;
    font-size: 25px;
}

#tri{
    font-size: 50px;
    color: black;
    max-height: 0;
    transition: .5s;
    overflow: hidden;
    display: block;
    margin: 0 -25px;
    padding: 0;
    cursor: default;
}
#tri span{
    display:block;
    background-color: white;
    padding:2px 25px;
    transition: .2s;
    cursor: pointer;
}
#tri span:hover{
    background-color: tomato !important;
    color:white !important;
}

#wrapleft{
    position: relative;
    top : 0;
    left : 0; 
    color: tomato;
    width : 50vw;
}


#backImage{
    position: fixed;
    top: 0;
    left: 50vw;
    width: 50vw;
    height: 100vh;
    background-image: url("000040.jpg");
    background-size: auto 100vh ;
    background-position: center;
}

#backAnimation{
    position: fixed;
    top: 0;
    left: 50vw;
    transition: 1s;
    width: 50vw;
    background-color: tomato;
    height: 0vh;
}

#wrapright{
    position: fixed;
    top :0;
    left: 50vw;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 50vw;
    height: 100vh;
}

#wrapright a:hover{
    text-decoration: underline tomato;
}

#wrapright a::before{
    content: "➹ ";
}

#info{
    position: fixed;
    display: block;
    bottom: 0;
    background-color: white;
    height: 60px;
    left: 50vw;
    z-index: 3;
    cursor: pointer;
    transition: .5s;
    width: 50vw;
}

#titleProj{
    padding:1px 25px 4px 25px;
    transition: .3s;
    font-size: 50px;
    z-index: 2;
    position: sticky;
    background-color: white;
    top: 0;
}

#titleProj:hover{
    background-color: tomato;
    color: white;
}

#texte{
    position: relative;
    display: block;
    font-size: 25px;
    margin: 10px 25px;
}

.projet{
    display: block;
    position: relative;
    padding: 0 25px;
    text-align: left;
    cursor: pointer;
    transition: .3s;
}
.projet:hover{
    /*color: rgb(81, 255, 148);*/
    color: white !important;
    padding: 15px 25px 45px 25px;
}
.title{
    display: block;
   /* text-decoration: underline rgb(102, 150, 255);*/
    font-size: 50px;
    transition: .3s;
}

.keyProject p{
    display: block;
    margin: 0;
}

.keyProject p::before{
    content: "❁ ";
}

.linkProjet a::before{
    content: "➹ ";
}

.linkProjet a{
    color: unset;
    text-decoration: none;
}

.linkProjet a:hover{
    text-decoration: underline tomato;
}

.projet:hover > .title{
    color: white !important;
}

.projet:hover > .date{
    padding: 15px 50px;
    opacity: 1;
}

.projet:hover > .category{
    opacity: 1;
    color: tomato !important;
}
.date{
    position: absolute;
    top: 10px;
    right: 0;
    font-size: 25px;
    opacity: 0;
    display: block;
    transition: .3s;
    text-align: right;
    padding-right: 50px;
}

.category{
    position: relative;
    display: block;
    opacity: 0;
    font-size: 25px;
    padding:0 25px;
}

.projetImage{
    position: relative;
    display: none;
    top: 100vh;
    padding-bottom: 50px;
    transition: .5s;
}

.texteImage{
    display: none;
}

.texteImage p{
    max-width: 750px;
}

.titleImage{
    display: none;
}

.arrow{
    display: inline-block;
    font-size: 25px;
    vertical-align: middle;
    text-align: center;
    width: 50px;
    transition: .2s;
    transform-origin: center;
}


@media all and (max-width: 1050px){

    .desktop{
        display: none;
    }

    body{
        overflow-x: hidden;
    }

    .mobile{
        display: block;
    }

    img{
        width: 100vw;
    }

    #wrapleft{
        width : 100vw;
        transition: .5s;
        padding-bottom: 4vw;
        background-color: rgb(220, 220, 220);
        overflow-x: hidden;
        color: tomato;
    }

    #wrapright{
        position: fixed;
        top :0;
        transition: .5s;
        left: 100vw;
        background-color: tomato;
        overflow-x: hidden;
        overflow-y: scroll;
        width: 100vw;
        height: 100vh;
    }
    

    #dispTri{
        cursor: pointer;
        display: inline-block;
        position: absolute;
        right: 5vw;
        margin: 0;
        padding: 0;
        text-align: right;
        width: 10vw;
    }

    #tri{
        font-size: 8vw;
        background-color: white;
        margin: 0 -5vw;
    }
    #tri span{
        padding:0 5vw;
    }


    #name{
        padding:2vh 5vw;
        font-size: 5vw;
        color: tomato;
        background-color: rgb(220, 220, 220);
    }

    #info{
        left: 100vw;
        width: 100vw;
        height: 7vh;
    }

    #backImage{
        display: none;
    }

    #backAnimation{
        display: none;
    }

    .projetImage{
        transition: 0s;
    }

    .projet{
        padding: 2.3vw 5vw;
        overflow-x: hidden;
    }

    .projet:first-of-type{
        margin-top: 2.3vw;
    }

    .title{
        font-size: 8vw;
        padding-bottom: 1vh;
    }

    .imageIntro{
        background-color: black;
        width: 90vw;
        overflow: hidden;
        height: 60vw;
    }

    .imageIntro img{
        max-height: 60vw;
        top: 50%;
        position: relative;
        left: 50%;
        transform: translate(-50% , -50%);
        height: auto;
        width: auto;
        mix-blend-mode: luminosity;
    }


    #backleft{
        position: sticky;
        top: 0;
        z-index: 2;
        left: 0;
        width: 100vw;
        text-align: center;
        transform: scaleX(-1);
        transform-origin: center;
        color: white;
        background-color: tomato;
        height: 8vw;
        line-height: 8vw;
        padding: 1vw 0;
        font-size: 8vw;
    }

    .date{
        display: none;
    }

    #titleProj{
        padding:1vw 25px 1.5vw 25px;
        transition: .3s;
        line-height: 8vw;
        font-size: 8vw;
        z-index: 2;
        position: sticky;
        background-color: white;
        top: 0;
    }

    #texte{
        font-size: 4vw;
        margin: 10px 25px;
    }

    .texteImage{
        padding-top: 0;
    }

    .texteImage p{
        padding: 0 1vh;
        max-width: unset;
    }
    

    /* HOVER TIME    !!!!!!!!!!!!!!!*/
    #dispTri:hover{
        color: unset;
        transform: rotate(0deg);
    }
    #tri span:hover{
        background-color: white !important;
        color:tomato !important;
    }
    #titleProj:hover{
        background-color: white;
        color: black;
    }
    .projet:hover{
        /*color: rgb(81, 255, 148);*/
        color: white !important;
        padding: 2.3vw 5vw;
    }


}
