body {
  font-family: "Futura", "Helvetica Neue", Helvetica, sans-serif;
  color: #111111;
  letter-spacing: 0.05em;
}
a, a:hover {
  color: inherit;
}
.main-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
}

/* Book Page */
.back-button {
  float: right;
  font-size: 1.5em;
}
.book-link {
  color: inherit;
  text-decoration: underline;
}
.book-wrapper {
  margin: 0 auto;
  width: 80%;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}
.book-text {
  margin-top: 5%;
  margin-bottom: 5%;
}
.book-text h2 {
  margin-bottom: 20px;
}
.book-wrapper img {
  margin-bottom: 2em;
}
.book-two-img {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.two-img {
  width: 49%;
}

/* Side Panel */
.side-panel {
  width: 30%;
  box-sizing: border-box;
  padding-top: 60px;
  padding-left: 30px;
  padding-right: 30px;
  height: 100vh;
}
.main-name {
  font-size: 4em;
  line-height: 1.2em;
  margin-bottom: 0.5em;
}
/* Main Panel */
.mobile-only {
  display: none;
}

.main-panel {
  width: 70%;
  display: block;
  overflow: scroll;
  height: 100vh;
}
.col h2, .col p {
  padding-left: 5px;
  padding-right: 5px;
}
.row .col {
  background-image: url("img/white-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 2px solid #111111;
  border-left: 2px solid #111111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
}
.right {
  border-right: 2px solid #111111;
}
.bottom {
  border-bottom: 2px solid #111111;
}
img {
  max-width: 100%;
}
/* .col img {
  width: 100%;
} */
.bg {
  position: absolute;
  visibility: hidden;
  z-index: 1;
}
.col-content {
  position: relative;
  z-index: 1;
}


/* Notes Pages */
.note-page {
  border-right: 2px solid #111111;
}
.note {
  padding: 60px;
}
.back {
  font-size: 1.5em;
}
.note-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.note-subtitle {
  margin-bottom: 35px;
}
.poem {
  padding: 20px;
}
.poem p {
  font-size: 18px;
  line-height: 16px;
}
.notes-image {
  /* text-align: center; */
  margin-bottom: 2em;
}
.notes-image {
  max-width: 70%;
}
.notes-image img {
  margin-bottom: 1em;
}
#rotate {
  transform: rotate(90deg);
}
.comic-sans {
  text-align: center;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-weight: 600;

}

/* Media Queries */

/* Mobile  */
@media (max-width: 667px) {
  .book-wrapper {
    width: 90%;
  }
  .main-wrapper {
    flex-direction: column;
  }
  /* Side Panel */
  .side-panel {
    width: 100%;
    border-bottom: 2px solid #111111;
    height: auto;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
    margin-bottom: 20px;
  }
  .side-panel h1 {
    font-size: 2em;
  }
  .side-panel h2 {
    font-size: 1.5em;
  }

  /* Main Panel */
  .main-panel {
    height: auto;
    width: 100%;
  }
  .mobile-name {
    text-align: center;
  }
  .mobile-name h2 {
    font-size: 1.5em;
    text-decoration: underline;
  }

  /* Notes */
  .mobile-note, .note {
    padding: 15px;
  }
  .mobile-note {
    border-bottom: 2px solid #111111;
  }
  .hide-mobile {
    display: none;
  }
  .mobile-only {
    display: flex;
    flex-direction: column;
    width: 95%;
    margin: 0 auto;
  }
}

/* iPad */
@media only screen
and (min-width : 768px)
and (max-width : 1024px)
and (orientation : portrait) {

    /* Side Panel */

    .side-panel {
      width: 35%;
    }
    .main-name {
      font-size: 3em;
    }

    /* Main Panel */

    .main-panel h2 {
      font-size: 1.5em;
    }
    .main-panel p {
      font-size: 0.9em;
    }

    /* Notes */

    .note-name {
      font-size: 2.2em;
    }
}
