#bgImg {
    display: block;
    position: fixed;
    width: 100vw;
    height: 100vh;
    cursor: pointer;

}

#preload {
    display: block;
    position: fixed;
    width: 2px;
    opacity: .1;
    height: auto;
    top: 0;
    left: 0;
}

.linkPro {
    transition: .2s;
    text-transform: uppercase;
}



.imMenu {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    width: fit-content;
    height: auto;
}

.imMenu img{
    max-width: 25vw;
    max-height: 25vw;
    width: auto;
    height: auto;
}



#bgImg img {
   /* display: block;
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    max-width: 200%;

    */
      object-fit: cover;
    width: 100%;
    height: 100%;
}

#bgTitle {
    display: block;
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color);
    font-family: cmu;
}

#nav {
    display: block;
    position: fixed;
    top: 0;
    z-index: 2;
    left: 0;
    margin: var(--marge);
    width: 100%;
    color: var(--color);
    font-family: sunset;
}

#nav .desktop {
    display: block;
    position: absolute;
    top: 0;
    left: 21vw;
    width: 50vw;
}


#nav div {
    display: inline-block;
    margin-right: 8vw;
}

#about {
    display: block;
    position: fixed;
    margin: var(--marge);
    top: 0;
    right: 0;
    z-index: 3;
    color: var(--color);
    font-family: sunset;
}

#infoProjet {
    display: block;
    cursor: pointer;
    color: var(--color);
    padding: var(--marge);
    bottom: 0;
    left: 0;
    position: fixed;

}

#indexProjet {
    display: block;
    color: var(--color);
    padding: var(--marge);
    cursor: pointer;
    bottom: 0;
    left: 21vw;
    position: fixed;
}

#wrapImg {
    display: none;
    position: fixed;
    justify-content: space-around;
    margin: 3vw 5vw;
    align-items: center;
    width: calc(100vw - 10vw);
    height: calc(100vh - 6vw);
}

.txt {
    font-family: cmu;
    text-align: center;
    display: flex;
    height: 100%;
    width: 30vw;
    justify-content: center;
    align-items: center;
}

.typeStrong {
    font-size: 2vw;
}

.img{
    background-size: cover;
    align-items: center;
    width: 35vw;
    margin: 0 var(--marge);
    justify-content: center;
    display: none;
}

.soloImg{
    width: 100vw !important;
}

.img img{
    user-select: none;
    height: auto;
    width: auto;
    max-height: 80vh;
    max-width: 100%;
}

/*
.imgLimit img {
    height: auto;
    max-width: 35vw;
    width: auto;
}*/

#totalI {
    display: block;
    position: fixed;
    opacity: 0;
    user-select: none;
    bottom: 0;
    right: 0;
    font-family: cmu;
    margin: var(--marge);
}

#title {
    display: block;
    position: fixed;
    user-select: none;
    bottom: 0;
    opacity: 0;
    text-transform: uppercase;
    font-family: cmu;
    margin: var(--marge) 0;
    left: 50%;
    transform: translate(-50%, 0);
}

#cacheImg {
    display: block;
    position: fixed;
    top: 0vh;
    height: 2vh;
    opacity: 0;
    width: auto;
}

.changeImg {
    display: none;
    position: fixed;
    cursor: pointer;
    top: 10vh;
    width: 45vw;
    height: 80vh;
    opacity: 1;
}

#nextImg {
    right: 0;
}

#prevImg {
    left: 0;
}

.ar {
    display: block;
    position: absolute;
    transition: .3s;
    top: 50%;
    user-select: none;
    font-family: 'Courier New', Courier, monospace;
    pointer-events: none;
    padding: var(--marge);
}

#arL {
    left: 0;
    transform: translate(-100%, -50%);
}

#arR {
    right: 0;
    transform: translate(100%, -50%);
}


#index {
    display: block;
    font-family: cmu;
    position: fixed;
    padding: 0vh 0vw 10vh 0vw;
    background-color: white;
    transform: translate(0, 150%);
    transition: .3s;
    width: 80vw;
    align-items: center;
    height: 80vh;
}


#indexTitle {
    display: block;
    position: absolute;
    text-transform: uppercase;
    left: var(--marge);
    top: 50vh;
    transform: translate(0, -50%);
    width: max-content;
}

#wrapNumb {
    width: 90vw;
    padding: 0 5vw;
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    text-align: center;
}

#center {
    position: relative;
    top: 52.5%;
    transform: translate(0, -50%);
}

.number {
    display: inline-block;
    position: relative;
    width: 30%;
    padding: var(--marge) 0;
    cursor: pointer;
}

.nIndex {
    padding: 0 5px;
    padding-top: 3px;
    width: 2vw;
    display: block;
    margin: 0 auto;
    transition: .2s;
    line-height: 1;
    border-radius: 150px;
    cursor: pointer;
    border: 1px solid transparent;

}

.number:hover .nIndex {
    background-color: black;
    color: var(--constcolor);
}


.line:hover .imIndex {
    display: block;

}

.line:hover .nIndex {
    border: 1px solid black;
}

.line:first-of-type {
    padding-top: 10vh;
}

.line:last-of-type {
    padding-bottom: 15vh;
}

.number .imIndex {

    display: none;
    position: absolute;
    top: var(--marge);
    right: 0;
    z-index: 2;
    transform: translate(50%, 0);

}

#informations {
    display: block;
    background-color: white;
    position: fixed;
    top: 8vh;
    transition: .3s;
    transform: translate(0, 150%);
    height: 80vh;
    font-family: cmu;
    width: 100vw;
}

#pageInfo {
    display: block;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    text-transform: uppercase;
    margin: var(--marge);
}

.info {
    display: inline-block;
}

#wrapInfo{
    display: block;
    margin: var(--marge);
    position: absolute;
    left: 49vw;
    width: 35vw;
    padding-right: 18vw;
    margin-top: -8vh;
    column-gap: 2vw;
    overflow: scroll;
    height: 102vh;
}

#wrapInfo p:first-of-type{
    margin-top: 8vh;
}
#wrapInfo p:last-of-type{
    margin-bottom: 10vh;
}


#informations p {}

#informations p::after {
    display: block;
    content: " ";
    white-space: pre;
}

.getPro {
    cursor: pointer;
    position: relative;
}

.proTitle {
    position: relative;
    display: inline-block;
    transition: .2s;
    transform-origin: center;
}

.list {
    display: block;
    position: absolute;
    top: calc(var(--marge) *2);
    left: 0;
    font-family: cmu;
    transition: .2s;
    transform: translate(0, -250%);
}

.menuGest {
    user-select: none;
    opacity: 0;
    min-width: 15vw;
}


.list a {
    display: block;
    width: max-content;
}

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


@media (orientation:portrait) {

    .desktop {
        display: none !important;
    }

    #title {
        display: none;
    }

    #indexTitle {
        display: none;
    }



    #index {
        align-items: unset;
        padding: 0 0  10vh 0;
        width: 100vw;
        height: 100vh;
        overflow-y: scroll;
    }

    .info{
        display: block;
    }


    #indexProjet {
        bottom: 0;
        left: unset;
        text-align: right;
        right: 0;
    }

    .line:first-of-type {
        margin-top: 15vh;
        padding-top: 0;
    }

    .line:last-of-type {
        padding-bottom: 30vh;
    }

    .nIndex {
        width: auto;
    }

    .number{
        vertical-align: top;
    }

    .imIndex {
        display: block !important;
        position: relative !important;
        margin: 0 auto;
        width: 100%;
        height: auto;
        transform: translate(0, 0) !important;
        top: 0 !important;
    }

    .txtIndex{
        display: flex !important;
        position: relative;
        height: 150px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #wrapImg {
        margin: 5vw;
        width: calc(100dvw - 10dvw);
        height: calc(100dvh - 10dvw);
    }


    #totalI {
        z-index: -1;
        bottom: calc(var(--marge)) ;
        left: 60%;

        transform: translate(-50%, 0);
        right: unset;
        margin: 0;
    }

    .img {
        height: auto;
        width: auto;
        max-height: 80vh;
        max-width: 90vw;

    }

    .img img {
        max-height: 100%;
        max-width: 100%;
        height: auto;
        width: auto;
    }

    .txt {
        width: 100%;
    }

    .typeStrong {
        font-size: 8vw;
    }

    #getMenu {
        display: none;
        position: fixed;
        flex-direction: column;
        top: 0;
        right: 0;
        color: var(--color);
        font-size: 1.3rem;
        text-align: right;
        z-index: 6;
        width: 15vw;
        cursor: pointer;
        height: var(--marge);
        margin: var(--marge);
    }

    #backMenu{
        display: block;
        position: fixed;
        color: var(--color);
        font-size: 1.3rem;
        text-align: right;
        z-index: 6;
        top: 0;
        right: 0;
        width: 15vw;
        cursor: pointer;
        height: var(--marge);
        margin: var(--marge);
    }

    #getMenu span {
        display: block;
        height: 3px;
        transform-origin: center;
        left: 50%;
        transition: .2s;
        background-color: var(--color);
        width: 100%;
    }

    .mobAr{
        display: inline-block;
        transition: .2s;
        transform-origin: center;
        vertical-align: bottom;
    }

    /*
    .mOff{
        justify-content: space-between;
    }

    .mOn{
        justify-content: center;
    }

    .mOff span{
        position: relative;
        transform: translate(-50%,0);

    }

    .mOn span{
       position: absolute;
       top: 50%;
       transform: translate(-50%, -50%) rotate(15deg);
    }

    .mOn span:last-of-type{
        transform: translate(-50%, -50%) rotate(-15deg);
     }
        */



    #menuMobile {
        display: block;
        position: fixed;
        top: 0;
        z-index: 5;
        transform: translate(-100%, 0);
        left: 0;
        transition: .3s;
        padding: var(--marge);
        background-color: white;
        height: calc(100dvh - (2*(var(--marge))));
        width: calc(100dvw - (2*(var(--marge))));

    }

    #aboutMobile {
        z-index: 10;
        display: block;
        position: relative;
    }

    #imgMob {
        display: block;
        position: absolute;
        height: 70dvh;
        left: 0;
        padding-top: 20vh;
        top: 0;
        font-family: cmu;
        text-transform: uppercase;
        width: 100vw;
        overflow-y: scroll;
    }

    #imgMob a {
        display: block;
        text-align: center;
    }



    #imgMob a span {
        display: block;
        padding: var(--marge) 0;
    }

    .commIm {
        display: none;
    }

    #archiveMobile {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
        padding: var(--marge);
    }

    .changeCat {
        z-index: 10;
        display: block;
        padding-top: var(--marge);
        position: relative;
        cursor: pointer;
    }

    #cPM {
        position: fixed;
        bottom: 0;
        padding: var(--marge);
        left: 0;
    }

    .changeImg div {
        opacity: 0;
    }

 
    #wrapInfo {
        column-count: unset;
        left: 0;
        width: unset;
        margin-top: 0;
        overflow: auto;
        height: unset;
        padding-right: unset;
        margin: calc(2*(var(--marge)));
        column-gap: unset;
    }

        
    #wrapInfo p:first-of-type{
        margin-top:0;
    }


    #wrapInfo p:last-of-type {
        padding-bottom: 15vh;
    }

    #pageInfo {
        transform: unset;
        top: 0;
        display: block;
        margin:  0 calc(2*(var(--marge)));
        margin-top: 15vh;
        margin-bottom: 0;
        position: relative;
    }


    #informations {
        position: fixed;
        top: 0;
        height: 100vh;
        overflow-y: scroll;
       
      
    }


    .menuGest {
        z-index: 5;
       padding-top: 7vh !important;
    }
    
  

    .number:hover .nIndex {
        background-color: white;
        color: black;
    }


    .line:hover .nIndex {
        border: 1px solid transparent;
    }


}