html {
  margin:0;
  padding:0
}

body {
  max-width: 1000px;
  margin: auto;
}

h1, h2, h3, h4 {
    font-family: 'Exo 2', sans-serif;
}

h1 {
    font-size: 4rem;
    margin-bottom: 60px;
    margin-top: 140px;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
}

#index {
  margin-left: 45px;
  margin-right: 45px;
  display: flex;
  text-align: center;
  flex-direction: column;
}

#index .menu-link {
  padding: 10px;
  text-decoration: none;
}

#loader{
  width: 100%;
  height: 100%;
  transition: opacity 1s;
  opacity: 1;
  background-color: white;
}

#mainContainerContainer{
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#mainContainer{
  width: 100%;
  height: 100%;
  overflow: auto;
  padding-right: 15px;
  font-family: 'Gentium Basic', serif;
  font-stretch: expanded;
  text-align: justify;
}

html, body{
  height: 100%;
  overflow:hidden;
}
p {
  font-size: 1.4em;
}

h2 {
  margin: 400px 0;
  text-align: center;
}
h2 span {
    margin-left: 4rem;
    font-size: 2.3rem;
}

.hr {
    width: 100%;
    padding: 160px 0;
}

.hr-line {
    margin: auto;
    width: 60%;
    height: 1px;
    background-color: #000;
}

.bigBreak{
  display: block;
  margin-bottom: 14px;
}

.break{
  display: block;
}

#bookContainer{
  margin: 45px;
  font-size: 14px;
}

#pageNumbers{
  float: right;
  font-size: 8px;
  text-align: right;
}

.subtitle {
  margin-bottom: 50px;
}

.subtitle, .end{
  text-align: center;
  color: grey;
}
.end{
    margin-top: 60px;
    text-align: center;
    margin-bottom: 60px;
}

.hidden{
  display: none;
}

.chapterTitle{
  text-align: center;
  margin-top: 69px;
  margin-bottom: 46px;
}

.full-width-image {
    width: 100%;
    max-width: 1000px;
    margin: 100px auto;
}

.couvertureImageContainer {
    text-align: center;
    background-color: #020205;
    border-radius: 100%;
    width: 12cm;
    margin: 2cm auto auto;
    display: flex;
    aspect-ratio: 1 / 1;
    max-width: 100%;
}

.couvertureImageContainer img {
    margin: auto;
}

.tome_number {
    text-align: center;
    font-size: 1.5rem;
}

/*page numbers ---------------------------------*/

#pageNumbers{
  font-size: 14px;
  color: grey;
  margin-right: 5px;
}

.chapter_page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 800px;
}

.chapter {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.chapter_number {
    padding-right: 20px;
    font-size: 2rem;
}




h2 {
    font-size: 5rem;
    margin: 0;
}
#index {
    display: none;
}

#annexe {
    display: none;
}

#annexe_content {
    display: none;
}

.song_label {
    display: none;
}



@media print {
    html, body {
        overflow: initial;
    }

    body {
        -webkit-print-color-adjust: exact;
    }

    p {
        font-size: 12px;
    }

    h1 {
        font-size: 2cm;
        padding: 1cm 0 0cm 0;
        margin: 0;
    }

    .whitePage {
        padding: 8cm 0;
    }

    .chapter {
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
        flex-direction: column;
    }

    .chapter_page {
        display: inline-block;
        width: 100%;
        padding: 9cm 0;
        page-break-inside: avoid;
    }

    .chapter .chapter_number {
        font-size: 0.5cm;
        margin: 0;
    }

    h2 {
        font-size: 1cm;
        margin: 38px 0 0 10px;
    }


    #mainContainerContainer {
        overflow: initial;
    }


    #mainContainer {
        font-family: "Libre Baskerville", serif !important;
        overflow: initial;
    }

    .hr {
        padding: 20px 0;
    }

    .full-width-image {
        margin: 0;
        padding: 20px 0;
    }

    #pageNumbers {
        display: none;
    }

    .couvertureImageContainer {
        padding: 1px;
    }
}

#tome_2_content {
    display: none;
}
#tome_3_content {
    display: none;
}

.couvertureImageContainer img {
    height: 3.7cm;
}

