body {
  background-color: #f1f1f1;
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  height: auto;
}

.flipbook-viewport {
  width: 100%;
  height: 100%;
  margin-top: 10px;
}

.flipbook-viewport .container {
  margin: auto;
  margin-bottom: 80px;
}

.flipbook-viewport .flipbook {
  margin: 0 auto !important;
}

.flipbook-viewport .page {
  background-color: white;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.flipbook .page {
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.flipbook-viewport .page img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0;
}

.flipbook-viewport .shadow {
  -webkit-transition: -webkit-box-shadow 0.5s;
  -moz-transition: -moz-box-shadow 0.5s;
  -o-transition: -webkit-box-shadow 0.5s;
  -ms-transition: -ms-box-shadow 0.5s;

  -webkit-box-shadow: 0 0 20px #ccc;
  -moz-box-shadow: 0 0 20px #ccc;
  -o-box-shadow: 0 0 20px #ccc;
  -ms-box-shadow: 0 0 20px #ccc;
  box-shadow: 0 0 20px #ccc;
}

.turn-page {
  position: relative;
  z-index: 10;
  cursor: pointer;
  border: 1px solid #000;
  background-color: #fff;
  padding: 8px;
  border-radius: 50%;
  color: #000;
  transition: border 0.3s, background-color 0.3s, color 0.3s;
}

.turn-page:not(.inactive):hover {
  background-color: #000;
  color: #fff;
}

.turn-page.inactive {
  cursor: default;
  opacity: 0.5;
}

.previous-button {
  margin-right: 20px;
}

.next-button {
  margin-left: 20px;
}

.flipbook-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px;
  margin-top: 12px;
  z-index: 1000;
}

.zoom {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 15px;
  cursor: pointer;
  border: 1px solid #000;
  background-color: #fff;
  border-radius: 50%;
  color: #000;
  transition: border 0.3s, background-color 0.3s, color 0.3s;
}

.zoom:not(.inactive):hover {
  background-color: #000;
  color: #fff;
}

.zoom.inactive {
  cursor: default;
  opacity: 0.5;
}

.zoom i {
  margin-left: 1px;
}
