@font-face {
  font-family: "Fontatica";
  src: url("assets/Fontatica4F.ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Fontatica", sans-serif;
  background: url("assets/sfondo.jpeg") center / cover fixed no-repeat;
  color: #ffffff;
  line-height: 1.6;
}

/* HEADER FISSO NERO */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
}

.site-title {
  font-size: 14px;
  opacity: 0.9;
}

.header-center {
  display: flex;
  justify-content: center;
}

.header-logo {
  height: 26px;
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.social-nav img {
  width: 22px;
  height: 22px;
  margin-left: 14px;
  opacity: 0.9;
}

/* SPAZIO PER HEADER */
.hero {
  padding-top: 110px;
}

/* SEZIONI */
section {
  padding: 60px 20px;
  text-align: center;
}

/* HERO */
.hero-img {
  width: 100%;
  max-width: 320px;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 42px;
  letter-spacing: 2px;
}

.hero h2 {
  font-size: 16px;
  margin-bottom: 20px;
}

.quote {
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 18px;
}

/* AMAZON */
.amazon-logo {
  width: 120px;
  height: auto;
  margin: 12px auto 18px;
  display: block;
}

/* BOTTONI */
.buttons {
  margin-top: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  margin: 6px;
  border: 1px solid #fff;
  text-decoration: none;
  font-size: 14px;
}

.primary {
  background: #fff;
  color: #000;
}

/* CONTENUTO */
.content p {
  max-width: 720px;
  margin: 0 auto 20px;
}

/* DOMANDE */
.questions ul {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.questions li {
  margin-bottom: 10px;
}

/* DENTRO */
.inside-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.inside-note {
  margin-top: 30px;
  font-size: 14px;
  opacity: 0.85;
}

/* RECENSIONI */
.reviews blockquote {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 14px;
}

.reviews span {
  display: block;
  font-size: 12px;
  opacity: 0.7;
  margin-top: 6px;
}

/* LIBRO */
.book-img {
  width: 100%;
  max-width: 300px;
  margin-bottom: 25px;
}

/* LOGHI STORE (COLONNA) */
.store-logos {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.store-logos img {
  width: 170px;
  max-width: 70vw;
  height: auto;
  opacity: 0.95;
}

/* AUTORE */
.author img {
  width: 160px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.affiliation {
  font-size: 12px;
  opacity: 0.7;
}

/* FOOTER */
footer {
  padding: 30px 20px;
  font-size: 12px;
  opacity: 0.7;
}

/* DESKTOP */
@media (min-width: 768px) {
  .inside-block {
    flex-direction: row;
    justify-content: center;
  }

  .inside-block div {
    max-width: 240px;
  }

  .store-logos img {
    width: 220px;
  }
}
