@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;
}

.filp {
  display: grid;
  place-content: center;
  margin-top: 40x;

  /* height: 100vh; */
  /* width: 100vw; */
  /* overflow-x: auto; */
  /* overflow-y: hidden; */
  background: #ffffff;
}

.flipbook-container {
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center center;
  transition: transform 0.2s ease;
  position: relative;
}

.flipbook {
  width: 60%;
  height: 850px;
  transition: transform 0.3s ease-in-out;
}

.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;
}

.flipbook .page img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.flipbook .page small {
  font-size: 14px;
  margin-bottom: 10px;
}

.flipbook > div {
  width: 100%;
  height: 100%;
}

.flipbook > div img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.flipbook .cover-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: #f1f1f1;
}

/* Zoom Buttons */
.zoom-buttons {
  position: relative;
  /* bottom: 20px;
    left: 50%; */
  /* transform: translateX(-50%); */
  z-index: 9999;
  text-align: center;
}

.zoom-buttons button {
  padding: 10px 20px;
  margin: 0 10px;
  font-size: 16px;
  font-weight: 600;
  background-color:  #A82923;

  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 30px;
  /* transition: transform 0.2s, background-color 0.3s; */
}

.zoom-buttons button:hover {

  transform: scale(1.05);
}

/* Turn Buttons */
.turn-buttons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background:  #A82923;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.turn-buttons i {
  font-size: 20px;
  line-height: 2.4;
}

.turn-buttons:hover {
 
 
  transform: translateY(-50%) scale(1.1);
}

.turn-buttons.left {
  left: -60px;
  
}

.turn-buttons.right {
  right: -60px;
}

.flip {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

/* Small devices (phones, less than 600px) */
@media (max-width: 600px) {
  #flipbook-wrapper {
    transform: scale(0.6);
  }
}

/* Medium devices (tablets, 600px to 900px) */
@media (min-width: 601px) and (max-width: 900px) {
  #flipbook-wrapper {
    transform: scale(0.8);
  }
}

/* Large devices (desktops, 901px to 1200px) */
@media (min-width: 901px) and (max-width: 1200px) {
  #flipbook-wrapper {
    transform: scale(0.9);
  }
}

/* Extra Large devices (big desktops, 1201px and more) */
@media (min-width: 1201px) {
  #flipbook-wrapper {
    transform: scale(1);
  }
}


@media (min-width:320px) and (max-width:480px){
  .flipbook-container{
    /* width: 50%; */
  }

.flipbook{

}

.flip_book_main_div{
 overflow-x: auto;
}
}