.wrapper {
  margin: 0px auto;
}

.flip-book {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
  display: none;
  background-size: cover;
}

.page {
  /* padding: 20px; */
  background-color: #fdfaf7;
  color: #785e3a;
  border: solid 1px #c2b5a3;
  overflow: hidden;
}

.page .page-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.page .page-content .page-header {
  height: 30px;
  font-size: 100%;
  text-transform: uppercase;
  text-align: center;
}

.page .page-content .page-image {
  height: 100%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.page .page-content .page-text {
  height: 100%;
  flex-grow: 1;
  font-size: 80%;
  text-align: justify;
  margin-top: 10px;
  padding-top: 10px;
  box-sizing: border-box;
  border-top: solid 1px #f4e8d7;
}

.page .page-content .page-footer {
  height: 30px;
  border-top: solid 1px #f4e8d7;
  font-size: 80%;
  color: #998466;
}

.page.--left {
  border-right: 0;
  box-shadow: inset -7px 0 30px -7px rgba(0, 0, 0, 0.4);
}

.page.--right {
  border-left: 0;
  box-shadow: inset 7px 0 30px -7px rgba(0, 0, 0, 0.4);
}

.page.--right .page-footer {
  text-align: right;
}

.page.hard {
  background-color: #f2e8d9;
  border: solid 1px #998466;
}

.page.page-cover {
  background-color: #ffffff;
  color: #785e3a;
  /* border: solid 1px #ffffff; */
}

.page.page-cover h2 {
  text-align: center;
  padding-top: 50%;
  font-size: 210%;
}

.page.page-cover.page-cover-top {
  box-shadow: inset 0px 0 30px 0px rgba(36, 10, 3, 0.5), -2px 0 5px 2px rgba(0, 0, 0, 0.4);
}

.page.page-cover.page-cover-bottom {
  /* box-shadow: inset 0px 0 30px 0px rgba(36, 10, 3, 0.5), 10px 0 8px 0px rgba(0, 0, 0, 0.4); */
}

.book-btn button {
  background: #f0d6ab;
  padding: 12px 16px;
  color: #fff;
  /* margin-top: 15px; */
}

@page {
  size: a3;
}

.btn-flip {
  margin-top: 15px;
  text-align: center;
}

.flip-book {
  background: url('../images/book-bg.jpg');
  margin: 0 auto;
}

#sample-pages small {
  text-align: center;
  float: left;
  width: 100%;
  padding: 15px 0 0 0;
}

@media (min-width:769px) and (max-width:1000px) {
  .home-banner h1 {
    font-size: 33px;
  }
  .banner-text h1 span {
    font-size: 30px;
    line-height: 0;
  }
}

@media (min-width:577px) and (max-width:767px) {
  .banner-btn {
    margin-top: -30px;
  }
  .banner-text h1 {
    margin-top: 20px;
  }
}

@media only screen and (max-width: 900px) {


.book-btn button {
    padding: 5px 10px;
}
.btn-flip {
    margin-top: 0;
}
#sample-pages .btn-1{ margin-top: 15px; }
.banner-text {
    padding-top: 30px;
}

}