body{
    color: var(--color);
    font-weight:unset;
}
#titre{
    display: block;
    position: fixed;
    top: 50%;
    left: var(--marge);
    transform: translate(0, -50%);
}


.changeCat{
    margin-right: calc(var(--marge)*12);
}

#bg{
    display: block;
    position: fixed;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100vw;
    overflow: hidden;
    height: 100vh;
}

#bg img{
   /* display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 120%;
    min-height: 120%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    */
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#getPropos{
    display: block;
    position: fixed;
    z-index: 5;
    bottom: 0;
    right: 0;
    padding: var(--marge);
}

#getArchive{
    display: block;
    position: fixed;
    top: 0;
    z-index: 5;
    right: 0;
    padding: var(--marge);
}

#middleR{
    display: block;
    width: max-content;
    position: fixed;
    cursor: pointer;
    top: 50%;
    right: var(--marge);
    transform: translate(0, -50%);
}

.part{
    display: block;
    position: fixed;
    margin: var(--marge);
    transition: .3s;
    cursor: pointer;
    left: 45vw;
}

.part div{
    display: inline-block;
    transition: .2s;
    vertical-align: top;
}

.part div a{
    display: block;
    text-transform: uppercase;
    font-family: cmu;
    transition: .2s;
    padding-bottom: 4px;
}



#getCommande{
    bottom: 0;
}


#getCommande div{
    vertical-align: bottom;
}

#getCommande div a{
    padding-bottom: 0;
    padding-top: 5px;
}


#getCommande .proList{
    transform: translate(0, 120%);
}


#imgCenter{
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 0;
    background-color: transparent;
    transform: translate(-50%, -50%);
 }

#imgCenter img{
    max-width: 25vw;
    max-height: 25vw;
    width: auto;
    height: auto;
}

.im{
    display:none
}

#about{
    display: block;
    background-color: white;
    color: black;
    top: 0;
    height: 100vh;
    z-index: 6;
    font-family: cmu;
    transition: .3s;
    transform: translate(100%, 0);
    position: fixed;
    right: 0;
    width: 60vw;
}

#about:target{
    transform: translate(0, 0);
}

#about:target body{
    overflow-y: hidden;
}

#about:target ~ .part{
    left: 0;
}




#wrapAbout{
    margin: var(--marge);

    margin-left: calc(var(--marge) * 8);
}

#titlePropos{
    display: block;
    font-family: sunset;
    position: fixed;
    bottom: 0;
    right: 0;
    margin: var(--marge);
}

#closePropos{
    display: block;
    font-family: sunset;
    z-index: 2;
    position: absolute;
    top:0;
    right: 0;
    font-size: 1.3em;
    padding: var(--marge);
}

.wrapText{
    width: 55%;
    padding-right: 55%;
    left: var(--marge);
    display: block;
    top: 0;
    height: 100vh;
    position: fixed;
    overflow-y: scroll;
}

#presentation{
    padding-top: var(--marge);
    padding-bottom: var(--marge);
}
#presentation p::after{
    display: block;
    content: " ";
    white-space: pre;
}

#presentation p{
    display: block;
}

#cv{
    padding-bottom: calc(var(--marge) * 3);
}

#cv h1{
    text-transform: uppercase;
}

#cv h1::after, #cv h1::before{
    display: block;
    content: " ";
    white-space: pre;
}

#sct{
    display: none !important;
}

#getMentions{
    text-decoration: underline 1px solid;
    cursor: pointer;
}

#mentions{
    display: none;
}

@media (orientation:landscape){
    .mobile{
        display: none;
    }
}


@media (orientation:portrait){

    .desktop{
        display: none;
    }

    #titre{
        top: 0;
        left: 0;
        display: block;
        z-index: 2;
        position: fixed;
        margin: var(--marge);
    
        transform: translate(0,0);
    }

    #getPropos{
        bottom: unset;
        top: 0;
    }

    #getArchive{
        top: calc(var(--marge) + 1.2rem);
        padding: var(--marge);
    }
    

    #middleR{
        top: 0;
        z-index: 3;
        right:0;
        transform: translate(0, 0);
    }

    #middleR span{
        display: none;
    }

    #middleR a{
        padding: var(--marge);
        padding-bottom: 0;
        display: block;
    }

    .changeCat{
        display: block;
        position: fixed;
        padding: calc(var(--marge) *2) 0 var(--marge) 0 ;
        margin: 0;
        z-index: 5;
        top: var(--marge);
    }

    #getPerso .changeCat{
        top: unset;
        bottom: 0;
        right: var(--marge);
    }

    .proList .linkPro:last-of-type{
        margin-bottom: 25vh;
    }

    .linkPro{
        margin: 0 auto;
        display: block;
        position: relative;
    }

    .titleMobA{
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(calc(-50% + 1.5vw - 5px) , calc(-50% - 5vw));
    }

    .titleMobB{
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(calc(-50% + 1.5vw - 5px), calc(-50% + 5vw) );
    }


    #getCommande .changeCat{
        top: unset;
        bottom: 0;
    }

    #getCommande .proList{
        display: none;
    }

    .part{
        display: block;
        position: relative;
        margin: var(--marge);
        left: 0;
    }

    .proList{
        padding-top: 20vh;

    }

    .part div{
        display: block;
        text-align: center;
        margin: 0;
    }

    .imgMobile{
        display: block;
        margin: calc(10vw);
    }

    .imgMobile img{
        width: calc(100% - 10px);
        height: auto;
    }


    #about{
        z-index: 6;
        width:100vw;
        overflow: hidden;
    }

    #wrapAbout{
        margin:0;
    }

    .wrapText{
        overflow-y: scroll;
        width: calc(100dvw - (4 * var(--marge)));
        margin: 0;
        display: block;
        left: 0;
        padding-right: 10dvw;
        margin-left:calc(2 *  var(--marge));
        position: relative;
        height: 100dvh;
    }

    #titlePropos{
        display: none;
    }

    #presentation{
        columns: 1;
        margin-top: var(--marge);
    }

    #presentation h1::after{
        display: block;
        content: " ";
        white-space: pre;
    }

    #cv{
        width: 100%;
        padding-bottom: calc(var(--marge)*6);
    }

    #cv h1:first-of-type::before{
        display: none;
    }

    #closePropos{
        position: fixed;
        top:0;
        right: 0;
        padding: var(--marge);
    }


    .mobAr{
        display: inline-block;
        transition: .2s;
        transform-origin: center;
        transform: rotate(45deg);
    }






}