/* Basic sample */

body {
  /* overflow: hidden; */
  /* background-color:#fcfcfc; */
  margin: 0;
  padding: 0;
}

.flipbook-navigation {
  width: 90%;
  margin: 1rem auto;
  display: flex;
  flex-direction: column-reverse;
  justify-content: end;
  align-items: center;
  column-gap: 2rem;
}

.flipbook-navs {
  display: flex;
  flex-direction: column-reverse;
  row-gap: 1rem;
}

.button-list {
  justify-content: center;
}

.flipbook-tip {
  text-align: center;
  margin-top: 0.5rem;
}

.flipbook-viewport {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.flipbook-viewport .container {
  position: relative;
  /* top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  margin: auto;
  height: 100%;
  width: 100%;
  max-width: none !important;
  padding: 0 !important;
}

.flipbook-viewport .flipbook {
  width: 100%;
  height: 100%;
  margin: auto !important;
}

.flipbook-viewport .page {
  /* width: 461px;
  height: 600px; */
  width: 50%;
  height: 70%;
  background-color: white;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.flipbook .page {
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.flipbook-viewport .page img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0;
}

.flipbook-viewport .shadow {
  -webkit-transition: -webkit-box-shadow 0.5s;
  -moz-transition: -moz-box-shadow 0.5s;
  -o-transition: -webkit-box-shadow 0.5s;
  -ms-transition: -ms-box-shadow 0.5s;

  -webkit-box-shadow: 0 0 20px #ccc;
  -moz-box-shadow: 0 0 20px #ccc;
  -o-box-shadow: 0 0 20px #ccc;
  -ms-box-shadow: 0 0 20px #ccc;
  box-shadow: 0 0 20px #ccc;
}

/* Define a default font size for .custom-text */
.custom-text {
  font-size: 16px;
}

/* Responsive font size adjustments using vw units for smaller screens */
@media screen and (max-width: 320px) {
  .custom-text {
    font-size: 14px;
  }
}

@media screen and (min-width: 321px) and (max-width: 768px) {
  .custom-text {
    font-size: 16px;
  }
}

@media screen and (min-width: 425px) {
}

@media screen and (min-width: 768px) {
  .flipbook-navigation {
    flex-direction: column;
    position: relative;
  }

  .flipbook-navs {
    flex-direction: column;
    margin-bottom: 2rem;
  }

  .button-list {
    justify-content: space-between;
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
  }
}

/* Responsive font size adjustments using vw units for larger screens */
@media screen and (min-width: 769px) {
  .custom-text {
    font-size: 18px;
  }
}

/* Additional adjustments for even larger screens */
@media screen and (min-width: 1200px) {
  .custom-text {
    font-size: 20px;
  }
}

/* Further adjustments for very large screens */
@media screen and (min-width: 1600px) {
  .custom-text {
    font-size: 24px;
  }
}

/* Further adjustments for very large screens */
@media screen and (min-width: 1800px) {
  .custom-text {
    font-size: 30px;
  }
}
