 #processbook-container {
display: none; /* Initially hide the flipbook container */
      position: absolute;
		top:0;
		left:0;
      width: 100%;
	 
      height: 1000px;
    background: linear-gradient(to bottom, rgba(106, 220, 176, 0.9) 0px, #47528e 100%);
		padding-top: 150px;
		transition: opacity 0.5s ease-in-out; /* Add transition for opacity */
  opacity: 0; /* Initially set opacity to 0 */ 
	 z-index: 99;
	 
    }
	  
	  #processbook-container.show { /* Style for when the container is shown */
  opacity: 1; 
}
  .cursor-canvas { /* Separate class for the cursor canvas */
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
      pointer-events: none;
      cursor: none; 
    }
    .flipbook {
      display: block; /* Change to block */
  margin: auto; /* Center both vertically and horizontally */
  width: 100%;
  max-width: 800px; 
  perspective: 2500px;
    }

    .flipbook .pages {
      width: 100%;
      height: auto;
      position: relative;
      transform-style: preserve-3d;
      backface-visibility: hidden;
      border-radius: 4px;
    }

    .flipbook .page {
      width: 50%;
      height: auto;
      position: absolute;
      top: 0;
      transform-origin: 0 0;
      transition: transform 1s;
      backface-visibility: hidden;
      transform-style: preserve-3d;
      cursor: pointer;
      user-select: none;
      background-color: #f0f0f0;
      overflow: hidden;
		transform: translateZ(0);
    }

    .flipbook .page img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .flipbook .page:before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0);
      transition: background 0.7s;
      z-index: 2;
    }

    .flipbook .page:nth-child(odd) {
      pointer-events: all;
      transform: rotateY(0deg);
      right: 0;
      border-radius: 0 4px 4px 0;
      background-image: linear-gradient(to right, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, 0) 10%);
    }

    .flipbook .page:nth-child(odd):hover {
      transform: rotateY(-15deg) !important;
    }

    .flipbook .page:nth-child(odd):hover:before {
      background: rgba(0, 0, 0, 0.03);
    }

    .flipbook .page:nth-child(odd):before {
      background: rgba(0, 0, 0, 0);
    }

    .flipbook .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;
      background-image: linear-gradient(to left, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, 0) 10%);
    }

    .flipbook .page:nth-child(even):before {
      background: rgba(0, 0, 0, 0.2);
    }

    .flipbook .page.grabbing {
      transition: none;
    }

    .flipbook .page.flipped:nth-child(odd) {
      pointer-events: none;
      transform: rotateY(-180deg);
    }

    .flipbook .page.flipped:nth-child(odd):before {
      background: rgba(0, 0, 0, 0.2);
    }

    .flipbook .page.flipped:nth-child(even) {
      pointer-events: all;
      transform: rotateY(0deg);
    }

    .flipbook .page.flipped:nth-child(even):hover {
      transform: rotateY(15deg);
    }

    .flipbook .page.flipped:nth-child(even):hover:before {
      background: rgba(0, 0, 0, 0.03);
    }

    .flipbook .page.flipped:nth-child(even):before {
      background: rgba(0, 0, 0, 0);
    }

    *,
    *:before,
    *:after {
      box-sizing: border-box;
    }
.page-number-container { 
      position: fixed; /* Position fixed to stay below the book */
      bottom: 20px; /* Adjust distance from bottom as needed */
      left: 50%;
      transform: translateX(-50%);
      width: 200px; /* Adjust width as needed */
      border: 1px solid #ccc;
      text-align: center;
      padding: 5px; 
      z-index: 100; /* Ensure it's above other content */
    }

.page-number { 
      position: absolute;
      bottom: 10px; /* Adjust position as needed */
      left: 50%;
      transform: translateX(-50%); 
      z-index: 10; /* Ensure it's above page content */
      font-family: sans-serif;
      color: #333;
    }

    .close-button {
      position: fixed;
      top: 10px;
      right: 10px;
      border: none;
      width: 60px;
      height: 60px;
      cursor: pointer;
      z-index: 100;
      transition: box-shadow 0.3s ease, background-color 0.3s ease;
background-color: transparent;

    }

    .close-button img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .close-button:hover {
	 background-color: white;
      box-shadow: 0 0 0 10px #fff;
    }
