* {
  color: #ddd;
  font-family: "Montserrat", cy, sans-serif;
  font-weight: 400;
}

body {
  /*background-color: #080e33;*/
  background-color: rgb(0, 105, 105);
  margin: 0 0 0 0;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: teal;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: cadetblue;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}

#sezione1 {
  display: block;
}

#inner-about p,
#inner-about ol li {
  font-size: 16.8px;
}

#indice {
  background-color: DarkCyan;
  padding: 25px;
  border-radius: 15em;
}
#indice ol li,
#indice a {
  font-family: Roboto Slab;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 1.2em;
  margin-bottom:22px;
}

@media only screen and (min-width: 700px) {
  footer {
    padding: 30px 0;
  }

  #text-with-cover {
    padding-top: 20px;
    width: 65%;
    z-index: 3;
    box-shadow: -5px 0px 20px rgba(0, 0, 0, 0.651);
  }

  .main-no-cover {
    padding: 50px 70px;
    max-width: 800px;
    margin: auto;
    /*
    display: block;
    padding-top: 20px;
    width: fit-content;
    max-width: 50%;
    margin: auto;*/
  }

  #inner-about {
    text-align: left;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
  }
  #inner-about div {
    width: 45%;
  }

  #about-h1 {
    text-align: center;
    width: fit-content;
    margin: 0px auto 30px auto;
    border-bottom: none;
  }

  .main-with-cover {
    display: flex;
  }

  .sezioni {
    display: none;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
  }

  div.title {
    text-align: right;
    padding-right: 30px;
  }

  .book-cover {
    width: 35%;
    display: inline-block;
    position: sticky;
    z-index: 1;
    height: 100vh;
    top: 0px;
    left: 0px;

    background-color: #080e33;
    filter: saturate(100%);
    opacity: 70%;
    transition: 0.5s;
  }
  .book-cover:hover {
    opacity: 100%;
  }
}

@media only screen and (max-width: 700px) {
  main,
  footer,
  header {
    padding: 0px 10px;
    text-align: left;
  }

  .sezioni {
    display: none;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 30px;
  }

  header {
    padding-top: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #323860;
    text-transform: uppercase;
  }

  .book-cover {
    display: hidden;
  }
}

div.title {
  display: block;
  font-family: "Montserrat", cy, sans-serif;
  text-transform: uppercase;
}

div.title a {
  color: cadetblue;
  font-weight: 800;
  transition: color 0.7s;
  text-decoration: none;
}

div.title a:hover {
  color: whitesmoke;
}

.giardino-punk {
  font-size: 1.5em;
}

.index {
  font-size: 0.8em;
}

span.title {
  font-weight: 800;
  font-size: large;
  text-align: left;
}

span.title a:hover {
  color: whitesmoke;
}

footer {
  text-align: center;
  font-size: small;
  padding-bottom: 15px;
  padding-top: 50px;
}

#la-vita-segreta {
  background-image: url(cover.jpg);
  background-size: 220%;
  background-repeat: no-repeat;
  background-color: #a2d5cc;
  background-position-x: center;
  background-position-y: 20%;
  filter: blur(1px);
  transition: 0.5s;
}

#la-vita-segreta:hover {
  background-size: 90%;
  background-position-x: right;
  background-position-y: center;
  filter: none;
}

#ronald-pinn {
  background-image: url(ronnie-pinn.png);
  background-size: 180%;
  background-repeat: no-repeat;
  background-color: white;
  background-position-x: right;
  background-position-y: center;
  filter: saturate(0%) brightness(130%);
  transition: 0.5s;
}

#ronald-pinn:hover {
  background-size: 115%;
  background-position-x: right;
  background-position-y: center;
}

#goffman {
  background-image: url(goffman.jpg);
  background-size: 200%;
  background-repeat: no-repeat;
  background-color: #0dfc82;
  background-position-x: center;
  background-position-y: bottom;
  filter: saturate(0%);
  transition: 0.5s;
}

#goffman:hover {
  background-size: 110%;
  background-color: #0dfc82;
  background-position-x: center;
  background-position-y: bottom;
  filter: hue-rotate(200deg);
}

#web {
  background-image: url(rete.jpg);
  background-position-x: center;
  background-position-y: 59%;
  background-size: 1100%;
  filter: saturate(0%) brightness(120%) contrast(1);
  transition: 0.5s;
}

#web:hover {
  background-size: 300%;
  filter: saturate(100%);
  /**/
}

#storytelling {
  background-image: url(stories.jpg);
  background-size: 200%;
  background-repeat: no-repeat;
  background-color: white;
  background-position-x: center;
  background-position-y: top;
  filter: saturate(0%) brightness(130%);
  transition: 0.5s;
}
#storytelling:hover {
  background-size: 100%;
  background-position-x: center;
  background-position-y: center;
  filter: saturate(0%) brightness(130%) contrast(1);
}

#epilogo {
  background-image: url(epilogo.jpg);
  background-size:200%;
  background-repeat: no-repeat;
  background-color: white;
  background-position-x: center;
  background-position-y: center;
  filter: saturate(0%) brightness(130%);
  transition: 0.5s;
}
#epilogo:hover {
  background-size: 120%;
  background-position-x: center;
  background-position-y: center;
  filter: saturate(50%) brightness(130%) contrast(1);
}

.button-avanti {
  border: none;
  background-color: transparent;
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  margin: 30px auto 40px auto;
  background: none;
  font-size: 2em;
  transition: transform 0.25s, text-shadow 0.25s;
}

.button-avanti:hover {
  cursor: pointer;
  transform: translateY(20px);
  text-shadow: 0px 10px 0px whitesmoke;
}

.button-indietro {
  border: none;
  background-color: transparent;
  display: block;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  margin: 40px auto 20px auto;
  background: none;
  font-size: 2em;
  transition: transform 0.25s, text-shadow 0.25s;
}

.button-indietro:hover {
  cursor: pointer;
  transform: translateY(-20px);
  text-shadow: 0px -10px 0px whitesmoke;
}

.divtoshow {
  position: fixed;
  display: none;
  background-color: whitesmoke;
  border-radius: 10px;
  box-shadow: 0px 0px 5px DarkSlateGray;
  padding: 20px;
  color: teal;
  font-weight: 500;
  font-size: 0.8em;
}
.divtoshow em {
  color: teal;
}
