@font-face {
  font-family: herbik;
  src:url(fontes/Herbik-Regular.ttf) ;
}

@font-face {
  font-family: herbik;
  src:url(fontes/Herbik-RegularItalic.otf) ;
  font-style: italic;
}

@font-face {
  font-family: telas;
  src:url(fontes/Telas-Medium.otf) ;
}

sup{
  font-size: 17px;
  margin-bottom: 17px;
  line-height: 0;
  position: relative;
  margin-right: 3px;
  display: inline-block;
  pointer-events: none;
}

sup a{
  position: absolute;
  top: 0;
  
  display: inline-block;
  line-height: 0;
}

a{
  color: unset;
  text-decoration: none;
}

:root{
  --sizeEmb: 80vh;
  --fs : 30px; 
}

em{
  font-style: italic;
}

::-webkit-scrollbar {
 opacity: 0;
 display: none;
}


body{
  font-family: herbik;
  line-height: 1.2;
  margin: 0;
  background-color: rgb(241, 241, 241);
   scrollbar-color: rgba(0, 0 , 0, 0) rgba(0, 0 , 0, 0);
  user-select: none;
  /*color: whitesmoke;
  background-color: rgb(54, 53, 53);*/
}

.block{
  display: block;
}

.none{
  display: none;
}

.over{
  overflow: hidden;
}
.grid{
  display: grid;
}

.cc .fra{
  display: none;
}

.fr .cla{
  display: none;
}

#content{
  position: relative;
  cursor:grab ;
  color: black;
  top: 5vh;
}


.embla__viewport {
  overflow: hidden;
}

.embla__container {
  margin: 10px;
  display: flex;
  touch-action: pan-y pinch-zoom;
}

.embla__slide {
  flex: 0 0 1000px;
  min-width: 0;
  max-height: var(--sizeEmb);
  overflow-y: scroll;
  margin-right: 50px;
}

.embla__slide:nth-child(1) {
  flex: 0 0 1000px;
    margin-right: 100vw;
    font-size: var(--fs);

    margin-left: 24.5vw;
     cursor:url("../img/arr.svg") 4 5, auto ;
}



h1{
  display: block;
  font-size: var(--fs);
  top: 0;
  color: black;
  transition: .2s;
  opacity: 0;
  box-sizing: border-box;
  z-index: 10;
  padding: 10px;
  font-family: herbik;
  position: fixed;
}

#about{
  display: block;
  color: black;
  position: fixed;
  top: 0;
  right: 0;
  cursor: pointer;
  z-index: 10;
  margin: 10px;
  font-size: var(--fs);
}

.open::before{
  content: "À propos";
}
.close::before{
  content: "Fermer";
}



#content p,
#content table,
#content ul,
#content ol,
#content blockquote{
  line-height: 1.3;
  font-size: var(--fs);
  padding-bottom: calc(2 * var(--fs));
}

ul, ol{
  list-style-position: outside;
  margin-left: var(--fs);
}

ul li, ol li{
  margin-top: 10px;
}

ul li:first-of-type, ol li:first-of-type{
  margin-top: 0px;
}

blockquote{
  font-style: italic;
  margin: 0 50px;
}



thead{
  text-align: left;
}
tbody{
  padding-top: 10px;
}

tr:first-of-type td{
  padding-top: var(--fs);
}

tr td{
  padding-top: 10px;
}


#toc{
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  top: 0;
  margin: 10px;
  color: rgb(120, 118, 78);
  left: 0;
  margin-left: 25vw;
  width: 60vw;
  font-style: italic;
  font-size: 17px;
  line-height: var(--fs);

}


#toc a{
  transition: .2s;
}

#toc a:first-of-type, #toc a:last-of-type{
  display: none;
}

#toc a:hover{
  cursor: pointer;
  color:  rgb(101, 0, 0);
  opacity: 1;
}

hr{
  display: none;
}


#print, #classique{
  display: block;
  position: fixed;
  top: 160px;
  right: 0;
  margin: 10px;
  color: rgb(163, 167, 139);
  line-height: 1;
  cursor: pointer;
  transform-origin: center;
  font-size: var(--fs);
}

#ddd{
  display: block;
  position: fixed;
  z-index: 5;
  bottom: 0;
  padding: 10px;
box-sizing: border-box;
  left: 0;
  height: auto;
}

#ddd img{
   width: auto;
   margin:  0 auto;
  height: var(--fs);
  display: block;
}

#classique{
  left: 0;
}

#print:hover{
  transform: scaleY(-1);
}

#shade{
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  /*background:linear-gradient(to left, transparent, transparent, rgba(255, 78, 78, 0.512) , transparent, transparent);
*/
}

.out{
  opacity: .3;
}
.view{
  opacity: 1;
}


#contentClassique{
  font-size: var(--fs);
  margin: 0 auto;
  margin-top: 160px;
  line-height: 1.3;
  max-width: 1000px;
}

#contentClassique p::after, table::after, ol::after, ul::after{
display: block;
white-space: pre;
content: " ";
}

#backpropos{
  display: block;
  position: fixed;
  z-index: 9;
  opacity: 1;
  transition: .2s;
  width: 100vw;
  top: 0;
  left: 0;
  height: 100vh;
}

#propos{
  display: flex;
  position: fixed;
  transition: .2s;
  top: 50%;
  font-size: var(--fs);
  left: 50%;
  transform: translate(-50%, -50%);
}

.opa{
  opacity: 0;
  pointer-events: none;
}

.opa #propos{
  opacity: 0;
  pointer-events: none;
  filter: blur(10px);
}

.disp{
  opacity: 1;
  pointer-events: all;
  backdrop-filter: blur(10px);
}

.disp #propos{
  opacity: 1;
  pointer-events: all;
  filter: blur(0px);
}

#propos div{
  display: inline-block;
  vertical-align: top;
  padding: var(--fs);
  background-color: rgb(163, 167, 139);
  color: white;
  line-height: 1.25;
  height: 80vh;
  box-sizing: border-box;
  width: 30vw;
  margin: 0 20px;
}


.np{
  display: block;
  cursor: pointer;
  position: fixed;
  bottom: 0;
  height: var(--sizeEmb);
  opacity: 0;
     cursor:url("../img/arl.svg") 4 5, auto;
      transition: .2s;

  width: calc((100vw - 1000px) / 2);
}

.np:hover{
  filter: blur(10px);
}

#next{
  right: 0;
  cursor:url("../img/arr.svg") 4 5, auto ;

}


#introduction{
  display: block;
  position: fixed;
  z-index: 15;
  font-size: 150px;
  top: 50%;
  pointer-events: none;
  flex-wrap: wrap;
  left: 50%;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: translate(-50%, -50%);
  width: 110vw;
  height: 110vh;
}

#introduction span{
  display: inline-block;
  vertical-align: center;
  transform-origin: center;
  color: rgb(163, 167, 139);
  padding: 10px;
  transition: .5s transform;
}


.pageClose{
  transform: scaleX(0);

}

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

.footnote-backref{
  display: none;
}

@media (max-width:1000px) , (orientation: portrait){

  sup{
  font-size: 10px;
  margin-right: 3px;
}

sup a{
  top: 8px;
}


  :root{
  --sizeEmb: 80vh;
  --fs : 15px; 
}
  .embla__slide {
  flex: 0 0 90vw;
  min-width: 0;
  max-height: var(--sizeEmb);
  overflow-y: scroll;
  margin-right: 50px;
}

.embla__slide:nth-child(1) {
    margin-left: 0;
    flex: 0 0 60vw;
    margin-right: 0;
}



.np{
  display: none
}

#toc{
  position: relative;
  margin: 10px;
  margin-top: 60px;
  line-height: 1.2;
  left: 0;
  width: 90vw;
  font-size: var(--fs);

}

#classique{
  top: 178px;
  right: 0;
  margin: 10px;
  color: rgb(163, 167, 139);
  line-height: 1;
  cursor: pointer;
  transform-origin: center;
  font-size: var(--fs);
}

blockquote{
  font-style: italic;
  margin: 0 5vw;
}

#contentClassique{
  margin: 0 5vw;
  margin-top: 203px;
  max-width: 90vw;
}

.fr{
  display: block;
  position: relative !important;
}

#propos{
  flex-direction: column;
}

#propos div{
  width: 90vw;
  height: fit-content;
  margin: 10px;
}

#print{
  display: none;
}


#content p,
#content table,
#content ul,
#content ol,
#content blockquote{
  padding-bottom: 10dvh;
}

}