@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: "Poppins", sans-serif;
}

body {
    display: grid;
    place-content: center;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    
    background: url('images/wood-pattern.jpg') no-repeat center center fixed;
    background-size: cover;
}

.flipbook {
    width: 1144px;
    height: 850px;
    margin: 0;
    padding: 0;
    border: none;
    margin-top: 50px;
}

.flipbook .hard {
    background: #c0392b !important;
    color: #fff;
    font-weight: bold;
    border: none; 
}

.flipbook .hard small{
	font-style: italic;
	font-weight: lighter;
	opacity: 0.7;
	font-size: 14px;
}

.flipbook .page {
    background: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.11);
}

.page img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flipbook .page small{
	font-size: 14px;
    margin-bottom: 10px;
}

.controls {
  margin-top: 20px;
  text-align: center;
}

.controls button {
  padding: 10px 20px;
  background-color: #2ca7bd;
  color: white;
  border: none;
  border-radius: 4px;
  margin: 0 10px;
  cursor: pointer;
  font-size: 14px;
}

#page-number {
  font-size: 16px;
  font-weight: bold;
}

/* 
.topbar {
  background: #111;
  color: white;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: sans-serif;
  font-size: 14px;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.topbar button {
  background: #333;
  color: white;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 4px;
}

.topbar input {
  padding: 4px;
  text-align: center;
  border-radius: 4px;
  border: 1px solid #555;
  background: #eee;
  color: black;
}
 */

 .navbar {
  background: #111;
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: sans-serif;
  font-size: 14px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 50px;
}

.navbar button {
  background: #333;
  color: white;
  border: none;
  padding: 6px 12px;
  margin: 0 4px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.navbar button:hover {
  background: #444;
}

.navbar input[type="number"] {
  width: 60px;
  padding: 5px;
  text-align: center;
  border-radius: 4px;
  border: 1px solid #666;
  background: #eee;
  color: black;
  margin-right: 6px;
}

.nav-left, .nav-center, .nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
