/* Tavolozza colore */
:root {
  --primary: #154359;
  --secondary: #90cad4;
  --accent: #00cab6;
  --light: #F2F2F2;
  --dark: #000;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
}

a,
img,
button,
.fa-solid {
  display: block;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}

html,
body
{
height: 100%;
}

.res {
  width: 100%;
  max-width: 350px;
  box-shadow: rgb(0 0 0 / 30%) -5px 7px 10px 7px;
}

.fotoautrice {
  max-width: 40%;
  margin: 50px auto;
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto', sans-serif;
  color: var(--primary);
}

h3 {
  font-size: 40px;
}

.footer-inside h3 {
  font-size: 13px;
}

.content__sinossi {
  margin-top: 120px;
}

.content__autrice {
  margin-top: 50px;
  margin-bottom: 120px;
  
}

.container {
  margin: 0 50px;
}

.leading {
  line-height: 1.3;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

header {
  background: var(--dark);
  color: var(--light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  height: 8%;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
  padding: 15px;
  align-items: center;
  transition: 0.8s cubic-bezier(.26, 1.01, .67, .05);
}

.icon-hamburger {
  visibility: hidden;
}


.cover__logo {
  width: 70px;
  padding: 0%;
}

.cover__menu {
  width: 100%;
  order: 3;
  visibility: hidden;
}

.cover__menu a {
  color: var(--light)
}

.active .cover__menu {
  visibility: visible;
}

.cover.active {
  height: 400px;
}

.search__form {
  visibility: hidden;
}



.hero {
  margin: 10px;
  margin-top: 100px;
}

.content__sinossi {
  background: none;
}

.content__autrice {
  background-color: none;

}

.content__newsletter {
  background: var(--light);
  padding: 15px;
  margin: 20px 0;
}

.container {
  display: flex;
  flex-direction: column;
}

.vitaFoto {

  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

h5 {
  font-family: 'Rokkitt', serif;
  font-size: 1em;
  padding: 0px;
}


/* Hero */
.hero {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.cta-group {
  font-size: 2em;
  margin-top: 40px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cta__primary {
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  padding: 10px 25px;
  border-radius: 6px;
}

.cta__primary {
  background: var(--primary);
  color: var(--light);
}

.cta__primary:is(:hover, :focus) {
  background: var(--accent);
  color: var(#F2F2F2)
}

.hero__text {
  width: 60%;
}
.hero__text h1 {
  font-size: 50px;
  color: rgb(0, 109, 66);
}

.hero__text h2 {
  font-size: 20px;
  color: rgb(0, 109, 66);
}

.hero__text p {
  font-family: 'Roboto', sans-serif;
  color: var(--primary);
  font-size: 25px;
}

.stessaautrice {
  padding: 15px;
}
.dellastessaautrice {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 100px;
  margin: 20px;
}
.dellastessaautrice img:hover {
  scale: 1.1;
  cursor: pointer;
}
.dellastessaautrice img{
  width: 180px;
  box-shadow: rgb(0 0 0 / 40%) 0px 2px 10px 5px;
 }

.consigliati {
  padding: 15px;
  margin-top: 100px;
}
.libriconsigliati {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 100px;
  margin: 20px;
  margin-bottom: 150px;
}
.libriconsigliati img:hover {
  scale: 1.1;
  cursor: pointer;
}
.libriconsigliati img{
  width: 180px;
  box-shadow: rgb(0 0 0 / 40%) 0px 2px 10px 5px;
 }

 .fa-twitter:hover{
  color: #00bbff;
}
.fa-instagram:hover{
  color: #ff00bb;
}
.fa-facebook:hover{
  color: #0044cd;
}

.fa-brands {
  font-size: 20px;

}



/* BTT (back to top, ovvero la freccina in basso, dato che non si vede probabilmente per questioni di profondità (x) la portiamo avanti) */
.btt {
  position: fixed;
  /*fixed fa sì che la freccina si muova; è cioè sempre in basso a destra dello schermo, non della pagina) */
  bottom: 10px;
  right: 10px;
  background: var(--dark);
  font-size: 40px;
  z-index: 1;
  padding: 10px; 
  opacity: 0.5;
  border-radius: 10px;
}

.btt__icon {
  color: var(--light);
}

.footer-inside {
  background: var(--light);
  display: flex;
  justify-content: space-between;
  padding: 20px 3% 20px 3%;
  font-family: 'Roboto', sans-serif;
}

.footer-inside a{
  color: var(--primary);
  font-size: 10px;
}

.footer-inside a{
  color: var(--primary);
}

.fa-twitter:hover{
  color: #00bbff;
}
.fa-instagram:hover{
  color: #ff00bb;
}
.fa-facebook:hover{
  color: #0044cd;
}

.fa-brands {
  font-size: 20px;

}

/* qui c'è la tabbar */
.tabbar {
  height: 80px;
  width: 100%;
  position: relative;
  /*l o posiziono in maniera relativa in modo da poter gestire all'interno ulteriori elelemnti con posizionamento assoluto*/
  background: var(--dark);
}

.tabbar__menu {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: var(--dark);
  margin-top: 15px;
}

.tabbar li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  height: 60px;
  width: 60px;
}

.tabbar a {
  font-size: 1.6em;
  color: var(--light);
  border-radius: 100%;
  background: var(--dark);
  padding: 13px;
}

.tabbar a:is(:hover, :focus) {
  font-size: 2em;
  transform: translateY(-20px);
  transition: 250ms cubic-bezier(.14, 1.04, .76, .16);
}

/* ! Media query Medium (d'ora in poi scriviam tutti quei comandi che avrà senso caricare da una certa misura in poi: breackpoint)  */
@media (min-width: 767px) {

  header {
    background: var(--dark);
    color: var(--light);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* box-shadow: rgb(0 0 0 / 100%) 0px 10px 10px 10px; */
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    padding: 15px;
    transition: 0.8s cubic-bezier(.26, 1.01, .67, .05);
    position: relative;
  }


  .icon-hamburger {
    visibility: hidden;
  }


    .cover__logo {
    width: 100px;
  }

  .cover,
  .cover.active {
    height: 60px;
    align-items: center;
  }

  .cover__menu {
    all: unset;
  }

  .search__form {
    visibility: hidden;
  }

  .mainmenu li {
    display: inline-block;
    font-size: 1.2em;
    margin-left: 18px;
  }

  .cover__hb {
    display: none;
  }

  .welcome {
    position:relative;
    background-size:cover;
    font-family: 'Rokkitt', serif;
    font-size: 30px;
    font-weight: bolder;
    text-align: center;
    }

  .hero {
    flex-direction: row;
  }

  .hero__text {
    width: 60%;
  }
  .hero__text h1 {
    font-size: 90px;
    color: rgb(0, 109, 66);
  }

  .hero__text h2 {
    font-size: 2em;
    color: rgb(0, 109, 66);
  }

  .hero__text p {
    font-family: 'Roboto', sans-serif;
    color: var(--primary);
    font-size: 23px;
    margin-right: 50px;


 

  }


  .hero__cover {
    width: 40%;
  }

  .hero__cover img {
    margin: 5px auto;
  }

  .vitaFoto {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
  }

  .fotoautrice {
    max-width: 40%;
      margin: 50px auto;
    }

  .stessaautrice,
  .consigliati {
    display: flex;
    align-items: center;
  }

  .footer-inside {
    background: var(--light);
    display: flex;
    justify-content: space-between;
    padding: 20px 3% 20px 3%;
    font-family: 'Roboto', sans-serif;
  }

  .footer-inside a{
    color: var(--primary);
    font-size: 14px;
  }

  .footer-inside h3 {
    font-size: 30px;
  }

  .welcome {
    position:relative;
    line-height: 40px;
    background-size:cover;
    font-family: 'Rokkitt', serif;
    font-size: 30px;
    font-weight: bolder;
    text-align: center;
    padding: 2em 2em 2em 2em;
    }

    .leading {
      line-height: 1.3;
      font-size: 20px;
      font-family: 'Roboto', sans-serif;
      font-weight: 400;
      text-align: justify;

}


/*  ! Media query Large */

@media (min-width: 992px) {

  header {
    background: var(--dark);
    color: var(--light);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* box-shadow: rgb(0 0 0 / 100%) 0px 10px 10px 10px; */
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    padding: 15px;
    transition: 0.8s cubic-bezier(.26, 1.01, .67, .05);
    position: relative;
  }

  .cover__logo {
    width: 100px;
  }

  .icon-hamburger {
    visibility: hidden;
  }


  .stessaautrice,
  .consigliati {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .welcome {
    position:relative;
    background-size:cover;
    font-family: 'Rokkitt', serif;
    font-size: 30px;
    font-weight: bolder;
    text-align: center;
    }
    
    /* barra di ricerca */

    .search__form {
      visibility: visible;
    }

.search__form {
  width: 300px;
  height: 30px;
  overflow: hidden;
  display: flex;
  background: #F2F2F2;
  color: var(--primary);
  align-items: center;
  border-radius: 3px;
}

.search__form input {
  font-size: 13px;
  padding: 0 1.2em;
  height: 100%;
  width: 100%;
  border: 0px;
  text-transform: none;
  color: var(--primary)
}

.search__form label {
  font-size: 1.5em;
  padding: 7px;
  color: var(--primary);
  cursor: pointer;
}

.search-form label:hover {
  color: var(--accent);
}

.hero__text {
  width: 60%;
}
.hero__text h1 {
  font-size: 90px;
  color: rgb(0, 109, 66);
}

.hero__text h2 {
  font-size: 25px;
  color: rgb(0, 109, 66);
}

.hero__text p {
  font-family: 'Roboto', sans-serif;
  color: var(--primary);
  font-size: 27px;
  line-height: 35px;
  margin-right: 60px;
}

.vitaFoto {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.fotoautrice {
  max-width: 40%;
  margin: 40px auto;
  }

    .leading {
      margin-top: 10px;
      font-size: 27px;
      line-height: 38px;
      font-family: 'Roboto', sans-serif;
      font-weight: 400;
      text-align: justify;
      padding: 1em;

  }


  .footer-inside {
    background: var(--light);
    display: flex;
    justify-content: space-between;
    padding: 20px 3% 20px 3%;
    font-family: 'Roboto', sans-serif;
  }

  .footer-inside h3 {
    font-size: 40px;
  }

.fa-twitter:hover{
    color: #00bbff;
}
.fa-instagram:hover{
    color: #ff00bb;
}
.fa-facebook:hover{
    color: #0044cd;
}

.fa-brands {
    font-size: 20px;

}

.footer-inside a{
  color: var(--primary);
  font-size: 17.5px;
}


/*  parte relativa a mailchimp  */
#mc_embed_signup form {
  display: block;
  position: relative;
  text-align: left;
  padding: 10px 0 10px 3%
}

#mc_embed_signup h2 {
  font-weight: bold;
  padding: 0;
  margin: 15px 0;
  font-size: 1.4em;
}

#mc_embed_signup .button {
  clear: both;
  background-color: var(--primary);
  border: 0 none;
  border-radius: 4px;
  transition: all 0.23s ease-in-out 0s;
  color: var(--light);
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  font-weight: normal;
  height: 32px;
  line-height: 32px;
  margin: 0 5px 10px 0;
  padding: 0 22px;
  text-align: center;
  text-decoration: none;
  vertical-align: top;
  white-space: nowrap;
  width: auto;
}

#mc_embed_signup .button:hover {
  background-color: var(--accent);
}

#mc_embed_signup .small-meta {
  font-size: 11px;
}

#mc_embed_signup .nowrap {
  white-space: nowrap;
}

#mc_embed_signup .mc-field-group {
  clear: left;
  position: relative;
  width: 96%;
  padding-bottom: 3%;
  min-height: 50px;
}

#mc_embed_signup .mc-field-group input {
  display: block;
  width: 60%;
  padding: 8px 0;
  text-indent: 2%;
}
}
}

/* -------------------------------------------------------------------------------- */
/* ! Media query small */
/* -------------------------------------------------------------------------------- */

@media (max-width: 500px) {

  .vitaFoto {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
  }
}

.welcome {
  position:relative;
  background-size:cover;
  font-family: 'Rokkitt', serif;
  font-size: 21px;
  line-height: 26px;
  font-weight: bolder;
  text-align: center;
  padding: 15px;
  }

  .icon-hamburger {
    visibility: visible;
  }


        /* Hamburger */
    /* Hamburger chiuso */

    .icon-hamburger {
      cursor: pointer;
      width: 2em;
      height: 1.5em;
      position: relative;
      transition: 0.5s cubic-bezier(.1,.11,0,.19);
  }

  .icon-hamburger span {
      display: block;
      position: absolute;
      left: 0;
      height: 2px;
      width: 100%;
      background: var(--light);
  }

  .icon-hamburger span:nth-child(1) {
      top: 0;
  }

  .icon-hamburger span:nth-child(2), 
  .icon-hamburger span:nth-child(3) {
      top: 10px;
      width: 60%;
  }
  
  .icon-hamburger span:nth-child(4) {
      top: 20px;
  }

  /* Hamburger in apertura */
  .open .icon-hamburger {
      transform: rotate(180deg);
  }

  .open .icon-hamburger span:nth-child(1),
  .open .icon-hamburger span:nth-child(4) {
      width: 0%;
  }

  .open .icon-hamburger span:nth-child(2) {
      transform: rotate(45deg);
      width: 100%;
  }

  .open .icon-hamburger span:nth-child(3) {
      transform: rotate(-45deg);
      width: 100%;
  }


  /* Fine Hamburger */
