/* page layout */
.pageContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 400px;
}

.page {
  width: 100%;
  min-width: 400px;
  height: fit-content;
  min-height: 1000px;
  padding: 10px 20px;
  border-radius: 14px;
  background: var(--page-bg);
  box-shadow: 0 4px 9px 0 rgba(0, 0, 0, 0.3);
}

/* page header */
.pageHeader {
  width: 100%;
  height: fit-content;
  display: flex;
}

.pageHeader p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 0 0;
  align-self: stretch;
  text-align: right;
  margin: 0;
}

/* comic header */
.comicHeader {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.comicHeader p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 0 0;
  align-self: stretch;
  text-align: center;
  margin: 0;
}

/* comic content */
.comicContent,
.comicContent p {
  display: flex;
  align-items: center;
  justify-content: center;
}

.comicContent img {
  width: 80%;
  height: 80%;
}

/* body override */
body {
  margin: 0 10vw !important;
}

/* mobile */
@media (max-width: 670px) {
  .pageContainer,
  .page {
    width: 100%;
    min-width: 0;
  }

  .comicContent img {
    width: 100%;
    height: 100%;
  }

  body {
    margin: 0 15px !important;
  }
}