.book {
    transition: opacity 0.4s 0.2s;
  }
  .page:nth-child(even) {
    clear: both;
  }
  .book {
    perspective: 250vw;
  }
  .book .pages {
    position: relative;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    border-radius: 4px;
    height: 85vh;
    width: calc(85vh / 1.4142* 2);
  }
  .book .page {
    float: none;
    clear: none;
    margin: 0;
    position: absolute;
    top: 0;
    height: 85vh;
    width: calc(85vh / 1.4142);
    transform-origin: 0 0;
    transition: transform 0.4s ease-in-out;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    cursor: pointer;
    user-select: none;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    background-color: white;
    background-position: center;
    background-size: cover;
    pointer-events: none;
  }
  .book .page:nth-child(odd) {
    pointer-events: all;
    transform: rotateY(0deg);
    right: 0;
    border-radius: 0 4px 4px 0;
  }
  .book .page:nth-child(odd):before {
    background: rgba(0, 0, 0, 0);
  }
  .book .page:nth-child(even) {
    pointer-events: none;
    transform: rotateY(180deg);
    transform-origin: 100% 0;
    left: 0;
    border-radius: 4px 0 0 4px;
    border-color: black;
  }
  .book .page:nth-child(even):before {
    background: rgba(0, 0, 0, 0.2);
  }
  .book .page.grabbing {
    transition: none;
  }
  .book .page.flipped:nth-child(odd) {
    /* transition: transform 1s ease-in-out; */
    pointer-events: none;
    transform: rotateY(-180deg);
  }
  .book .page.flipped:nth-child(odd):before {
    background: rgba(0, 0, 0, 0.2);
  }
  .book .page.flipped:nth-child(even) {
    /* transition: transform 1s ease-in-out; */
    pointer-events: all;
    transform: rotateY(0deg);
  }
  .book .page.flipped:nth-child(even):before {
    background: rgba(0, 0, 0, 0);
  }
  *,
  * :before,
  *:after {
    box-sizing: border-box;
  }
   body {
    background-color: #fff;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    margin: 0px;
   }
   .page img {
    width: 100%;
    height: 100%;
    user-select: none;
    -webkit-user-drag: none;
   }
   .action-link{
    background-color: transparent !important;
   }
   .action-link:hover {
    background-color: rgba(0,0,0,0.1) !important;
    .link-icon{
      display: block !important;
    }
   }

   .pagination-mobile {
    display: none;
   }
   .btn-pagination{
    border-radius: 50%;
   }
   .btn-pagination:hover{
    background-color: ghostwhite;
   }
   .navbar{
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    padding: 1rem;
   }


   .m-0{
    margin: 0px;
   }
   .d-flex {
    display: flex;
   }
   .justify-content-center {
    justify-content: center;
   }
   .justify-content-evenly{
    justify-content: space-evenly;
   }
   .align-items-center {
    align-items: center;
   }
   .mb-d {
    margin-bottom: 2rem;
   }
   .bg-white {
    background-color: #F4F4FB;
   }
   .border-none {
    border: none;
   }
   .cursor-pointer{
    cursor: pointer;
   }
   .d-none {
    display: none;
   }
   .overflow-hidden{
    overflow: hidden;
   }   

   @media only screen and (max-width: 600px) {
    .open, .pages {
      width: auto !important;
    }
    .book .pages{
        display: flex;
        flex-direction: column;
        width: 100%;
        /* height: 90vh; */
        height: auto;
        margin-bottom: 2rem;
    }
    .book .page{
        pointer-events: all !important;
        position: relative;
        left: unset;
        right: unset;
        transform: unset !important;
        height: auto;
    }
    .navbar{
        margin-bottom: 1rem;
    }
    .book, .book .page {
        width: 100%;
    }
    .pagination-mobile {
        display: flex;
        position: fixed;
        bottom: 0px;
        width: 100%;
        padding-bottom: 2em;
    }
  }

  .link-icon{
    display: none;
  }
  .pages {
    transition: width 0.4s ease-in-out;
  }
  .open {
    width: calc(85vh / 1.4142 * 2) !important;
  }