body {
  background-color: #babaac;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 500px;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Cover image */
img:first-of-type {
  max-height: 84vh;
}

.publications-unterseite-book-container {
  text-align: center;
  margin-top: 45px;
}

.publications-unterseite-leipziger {
  font-family: jaf-lapture-display;
  font-size: 42px;
  line-height: 42px;
}

.publications-unterseite-editorial {
  font-family: EditorialNew;
  font-size: 60px;
  font-weight: 200;
  line-height: 72px;
  letter-spacing: -1.67px;
}

.publications-unterseite-erica {
  font-family: EricaType;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.17px;
  text-align: center;
  color: #000000;
  margin-top: 30px;
}

.publications-unterseite-paragraph {
  max-width: 1222px;
  font-family: jaf-lapture-display;
  font-size: 42px;
  line-height: 56px;
  letter-spacing: -0.5px;
  margin-top: 160.4px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 140px;
}

.publication-inner-img {
  /* margin-top: -100px; */
  max-width: 98vw;
  max-height: 100vh;
}

.publication-share-container {
  text-align: center;
  /* margin-top: -10vmin; */
  margin-bottom: 175px;
}

.publication-share-container p {
  font-family: EricaType;
  font-size: 24px;
  line-height: 52px;
  height: 58px;
  /* margin-top: 22.3px; */
}

.publication-share-container a {
  margin-right: 16px;
  cursor: pointer;
}

.publication-share-container a:last-of-type {
  margin-right: 0px;
}

.publication-share-container img:hover {
  filter: brightness(0) saturate(100%) invert(71%) sepia(0%) saturate(14%)
    hue-rotate(281deg) brightness(92%) contrast(91%);
}

.publication-pdf-logo {
  margin-top: 20px;
  margin-bottom: 40px;
}

.shop-button {
  width: 180px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border: solid 1px #242424;
  border-radius: 30px;
  font-size: 29px;
  margin: 50px 50px 125px 50px;
}

/* Media query for share buttons getting cut out problem */
@media only screen and (min-width: 1130px) and (max-height: 1000px) and (orientation: landscape) {
  /* Cover image */
  img:first-of-type {
    max-height: 76vh;
  }

  .publication-inner-img {
    /* margin-top: -100px; */
    max-width: 98vw;
    max-height: 90vh;
  }
}

@media only screen and (max-width: 1700px) {
  .publication-inner-img {
    margin-top: 0px;
  }
}

@media only screen and (max-width: 1090px) {
  .isbn {
    width: 98vw;
    margin-right: 0;
  }
}

@media only screen and (max-width: 768px) {
  .publication-share-container {
    margin-bottom: 45px;
  }

  .publications-unterseite-book-container {
    margin-top: 75px;
  }

  .publications-unterseite-book-container img {
    padding: 0 50px 0 50px;
    max-width: 98vw;
  }

  .publications-unterseite-leipziger {
    font-size: 18px;
    line-height: 21px;
    letter-spacing: -0.12px;
    margin-top: 21px;
  }

  .publications-unterseite-editorial {
    font-size: 39px;
    line-height: 36.4px;
    letter-spacing: -1.08px;
  }

  .publications-unterseite-erica {
    font-family: EricaType;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.17px;
    text-align: center;
    color: #000000;
    margin-top: 30px;
  }

  .publications-unterseite-paragraph {
    max-width: 500px;
    margin-top: 98.4px;
    margin-left: 11px;
    margin-right: 12px;
    /* margin-bottom: 20px; */
    font-size: 21px;
    line-height: 28px;
    letter-spacing: -0.25px;
  }

  picture:first-of-type {
    margin-top: 80px;
  }

  .publication-inner-img {
    margin-top: 0px;
    /* padding-right: 30px; */
    /* padding-left: 30px; */
  }

  .publication-inner-img:first-of-type {
    max-height: initial;
    /* max-width: 120vw; */
    /* width: 120vw; */
  }

  .isbn {
    font-size: 21px;
    line-height: 28px;
    letter-spacing: -0.25px;
    padding: 0 30px;
    margin-top: 30px;
  }
}

@media only screen and (max-width: 568px) {
  .publication-share-container p {
    font-size: 21px;
  }

  .publication-share-container img {
    width: 6vmin;
  }
}
