html, body {
  overflow: hidden;
}

body {
  touch-action: none;
}

#pdf-container {
  width: 100%;
  height: 100%;
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}




#flipbook {
  width: 440px;
  height: 550px;
}



.page {
  width: 440px; 
  height: 550px;
  overflow: hidden;
}

canvas {
  width: 100%;
  height: 100%;
}

/* efecto más “premium” */
#flipbook .turn-page {
  background-color: #fff;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  width: 50px;
  height: 50px;

  background: rgba(0,0,0,0.5);
  color: white;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 28px;
  cursor: pointer;

  border-radius: 50%;
  z-index: 1000;

  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: 400px;
}

.next {
  right: 400px;
}