html{
    scroll-behavior: smooth;
}


body{
    margin: 0 auto;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.revue{
    display: block;
    font-family: trouble;
    font-size: 50pt;
    margin-bottom: 1cm;
  
}
.revue span{
    display: block;
    text-align-last: justify;
    
}

.numero{
    display: block;
    font-family: adelphe;
    font-size: 30pt;
    line-height: .85;
    text-transform: uppercase;
    margin-bottom: 1cm;
}

.numero sup{
    vertical-align: middle;
    font-size: .9em;
}

#illArticle{
    margin-bottom: 1cm;
    border-radius: 50px;
    max-height: 8cm;
}

#illArticle img{
       height: 100%;
    width: auto;
}

.tr{
    font-family: trouble;
    font-size: .9em;
}

.title{
    display: block;
    font-family: trouble;
    font-size: 28pt;
    margin-bottom: .2cm;
    text-transform: uppercase;
}

.subtitle{
    display: block;
    font-size: 15pt;
}

.subtitle::after{
    display: block;
    content: " ";
    white-space: pre;
}
.author{
    display: block;
    margin-bottom: 1cm;
    font-family: trouble;
}

@page:first{
    margin: 1cm;
    margin-right: 1cm;
    background-color: var(--mainColor);
    text-align: center;
    color: var(--ndColor);

    @bottom-left-corner{
        content :none;
    }

}

@page{
    size : A4;
    background-color: white;
    margin-left: 4.5cm;
    margin-right: 2cm;
}

@page{ 
    @bottom-left-corner{
        content: counter(page);
        text-align: center;
        font-family: trouble;
    }
}

#quote{
    display: block;
    position: absolute;
    text-align: left;
    width: 50%;
    font-size: .7em;
    bottom: 0;
}


h1{
    break-before: always;
    text-transform: uppercase;
    font-size: 1.5em;
    font-family: trouble;
}

h5{
    font-family: trouble_adelphe;
}

h5 em{
    font-style: normal;
}

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

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

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


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

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

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

h6{
    font-size: .7em;
    font-weight: bold;
}

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

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


#mainContent img{
    max-width: 70%;
    max-height: 70%;
    vertical-align: top;
    height: auto;
    width: auto;
    display: inline-block;
}

.descImage{
    display: inline-block;
    width: 30%;
    padding: 0 0 0  5%;
    font-size: .7em;
    vertical-align: top;
}

#firstPage{
    break-after: always;
}


/* FOOTNOTES */

h2{
    text-transform: uppercase;
    font-family: trouble;
}

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

sup{
    line-height: 0;
    text-decoration: none;
    font-size: .6em;
}
 
.footnotes{
    break-before: always;
}

.footnote-backref{
    display: none;
}

.footnotes li p{
    display: inline-block;
    width: 89%;
    vertical-align: top;

}

.footnotes li .numbFoo{
    display: inline-block;
    width: 10%;
    vertical-align: top;

}

#bibliographie{
    break-before: always;
}



.printButton{
    display: block;
    bottom: 0;
    z-index: 1000;
    top: 0;
    cursor: pointer;
    height: min-content;
    border-radius: 150px;
    font-family: trouble;
    transition: .2s;
    text-transform: uppercase;
    background-color: black;
    border: 1px solid black;
    color: white;
    padding: calc(var(--smallMarge) / 2);
    margin: var(--smallMarge);
}

.printButton:hover{
    filter : invert(1);
    border: 1px solid white;
}