@import url(https://fonts.googleapis.com/css?family=Lato:900,400italic);
@import url(https://fonts.googleapis.com/css?family=Merriweather|Open+Sans:400italic,700italic,400,700);
#book {
  width: 55vw;
  height: 87vh;
  user-select: none;
  /*   outline:1px solid black; */
  /* position:absolute;
  left:25vw;
  top:25vh; */
  perspective: 75vw;
}

#book:before {
  /* width:1%;
  height:100%;
  background:#222; */
  content: "";
  position: absolute;
  left: 49%;
  top: 0;
  /* box-shadow:0px 10px 10px rgba(0,0,0,.75); */
  /* outline:1px solid black; */
}

.page {
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 0% 100%, #777, #ddd 70%);
  /* outline:1px solid black; */
  box-shadow: 3px 1px 4px rgba(0, 0, 0, 0.15);
  position: absolute;
  left: 50%;
  top: 0;
  transition: z-index 0.01s linear 1s, transform 2s linear;
  transform-origin: 0% 50%;
  z-index: 5;
  cursor: pointer;
}

.front,
.back {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;

  font-family: monospace;
  /* text-align:center; */
  /* line-height:50vh; */

  opacity: 0;
  transition: opacity 0.1s linear 1s;
}
.front {
  opacity: 1;
}
.back {
  transform: scaleX(-1);
}

input {
  visibility: hidden;
}

label {
  width: 100%;
  height: 100%;
  z-index: 99;
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  /*   pointer-events:none; */
  /*   visibility:hidden; */
  /*   background:red; */
}

input:checked + .page {
  transform: rotateY(-180deg);
}

input:checked + .page .front {
  opacity: 0;
}
input:checked + .page .back {
  opacity: 1;
}

.bookcover {
  position: absolute;
  width: 100%;
  height: 100%;
  color: white;
  /* border-radius: 2px 4px 4px 2px; */
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2), -1px 4px 4px 0 rgba(0, 0, 0, 0.3);
  background: #1e1e1e;
  background: -webkit-linear-gradient(45deg, #44739d 0%, #003f7e 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e1e1e',endColorstr='#4f4f4f',GradientType=1);
}
.bookcover:before {
  content: "";
  display: block;
  position: absolute;
  width: 30px;
  top: 0;
  left: 0;
  bottom: 0;
  border-radius: 2px 0 0 2px;
  background: -moz-linear-gradient(
    left,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(0, 0, 0, 0.15) 49%,
    rgba(0, 0, 0, 0.15) 84%,
    rgba(0, 0, 0, 0) 100%
  );
  background: -webkit-linear-gradient(
    left,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(0, 0, 0, 0.15) 49%,
    rgba(0, 0, 0, 0.15) 84%,
    rgba(0, 0, 0, 0) 100%
  );
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(0, 0, 0, 0.15) 49%,
    rgba(0, 0, 0, 0.15) 84%,
    rgba(0, 0, 0, 0) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff',endColorstr='#00000000',GradientType=1);
}
.bookcover:after {
  content: "";
  display: block;
  position: absolute;
  width: 15px;
  top: -1px;
  right: 25px;
  bottom: -1px;
  border-radius: 1px;
  box-shadow: -1px 0px 1px 0 rgba(0, 0, 0, 0.4);
  background: #a90329;
  background: -moz-linear-gradient(
    left,
    #a90329 0%,
    #8e0028 12%,
    #a90329 25%,
    #8e0028 37%,
    #a90329 50%,
    #8e0028 62%,
    #a90329 75%,
    #8e0028 87%,
    #a90329 100%
  );
  background: -webkit-linear-gradient(
    left,
    #a90329 0%,
    #8e0028 12%,
    #a90329 25%,
    #8e0028 37%,
    #a90329 50%,
    #8e0028 62%,
    #a90329 75%,
    #8e0028 87%,
    #a90329 100%
  );
  background: linear-gradient(
    to right,
    #a90329 0%,
    #8e0028 12%,
    #a90329 25%,
    #8e0028 37%,
    #a90329 50%,
    #8e0028 62%,
    #a90329 75%,
    #8e0028 87%,
    #a90329 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a90329',endColorstr='#a90329',GradientType=1);
}
.bookcover .title .big {
  font-size: 3vw;
  line-height: 100%;
  font-weight: 900;
  text-transform: capitalize;
  text-align: initial;
  font-family: "Merriweather", serif;
  letter-spacing: 1px;
}
.bookcover .title {
  text-align: initial;
}
.bookcover .title .small {
  font-size: 13px;
  line-height: 160%;
  font-weight: 400;
  font-style: italic;
  font-family: "Merriweather", serif;
  padding-left: 2px;
  color: #ccc;
}

.promotion-card {
  font-family: "Montserrat", sans-serif;
  background: #6dc97ceb;
  width: 18vw;
  height: 14vw;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  transition: 0.8s ease;
  align-items: center;
}
.promotion-card .promotion-content {
  color: white;
  padding: 0.8em;
  max-width: 50%;
  position: relative;
  z-index: 2;
}
.promotion-card.light .promotion-content {
  color: black;
}
.promotion-card .promotion-blob {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 16vw;
  height: 15vw;
  background: #45a0e1;
  border-radius: 320px;
  opacity: 0.8;
  transition: 0.2s ease;
}
.promotion-card .promotion-blob::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 15vw;
  height: 15vw;
  background: #6ab3e7;
  border-radius: 320px;
  opacity: 0.9;
  transition: 0.25s ease;
}
.promotion-card .promotion-blob::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 10vw;
  height: 10vw;
  background: #72c8fb;
  border-radius: 17vw;
  transition: 0.27s ease;
}
.promotion-card:hover {
  transform: translateY(-5%);
}
.promotion-card:hover .promotion-blob {
  width: 18vw;
  height: 18vw;
}
.promotion-card:hover .promotion-blob::after {
  width: 17vw;
  height: 17vw;
}
.promotion-card:hover .promotion-blob::before {
  width: 20vw;
  height: 20vw;
}
.promotion-card-deck {
  display: flex;
  gap: 1em;
  position: absolute;
  top: 43%;
  z-index: 1111;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
}
.link {
  color: #ffd635;
  text-decoration: none;
  font-family: initial;
  font-size: 1.5vw;
}

.logo {
  position: absolute;
  top: 6%;
  left: 10%;
  background-color: white;
  border-radius: 4px;
}
.logo .logoimg {
  width: 7vw;
}

p {
  font-size: 0.8vw !important;
  font-family: "Open Sans", sans-serif;
}
h1 {
  font-size: 1vw !important;
  color: black !important;
  letter-spacing: -0.03em;
  margin: 0 !important;
}
h2 {
  font-size: 2.25vw !important;
}
h3 {
  font-size: 1.5vw !important;
  font-style: italic;
}
.social-link {
  color: white;
  text-decoration: none;
}
.social {
  position: fixed;
  top: 30%;
}
.social ul {
  padding: 0px;
  transform: translate(-270px, 0);
}
.social ul li {
  display: block;
  margin: 5px;
  background: #85acf1;
  width: 300px;
  text-align: right;
  padding: 10px;
  border-radius: 0 30px 30px 0;
  transition: all 1.5s;
}
.social ul li:hover {
  transform: translate(110px, 0);
  background: #0a4682;
  transition: all 1.5s;
}
.social ul li:hover .social-link {
  color: white;
}
.social ul li:hover i {
  color: #6f6f6f;
  background: white;
  transform: rotate(360deg);
  transition: all 1.5s;
}
.social ul li i {
  margin-left: 10px;
  color: #000;
  background: white;
  padding: 4px;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  transform: rotate(0deg);
  text-align: center;
  font-size: 16px;
}
.restrictions-message {
  display: none;
}
.story {
  position: absolute;
  left: 26%;
  width: 23vw;
  background-color: #d1d1d1;
  padding: 1%;
  border-radius: 2%;
  user-select: none;
}

.post {
  padding: 5%;
  background-color: #f9f9f9 !important;
  margin: 0 auto;
  border-right: 1px solid #e4e4e4;
  border-left: 1px solid #e4e4e4;
  height: 100%;
}
.post h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5em;
  padding-bottom: 0.2em;
  position: relative;
}
.post h3:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #111;
}
.post h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  /* max-width: 255px; */
  background-color: #333;
}

.description {
  letter-spacing: 0;
  line-height: 1.5em;
  /* text-align: center; */
  /* margin-bottom: 1em; */
}
h1,
h2,
h3,
h5 {
  margin: 10px 0px;
  font-family: "Merriweather", serif;
  color: #3d4c5c;
}

h5 {
  font-size: 0.9rem !important;
}

p:first-of-type:first-letter {
  font-size: 3vw;
  font-weight: bold;
  float: left;
  padding-right: 3px;
}
p.bullet:before {
  display: inline-block;
  content: "";
  -webkit-border-radius: 0.375rem;
  border-radius: 0.375rem;
  height: 0.65rem;
  width: 0.65rem;
  margin-right: 0.5rem;
  background-color: #c9ced8;
}
p:first-of-type:first-line {
  line-height: 1;
}
.post > p {
  /* padding: 10px 0px 10px 15px; */
  padding: 7px 0px 7px 15px;
  margin: 0px;
  text-align: justify;
}
.pageNumberLeft {
  position: absolute;
  bottom: 1vw;
  left: 2vw;
  padding: 0px !important;
}
.pageNumberRight {
  position: absolute;
  bottom: 1vw;
  right: 2vw;
  padding: 0px !important;
}
.bg-white{
  background-color: white !important;
}

figure {
  margin: 20px 0px;
  display: flex;
  align-items: center;
}
figcaption {
  padding-left: 10px;
}
.pic-medium {
  max-width: 6.5vw;
  background-color: white;
}
.pic-large {
  max-width: 7.5vw;
  background-color: white;
}

.main {
  background-color: white;
  padding: 1em;
  padding-bottom: 1.1em;
  border-radius: 15px;
  margin: 1em;
}

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: azure;
  /* background-image: linear-gradient(-45deg, tomato, purple); */
  background-color: #d2dfeb !important;
}

#fifteen:checked + .page {
  z-index: 15;
}
#fourteen:checked + .page {
  z-index: 14;
}
#thirteen:checked + .page {
  z-index: 13;
}
#twelve:checked + .page {
  z-index: 12;
}
#eleven:checked + .page {
  z-index: 11;
}
#ten:checked + .page {
  z-index: 10;
}
#nine:checked + .page {
  z-index: 9;
}
#eight:checked + .page {
  z-index: 8;
}
#seven:checked + .page {
  z-index: 7;
}
#six:checked + .page {
  z-index: 6;
}
#five:checked + .page {
  z-index: 5;
}
#four:checked + .page {
  z-index: 4;
}
#three:checked + .page {
  z-index: 3;
}
#two:checked + .page {
  z-index: 2;
}
#one:checked + .page {
  z-index: 1;
}


