/* Shared layout overrides for MUDA digital book viewers */

html,
body {
  height: 100%;
  overscroll-behavior: none;
  overflow: hidden;
}

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

.topnav {
  text-align: center;
}

.flex-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Center the book element inside the (full-width) container */
.book-container {
  display: flex;
  justify-content: center;
}

#book {
  margin-left: auto;
  margin-right: auto;
}

/* Override PageFlip wrapper sizing: we control #book width/height directly */
#book .stf__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 0 !important;
}
