/*Nav Styling*/

ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-menu {
  position: fixed;
  right: 20px;
  top: 0;
  bottom: 0;
  width: 22px;
  height: 100%;
  display: table;
  z-index: 9999;
}

.side-menu nav {
  display: table-cell;
  vertical-align: middle;
}

.side-menu li {
  padding: 10px 0;
  font-size: 16px;
  line-height: 20px;
}

.side-menu a {
  display: block;
  position: relative;
  /*color: white;*/
  text-decoration: none;
  white-space: nowrap;
  text-align: right;
}

.side-menu a:after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--oldred);
  -webkit-transition: 0.2s;
          transition: 0.2s;
}

.side-menu span {
  color: var(--invertedtext);
  background-color: var(--btitlebg);
  backdrop-filter: blur(10px);
  font-size: 26px;
  padding: 6px;
  border-radius: 10px;
  display: block;
  position: absolute;
  right: 32px;
  top: -5px;
  -webkit-transition: 0.2s;
          transition: 0.2s;
  visibility: hidden;
  opacity: 0;
  -webkit-transform: translate3d(30px, 0, 0);
      -ms-transform: translate3d(30px, 0, 0);
       -o-transform: translate3d(30px, 0, 0);
          transform: translate3d(30px, 0, 0);
}

.side-menu .active a:after {
  background: var(--oldred);
}

.side-menu .active span {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
      -ms-transform: translate3d(0, 0, 0);
       -o-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

/*style for books pages */
.books {
  display: flex;
  flex-flow: column;
  padding: 10px;
  margin-right: 40px;
}
.books p {
  margin: 10px 0px 10px 0px;
  text-indent: 2em;
  font-size: 18px;
  font-family: 'Poppins';
  color: light-dark(black, white);
}
.books h1 {
  font-size: 32px;
  font-family: 'Poppins';
  color: light-dark(black, white);
}
.books h2 {
  font-size: 24px;
  font-family: 'Poppins';
  color: light-dark(black, white);
}
.books h3 {
  font-size: 24px;
  font-family: 'Poppins';
  color: light-dark(black, white);
}
.books em {
  font-family: 'Poppins';
  color: light-dark(black, white);
}
.books span {
  font-family : 'Poppins';
}
.books .date {
  font-family: 'Poppins';
  color: #ff8157;
}
.books .altar {
  font-family: 'Poppins';
  color: #87b072;
}
.altar-div {
  width: 90%;
  border-top: 2px solid;
  border-bottom: 2px solid;
  color: #87b072;
  align-self: center;
}
.books .Drawpenft {
  font-family: 'Drawpen';
  font-size: 48px;
}
.books .chapitres {
  margin-top: 50px;
  text-align: center;
}
.books .partie {
  padding: 20px;
  color: #4f70b9;
  text-align: center;
}
.books strong {
  font-family: 'Poppins';
}
.books blockquote {
  font-style: italic;
  border-top: 2px solid;
  border-bottom: 2px solid;
  color: #6f778e;
}
blockquote p {
  color: #6f778e;
}
@media screen and (max-width: 780px){
  .books p{
    font-size: 16px;
  }
  .side-menu {
    right: 6px;
  }
  .books {
  margin-right: 30px;
  }
}
@font-face {
  font-family: 'Drawpen';
  src: url('/media/fonts/Drawpen.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}
