* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fafafa;
  color: #3b475c;
  font-family: "Libre Baskerville", serif;
}

p {
  text-indent: 1em;
}

header.splash {
  height: 100vh;
  width: 100%;
  background-image: url("/img/hero.png");
  background-color: #fdf9f6;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  text-align: center;
  display: flex;
  justify-content: center;
}
header.splash .data {
  /* background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.3)); */
  border-radius: 3px;
  align-self: center;
  justify-self: center;
  max-width: 600px;
  padding: 50px;
  position: relative;
  top: -150px;
}

h1 {
  font-family: "Libre Baskerville", serif;
  font-weight: bold;
  margin: 0;
  font-size: 100px;
  color: #3b475c;
}
h3 {
  font-family: "Libre Baskerville", serif;
  font-weight: bold;
  font-style: italic;
  margin: 0;
  font-size: 50px;
  color: #6d3e3a;
}
button,
.button {
  font-family: "Libre Baskerville", serif;
  display: block;
  background: transparent;
  padding: 12px 24px;
  border-radius: 6px;
  border: 0;
  color: #4f76a0;
  text-decoration: none;
  font-size: 20px;
  cursor: pointer;
  position: relative;
  cursor: pointer;
  border: 2px solid #4f76a0;
  font-weight: bold;
}
header.splash button {
  margin: 25px auto 0;
}
#fall {
  height: 250px;
  position: fixed;
  right: 100px;
  top: -500px;
  z-index: 1;
}

.bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 500px;
  background-image: url("/img/sprite.png");
  background-repeat: repeat-x;
  z-index: -1;
}

.pres .content {
  display: flex;
  max-width: 1024px;
  position: relative;
  width: 90%;
  margin: 0 auto;
  padding: 100px 0;
}

.pres .img {
  flex: 1;
  display: grid;
  place-items: center;
}

.pres img {
  max-width: 300px;
}

.pres .data {
  flex: 2;
  z-index: 1;
}

.pres.author .data {
  padding-right: 250px;
}

.pres h2 {
  font-size: 40px;
  margin: 0 0 5px;
}

.pres h6 {
  font-size: 20px;
  color: #fff;
  margin: 0 0 30px;
  font-weight: 100;
}

.pres p {
  font-size: 20px;
  line-height: 1.5em;
}

.author {
  position: relative;
  background-color: #727272;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.author.pres .img {
  flex: 1;
  position: absolute;
  right: -150px;
  top: 0;
  bottom: 0;
  display: flex;
}

.author.pres img {
  max-width: none;
  height: 100%;
}

.author h2,
.author p {
  color: #fff;
}

.author p a {
  color: #fff !important;
}

.author.bi {
  background: #b7a7d3;
}

.author.bi .img {
  left: -50px;
  right: auto;
  top: 150px;
}

.author.bi .content {
  text-align: right;
}

.pres.author.bi .data {
  padding-right: 0;
  padding-left: 200px;
}

.about .button {
  color: #d07c48;
  border-color: #d07c48;
  display: inline-block;
}

footer {
  height: 200px;
  display: grid;
  place-items: center;
  position: relative;
}

footer img.cart {
  height: 150px;
  position: absolute;
  right: 0;
  top: 25px;
}

footer ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 14px;
}

footer ul li {
  margin: 0 10px;
}

footer a {
  color: #4f76a0;
  text-decoration: none;
}

.anpc {
  display: flex;
  z-index: 1;
}

.anpc img {
  height: 45px;
}

section.block {
  background: #fff;
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 0 25px rgb(0 0 0 / 20%);
  border-radius: 10px;
  padding: 0 30px 25px;
  text-align: center;
}
section.wide {
  max-width: 960px;
}

section.block img.fall {
  position: relative;
  height: 150px;
  position: relative;
  margin: -50px;
  top: -10px;
}

section.block h2 {
  margin: 50px 0 25px;
}

section.block h4 {
  font-size: 17px;
  margin: 0;
  font-weight: 400;
  line-height: 2em;
}

section.block h4 strong {
  font-weight: bold;
  display: inline-block;
  margin-right: 10px;
}

.policy {
  padding-bottom: 25px;
  border-top: 1px solid #eee;
  text-align: left;
}

.book {
  padding: 30px 0 0;
  display: flex;
}

.book .cover {
  display: flex;
  flex-direction: column;
  padding: 0 15px 0 0;
}

.book .cover img {
  width: 200px;
  cursor: pointer;
}

.book .cover label {
  font-size: 13px;
  color: #888;
  margin-top: 10px;
}

.book form {
  flex: 1;
  text-align: left;
  display: flex;
}

form .left {
  flex: 2;
  padding: 0 30px 0 0;
}

form .left > header {
  display: flex;
  width: 100%;
  padding-bottom: 30px;
  border-bottom: 1px solid #ddd;
}

form .left > header select {
  height: 30px;
  padding: 0 0 0 5px;
}

form .left > header h2 {
  margin: 0;
  font-size: 18px;
  display: flex;
}

form .left > header h2 span {
  margin-left: auto;
}

form .left > header .data {
  width: 100%;
  padding: 45px 0;
  display: flex;
  flex-direction: column;
}

form .left > header .data p {
  margin: auto 0 0;
  text-indent: 0;
}

form .right {
  padding-left: 30px;
  border-left: 1px solid #ddd;
  flex: 1;
}

form .block {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

form [type="text"],
select {
  border: 1px solid #ddd;
  border-radius: 6px;
  height: 44px;
  padding: 0 10px;
  outline: none;
  font-size: 16px;
}

form input:focus {
  border-color: #4f76a0;
}

form label {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5em;
  display: none;
}

form .button {
  height: 44px;
  background: #4f76a0;
  color: #fff;
  margin-top: 15px;
  font-size: 18px;
  border: 0;
}

form .button:hover {
  background: #476b91;
}

.subtotal {
  display: flex;
  padding: 15px 0;
}

.subtotal h5 {
  margin: 0;
  font-size: 16px;
}

.subtotal strong {
  margin-left: auto;
  font-size: 16px;
}

.total {
  display: flex;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #ddd;
  align-items: center;
}

.total h4 {
  margin: 0;
  font-size: 20px !important;
  line-height: 1em !important;
  font-weight: bold !important;
}

.total strong {
  margin: 0 0 0 auto;
  font-size: 20px;
  text-align: right;
}

.total strong span.tva {
  display: block;
  font-size: 11px;
  font-family: Arial;
  font-weight: 100;
}

header.inner {
  max-width: 700px;
  margin: 100px auto 25px;
  padding: 0 30px;
}

.shipping h5 {
  font-size: 16px;
}

.back-home {
  font-family: "Libre Baskerville", serif;
  font-weight: bold;
  margin: 0;
  font-size: 28px;
  display: inline-block;
  color: #3b475c;
  margin: 0 auto;
  text-decoration: none;
}

.back-home span {
  position: relative;
  top: -5px;
}

.warn {
  font-size: 13px;
  color: #aaa;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 100;
}

.shipping .option {
  display: flex;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 15px;
  transition: 0.2 all;
}

.shipping .option input {
  cursor: pointer;
}

.shipping .option.selected {
  background: #fff !important;
  border-color: #42a5f5;
}

.shipping .option input {
  margin-right: 15px;
}

.shipping .option h6 {
  margin: 0;
  font-size: 14px;
}

.shipping .option p {
  text-indent: 0;
  font-size: 13px;
  margin: 0;
  color: #888;
  line-height: 1.5em;
}

#modal {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  display: none;
}

#modal img {
  width: 1200px;
  max-width: 90%;
  border-radius: 10px;
}

#modal .close {
  position: absolute;
  z-index: 6;
  color: #fff;
  top: 15px;
  right: 15px;
  cursor: pointer;
  font-size: 20px;
}

.irob {
  width: 450px;
  height: 550px;
}

@media (max-width: 1024px) {
  footer img.cart {
    height: 80px;
    top: 60px;
  }
}
@media (max-width: 768px) {
  #fall {
    height: 150px;
    right: 50px;
  }
  .pres .content {
    flex-direction: column;
    text-align: center !important;
  }

  .pres.about .content {
    flex-direction: column-reverse;
  }

  .pres.about .content .img {
    margin-top: 30px;
  }

  .pres .data {
    margin: 0;
  }
  .pres.author .data {
    padding: 0 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }

  footer {
    padding: 30px 0 0;
  }
  footer img.cart {
    display: none;
  }

  footer ul {
    flex-direction: column;
  }

  footer ul li {
    text-align: center;
    margin: 5px 0;
  }

  form .left > header {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  form .left > header .data {
    padding: 15px 0;
  }
}
@media (max-width: 650px) {
  footer img.cart {
    display: none;
  }
}
@media (max-width: 425px) {
  .author.pres {
    overflow: hidden;
  }
  .author.pres .content {
    padding-bottom: 400px;
  }
  .author.pres .img {
    left: 0;
    right: 0;
    top: auto;
    height: 450px;
  }
  h1 {
    font-size: 60px;
  }
  h3 {
    font-size: 40px;
    margin: 25px 0 30px;
  }
  header.splash .data {
    top: -100px;
  }
  #fall {
    height: 100px;
  }
  footer img.cart {
    display: none;
  }
  .pres h2 {
    font-size: 32px;
  }
  footer {
    height: 150px;
  }
  .book form {
    flex-direction: column;
  }
  form .left {
    padding: 0 0 30px;
  }
  form .right {
    padding: 0;
    border: 0;
  }
}
