* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(to bottom, #ff7e5f, #feb47b);
  text-align: center;
  /* color: white; */
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow-x: hidden !important;
}
h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
}
p,a, span,h4,h5,h6{
  font-family: 'Public Sans', sans-serif;
}
.main-detail {
  font-size: 30px; 
  display: flex
  ;
      align-items: center;
}
i,.main-detail{
  color: white !important;
}
.detail{
  display: none;
}
.maincontainer {
  position: relative;
  display: inline-block;
  margin-top: 50px;
}

h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

.nav-btn {
  display: flex;
      gap: 16px;
      align-items: center;
  /* transform: translateY(-50%); */
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
}
.nav-btn span{
  font-size: 24px;
}




.download-btn {
  margin-top: 20px;
  background: #3498db;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.download-btn:hover {
  background: #2980b9;
}
.pagination{
  display: flex
  ;
      justify-content: space-between;
      align-content: center;
      align-items: center;
      color: white;
}


/* Book */
.book {
  position: relative;
  width: 100%;
  height: 400px;
  transition: transform 0.5s;
}
.downlode-bt{
  text-align: left;
    display: flex;
    justify-content: space-around;
    padding-bottom: 80px;
}
.paper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  perspective: 1500px;

}

.front,
.back {
  background-color: #ff8c6600;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform-origin: left;
  transition: transform 0.5s;
}

.front {
  z-index: 1;
  backface-visibility: hidden;
  /* border-left: 3px solid powderblue; */
}

.back {
  z-index: 0;
}
.front-content img,
.back-content img {
  width: 100%;
}
.front-content,
.back-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.back-content {
  transform: rotateY(180deg)
}

/* Paper flip effect */
.flipped .front,
.flipped .back {
  transform: rotateY(-180deg);
}

/* Controller Buttons */
button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  margin: 10px;
  transition: transform 0.5s;
}

button:focus {
  outline: none;
}

button:hover i {
  color: #636363;
}

i {
  font-size: 50px;
  color: gray;
}

/* Paper stack order */
#p1 {
  z-index: 3;
}

#p2 {
  z-index: 2;
}

#p3 {
  z-index: 1;
}
.popup-form {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.form-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 445px;
  text-align: center;
  position: relative;
}

.form-content input {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-content .submit-btn {
  width: 40%;
  padding: 10px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.form-content .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-menu, .nav-icons{
    display: block !important;
  }
  i{
    font-size: 35px;
  }
  .downlode-bt {
    text-align: left;
    display: flex;
    justify-content: space-around;
    flex-direction: column-reverse !important;
    padding-bottom: 40px;
  }
  .book {
    position: relative;
    width: 50%;
    height: 255px !important;
    transition: transform 0.5s;
}
.maincontainer{
  display: grid;
    justify-items: center;
}
}