body{
    background-color: var(--mainColor);
    color: var(--ndColor);
}

/* width */
::-webkit-scrollbar {
    width: 3px;    
  }
  
/* Track */
::-webkit-scrollbar-track {
background: var(--ndColor);
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #888; 
border-radius : 10px;
background: var(--mainColor); 

}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: black; 
}

:root{
    --introfD : 65vh;
    --introfM : 75dvh;

}


#getMenu{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 0;
    right: 0;
    margin: 1vw;
    width: 2vw;
    z-index: 5;
    cursor: pointer;
    height: 2vw;
}



#wrapHead{
    display: block;
    position: sticky;
    top: 0;
}

#header{
    display: block;
    position: relative;
    width: 25%;
    text-transform: uppercase;
    font-family: trouble;
    height: max-content;
    text-align: justify;
    padding: 1vw;
    font-size: var(--fontInter);
    text-align-last: justify;
    padding-bottom: calc(var(--smallMarge) * 2);
}

#coordination{
    display: block;
    text-transform: none;
    position: absolute;
    top: .8vw;
    left: 30vw;
    line-height: 1.1;
    font-size: var(--fontInter);
    width: 50vw;
    text-align: left;
    font-family: adelphe;
    text-align-last: left;
}

#numTitle{
    display: block;
    padding-bottom: var(--smallMarge);
    position: relative;
    min-height: 5vw;

}



#numAnnexe{
    display: inline-block;
    vertical-align: top;
    margin-left: 1vw;
    font-size: var(--fontInter);
    width: 19vw;
}

#numId{
display: block;
text-transform: uppercase;
}

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

#numDate{
    display: block;
    position: absolute;
    bottom: 2.2vw;
    font-size: var(--fontInter);
    left: 1vw;
    font-family: trouble;
}

#numTitle h1{
    display: inline-block;
    font-family: trouble;
    width: 55vw;
    margin: 0 5vw;
    text-transform: uppercase;
    font-size: var(--fontTitle);
    text-align: center;
    vertical-align: top;
}

#lang{
    display: block;
    position: absolute;
    font-family: trouble;
    font-size : var(--fontInter);
    top: 0;
    right: 1vw;
}

#listeArt{
    backdrop-filter: blur(.6rem);
    -webkit-backdrop-filter: blur(.6rem);
}

#listeArt h1{
    display: block;
    font-family: trouble;
    padding-top: 1vw;
    font-size: var(--fontInter);
    width: 98%;
    text-transform: uppercase;
    text-align: right;
}

.listeArticle{
    display: grid;
    position: relative;
    padding: var(--smallMarge);
    padding-bottom: 5vw;
    grid-template-columns: repeat(3, 1fr);
    grid-gap : 5vw;
}

.article:nth-of-type(3n) .txtArt{
    text-align: right;
    margin-left: 20%;
}
.article:nth-of-type(3n + 2) .txtArt{
    text-align: center;
    margin: 0 10%;
}

.article:nth-of-type(3n + 1) .txtArt{
    text-align: left;
    margin-right: 20%;
}

.txtArt{
    display: block;
}



.article{
    font-size: 1.2vw;
    position: relative;
    line-height: 1.2;
}

.article:nth-of-type(3n + 1) img{
    margin: 0 auto var(--smallMarge) 0 !important;
}

.article:nth-of-type(3n) img{
    margin: 0 0 var(--smallMarge) auto !important;
}


.article:hover img{
    border-radius: 0;
}

.listeArticle img{
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    margin: 0 auto;
    transition: .3s;
    display: block;
    height: auto;
    margin-bottom: var(--smallMarge);
    border-radius: 50px;
}

.article h3{
    font-family: trouble;
}


.article h4::before{
    display: block;
    content: " ";
    white-space: pre;
}

.article:hover .traductionArt{
    opacity: 1;
}

.traductionArt{
    display: block;
    position: absolute;
    padding: .5vw 0;
    opacity: 0;
    top: 50%;
    left: 50%;
    text-align: center;
    transition: .1s;
    border-radius: 150px;
    width: 100%;
    text-transform: uppercase;
    transform: translate(-50%, -50%);
    font-family: trouble;
    font-size: var(--fontInter);
    background-color: var(--rdColor);
}

.multilink{

    cursor: pointer;
}

.multilink:hover{
    filter: blur(2px);
}

.multilink:first-of-type::after{
    content : " - "
}


#introduction{
    display: block;
    position: fixed;
    height: 90vh;
    border-radius: 15px 15px 0 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: .2s;
    z-index: 2;
    font-size: var(--textS);
    width: 100%;
    background-color: var(--ndColor);
}

.introOff{
    opacity: 1;
    top: var(--introfD);
    cursor: pointer;
}

.introOn{
    top: 10vh;
    opacity: 1;
}

#authorIntro{
    display: block;
    position: fixed;
    pointer-events: none;
    transition: .3s;
    font-family: trouble;
    max-width: 20%;
    line-height: 1.2;
    font-size: .7em;
    bottom: 1vw;
    color: var(--mainColor);
    left: 1vw;
}

.introOff #authorIntro{
    opacity: 0;
}

.introOn #authorIntro{
    opacity: 1;
}


#openIntro {
    height: 2vw;
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: .2s;
    width: 2vw;
}

#openIntro:hover{
    filter: blur(1px);
}

#openIntro span{
    display: block;
    position: absolute;
    background-color: var(--mainColor);
    width: 100%;
    border-radius: 20px;
    transition: .2s;
    height: 20%;
    transform-origin: center;
    top: 50%;
    left: 50%;
}

.oIoff span:nth-child(1){
    transform: translate(-50%,-50%) rotate(90deg);
}

.oIoff span:nth-child(2){
    transform: translate(-50%,-50%) rotate(0deg);
}

.oIon span:nth-child(1){
    transform: translate(-50%,-50%) rotate(135deg);
}

.oIon span:nth-child(2){
    transform: translate(-50%,-50%) rotate(45deg);
}


#titreIntro{
    display: block;
    color: var(--mainColor);
    position: sticky;
    top: 0;
    left: 0;
    text-align-last: justify;
    width: calc(100% - 2*(var(--smallMarge)));
    padding: 1vw var(--smallMarge);
    font-family: trouble;
}

#titreIntro span{
    vertical-align: middle;
    display: inline-block;
}

#textIntro{
    display: block;
    position: relative;
    margin: 0vw 26vw;
    margin-top: -2.5vw;
    line-height: 1.25;
    margin-bottom: 5vw;
    text-align: justify;
    color: var(--mainColor);
}


#textIntro h1{
    display: block;
    padding: 0;
    text-transform: uppercase;
    text-align: center;
    font-family: trouble;
    font-size: var(--fontInter);
}

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


#textIntro h2{
    display: block;
    padding: calc(var(--smallMarge)/1.5) 0;
    font-family: trouble;

}

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

#textIntro p:first-of-type{
    text-indent: 0;
}

sup{
    line-height: 0;
}

#textIntro h5{
    display: block;
    padding: 0;
    font-family: trouble_adelphe;
    text-align: left;
    font-size: .95em;
    margin-left: calc(var(--smallMarge) * 3);
    margin-right: calc(var(--smallMarge) );
}

#textIntro h5 em{
    font-family: trouble_adelphe;
    font-style: normal;
}

#textIntro h5::after{
    display: block;
    white-space: pre;
    content: " ";
}

#textIntro h6{
    display: block;
    font-size: var(--smallText);
    font-weight: bold;
}


#textIntro h6::after{
    display: block;
    white-space: pre;
    content: " ";
}

#textIntro a{
    text-decoration: 1px solid underline;
}

#textIntro ul{
    text-align: left;
    font-family: trouble_adelphe;
    padding: var(--smallMarge) 0;

}

#textIntro ul em{
    font-family: adelphe;
}

.singleImage{
    margin: 0;
    display: block;
    position: relative;
}

.singleImage img{
    max-width: 100%;
    max-height: 65vh;
    display: block;
    margin: 0 auto;
    position: relative;
    width: auto;
    height: auto;
}

.footnotes{
    display: block;
    margin-top: var(--smallMarge);
    padding: calc(var(--smallMarge) * 1.5);
    background-color: var(--mainColor);
    color: var(--ndColor);
    font-size: calc(var(--textS) * .8);
}

.singleImage::after{
    display: block;
    white-space: pre;
    content: " ";
}

.carrousel{
    display: block;
    left: 0;
    overflow: visible;
    width: 100%;
    position: relative;
}

.carrousel::after{
    display: block;
    white-space: pre;
    content: " ";
}



.footnotes li{
    display: block;
}

.footnotes li p{
    display: contents;
}

.numbFoo{
    padding-right: var(--smallMarge);
}

#auteurFoot{
    padding-top: calc(var(--smallMarge) * 2);
}

/* ------------------------    Bibliographie    --------------------------  */

#bibliographie{
    font-size: calc(var(--textS) * .8);

}

#bibliographie h2{
    cursor: pointer;
    padding-bottom: 0;
}

#bibliographie h2::after{
    display: none;
}

#bibliographie p:first-of-type::before{
    display: block;
    content: " ";
    white-space: pre;
}

#txtBibliographie{
    padding: 0 calc(var(--smallMarge) * 1);
    display: none;
}


#quote{
    display: block;
    position: relative;
    bottom: 0;
}

#quote h4{
    font-weight: bold;
    line-height: 1.3;

}



/*  */

#credits{
 padding-bottom: calc(15vh + 1vw);
}

#logo_soutien{
    background-color: var(--rdColor);
    padding-bottom: calc(15vh + 1vw);
}
#logo_soutien img{
    height: 3vw;
    width: auto;
    display: inline-block;
    margin: 1vw;
}

#printpage{
    display: block;
    font-size: var(--smallText);
    font-family: trouble;
}




@media (orientation:portrait) {

    #lang{
        display: block;
        position: relative;
        font-family: trouble;
        text-align: center;
        font-size : var(--fontInter);
        top: 0;
        padding: 2vw 0;
        right: 1vw;
    }

    #getMenu{
        margin: 2vw;
        width: 5.5vw;
        z-index: 5;
        cursor: pointer;
        height: 5.5vw;
    }

    #header{
        margin: 0 2vw;
        top : 1.5vw;
        width: 87%;
        font-size: 7.5vw;
        padding-bottom: 0;
    }

    #coordination{

        position: relative;
        top: 0;
        padding: 3vw 0;
        left: 0vw;
        line-height: 1.1;
        font-size: 4vw;
        width: 100%;
        text-align: left;
        font-family: adelphe;
        text-align-last: left;
    }





    #numTitle{
        display: block;
        padding-bottom: 0;
        margin: 2vw;
        position: relative;
        min-height: 5vw;
    
    }
    
    #numAnnexe{
        display: inline-block;
        vertical-align: top;
        margin-left: 1vw;
        font-size: var(--fontInter);
        width: 47%;
    }
    
    #numId{
    display: inline-block;
    text-transform: uppercase;
  
    }

    
    #numId::after{
        display: block;
        content: " ";
        white-space: pre;
    }
    
    #numDate{
        display: inline-block;
        position: relative;
        vertical-align: top;
    
        font-size: var(--fontInter);
        left: 0;
        width: 50%;
        text-align: right;
        bottom: 0 !important;
    }

    #numDate br{
        display: none;
    }
    
    #numTitle h1{
        display: block;
        font-family: trouble;
        width: 100%;
        margin: 0;
        text-transform: uppercase;
        font-size: var(--fontTitle);
        text-align: center;
    }



    


    .listeArticle{
        padding: calc(var(--smallMarge) / 2);
        padding-bottom: 5vw;
        grid-template-columns: repeat(1, 1fr);
        grid-gap : 5vw;
    }

    #listeArt h1{
        padding-top: 3vw;
        padding-bottom: 3vw;
        width: 100%;
        text-align: center;
    }

    .article{
        font-size: 3vw;
        line-height: 1.2;
    }
    .article h4::before{
        display: none;
    }

    .article:nth-of-type(3n) .txtArt{
        text-align:center;
        margin-left: 0;
    }
    .article:nth-of-type(3n + 2) .txtArt{
        text-align: center;
        margin: 0 0;
    }
    
    .article:nth-of-type(3n + 1) .txtArt{
        text-align: center;
        margin-right: 0;
    }

    .traductionArt{
        border-radius: 0;
        font-size: calc(var(--fontInter) * 1.3);
        opacity: 1;
    }
    


    /* introdution */

    #openIntro {
        height: 5.5vw;
        width: 5.5vw;
    }

    #introduction{
        height: 92dvh;
    }

    .introOff{
        top: var(--introfM);
    }
    
    .introOn{
        top: 8dvh;
        opacity: 1;
    }

    #titreIntro{
        padding-top: 2vw;
        z-index: 2;
        background-color: var(--ndColor);
    }

    #titreIntro span:first-of-type{
        padding-top: .2vw;

    }

    #textIntro{
  
        margin: 2vw 5vw;
        margin-top: 2vw;
        line-height: 1.2;
        margin-bottom: 5vw;
    }

    #logo_soutien img{
        height: auto;
        width: 30vw;
        display: inline-block;
        margin: 5vw;
    }
    

    
}