html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px; 
}

div.clearfix {
  clear: both;
}

div.content {
  width: calc(100% - 2*32px);
  margin: 0px 32px;
  max-width: 612px;
}

/* iPhone 8 */
@media (max-width: 400px) {
  div.content {
    width: calc(100% - 2*24px) !important;
    margin: 0px 24px;
  }
}

@media (min-width: 612px) {
  div.content {
    margin-left: auto;
    margin-right: auto;
  }
}

header {
  background-color: var(--color-rose);
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  position: fixed;
}

/* iPhone 8 */
@media (max-width: 400px) {
  header .left {
    margin-left: 8px !important;
  }

  header img.menu-toggler {
    margin-right: 24px !important;
  }
}

header .left {
  float: left;
  display: flex;
  align-items: center;
  margin-left: 16px;
}

header .left img.logo {
  width: 68px;
  height: 68px;
}

header .left img.logo,
header .left span.logo-text {
  float: left;
  font-size: 17px;
}

header .left span.logo-text a {
  text-decoration: none;
}

header img.menu-toggler {
  float: right;
  margin-right: 32px;
  /* margin-top: -8px; */
}

@media (max-aspect-ratio: 8/10) {
  div#book img {
    height: 84vh !important;
  }
}

div#book {
  margin-top: calc(68px + 56px + 224px + 11px);
  padding-bottom: 56px;
  text-align: center;
  z-index: 6;
  position: relative;
}

div#book img {
  height: 125vh;
  width: 100%;
  object-fit: cover;
  margin-top: -120px;
  position: relative;
}

div#scroll-down {
  position: absolute;
  bottom: 10px;
  width: 37px;
  height: 37px;
  left: calc((100% - 37px) / 2);
  right: calc((100% - 37px) / 2);
  background-color: #000000;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
  text-align: center;
  z-index: 8;
  border-radius: 40px;
  cursor: pointer;
}

div#start-text {
  max-width: 500px;
  position: fixed;
  top: calc(68px + 82px);
  left: calc((100% - 528px) / 2);
  right: calc((100% - 528px) / 2);
  z-index: 5;
  text-align: center;
}

/* = 500px + 32px + 32px */
@media (max-width: 564px) {
  div#start-text {
    left: 32px !important;
    right: 32px !important;
  }
}

div#start-text h1#title {
  margin-bottom: 23px;
}

div#start-text p#description {
  margin-bottom: 16px;
}

div#start-text p#authors {
  margin-bottom: 40px;
}

div.section-title {
  background-color: black;
  padding: 22px 0px;
  margin-bottom: 40px;
}

div div.section-title:not(:first-of-type) {
  margin-top: 72px;
}

div.ressources-left,
div.ressources-right {
  float: left;
}

div.ressources-left {
  width: calc(100% - 30px - 16px);
}

div.ressources-right {
  width: 30px;
  margin-left: 16px;
}

div h3.book-author:not(:first-of-type) {
  margin-top: 55px;
}

footer {
  margin-top: 71px;
  background-color: var(--color-rose);
  text-align: center;
  padding: 40px 0px;
}

@media (max-width: 440px) {
  footer {
    padding: 52px 0px !important;
  }

  footer a {
    display: block;
    margin-right: 0px !important;
  }

  footer a:not(:last-of-type) {
    margin-bottom: 48px;
  }
}

footer a:not(:last-of-type) {
  margin-right: 71px;
}

nav#nav-menu {
  position: fixed;
  top: 68px;
  width: calc(100% - 2*32px);
  background-color: var(--color-rose);
  padding: 32px;
  z-index: 20;
  overflow: hidden;
  display: none;
}

div#darken-back {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: #000000;
  opacity: 0.7;
  z-index: 10;
  display: none;
}

nav ul li {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  text-align: right;
  color: #000000;

  list-style: none;

  margin-top: 32px;
}

nav ul li:first-of-type {
  margin-top: 0px !important;
}

nav ul li a {
  text-decoration: none;
}

#links {
  text-align: center;
  padding-bottom: 152px;
}

#link-buttons {
  text-align: center;
  width: 100%;
}

a.button-black {
  width: 220px;
  background: #000000;
  border-radius: 6px;
  padding: 14px 24px;
  display: block;
  margin: auto;
  margin-bottom: 26px;
}

a.button-red {
  width: 220px;
  background: var(--color-red);
  border-radius: 6px;
  padding: 14px 24px;
  display: block;
  margin: auto;
  margin-bottom: 26px;
  color: white !important;
  text-decoration: none;
  text-align: center;
}

div#hero {
  min-height: 100vh;
  background-color: var(--color-rose);
}

span.tool-title {
  margin-bottom: 2px;
}

a.tool-link {
  font-style: normal;
	font-weight: 400;
	font-size: 18px;
}

#tools-buy-link {
  margin-top: 56px;
}

span.subtitle,
span.tool-subtitle {
  display: block;
}