/* Tavolozza colore */
:root {
  --primary: #222222;
  --secondary: #e7f4fa72;
  --accent: #55080D;
  --light: #fff;
  --dark: #111111;
}

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

li {
  list-style-type: none;
}

a {
  text-decoration: none;
  margin-top: 15px;
  font-size: 18px;

}

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

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

html {
  scroll-behavior: smooth;
}

.res {
  width: 50%;
  max-width: 350px;
  padding-top: 2%;
  margin: 0 auto;
  padding: 20px;
  border-radius: 2em;
}

.clip {
  clip-path: circle(40%);
  margin: 0 auto;
  padding: 20px;
  width: 70%;
}

.sfondo {
  background-color: #111111;
}

/* Tipografia */
h1 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
}

h2 {
  font-family: 'Cormorant',
    serif;
  font-style: italic;

  color: var(--accent);
  font-size: 185%;
  padding-top: 4%;
  padding-left: 19%;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  font-size: 200%;
  padding-bottom: 2%;
}

p {
  font-family: 'Hind Madurai',
    sans-serif;
  padding-top: 1%;
  padding-bottom: 1%;
}

.title {
  font-size: 300%;
  color: var(--dark);
}

.intro {
  padding-top: 10%;
  padding-bottom: 2%;
  padding-right: 3%;
  font-size: 19px;
  text-align: left;
  color: var(--dark);

}

.title__autore {
  padding-top: 0%;
}

.content__sinossi {
  background-color: var(--light);
  padding: 8%;
  margin: 5%;
  margin-bottom: 10%;
  border-radius: 2em;
  border: solid;
  box-shadow: 8px 5px 0px rgb(255 255 255 / 21%)
}

.leading {
  padding-top: 4%;
}

.leading p{
  
}

.psize_sinossi p{
  font-size: 19px;
}

.content__autore {
  background-color: var(--light);
  padding: 8%;
  margin: 5%;
  border-radius: 2em;
  border: solid;
  box-shadow: 8px 5px 0px rgb(255 255 255 / 21%)
}

.content__autore p{
  font-size: 19px;
}

header {
  background: var(--primary);
  color: var(--light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  height: 70px;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  padding: 15px;
  padding-bottom: 0;
  transition: 0.8s;
}

/* Menu */
.nav-toggle-btn .fa-solid {
  font-size: 2.5em;
  color: var(--light);
}

.nav-toggle-btn.active .open,
.nav-toggle-btn .close {
  display: none;
}

.nav-toggle-btn .open,
.nav-toggle-btn.active .close {
  display: block;
}

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

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

.active .cover__menu {
  visibility: visible;
}

.cover.active {
  height: 220px;
}

header h1 {
  color: var(--light);
}

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

/* Hero */
.hero {
  background-color: var(--light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-left: 7%;
  padding-top: 12%;
  padding-bottom: 10%;
  margin: 5%;
  margin-top: 10%;
  margin-bottom: 10%;
  border-radius: 2em;
  border: solid;
  box-shadow: 8px 5px 0px rgb(255 255 255 / 21%);

}

.cta-group {
  font-family: 'Montserrat',
    sans-serif;
  font-size: 15px;
  margin-top: 40px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 5px;
  padding-top: 40px;

}

.cta__primary,
.cta__secondary {
  padding: 10px 25px;
  border-radius: 6px;
  font-weight: 300;
  box-shadow: 3px 4px 0px rgb(10 10 10 / 21%);
}

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

}

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

.cta__secondary {
  background: var(--light);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta__secondary:is(:hover, :focus) {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

/* ACQUISTA */
.title__acquista {
  text-align: center;
  color: var(--dark);
  font-size: 30px;
  padding-top: 10%;
  /* text-shadow: 2px 2px 4px black; */

}

.intro__acquista {
  text-align: center;
  padding-top: 10%;
  padding-bottom: 4%;
  font-size: 19px;
  margin-right: 4%;
  margin-left: 4%;

}

.content__acquista {
  background-color: var(--light);
  border: solid;
  margin-top: 50px;
  margin: 5%;
  margin-top: 10%;
  margin-bottom: 10%;
  border-radius: 2em;
  box-shadow: 8px 5px 0px rgb(255 255 255 / 21%);
}

.mockup {
  width: 55%;
  max-width: 600px;
  padding-top: 1%;
  margin: 0 auto;
  padding: 20px;
  filter: brightness(0.85) saturate(1.5) contrast(1);

}

.bottone__acquista {
  background-color: var(--light);
  padding: 3%;
  text-align: center;
  font-family: 'Hind Madurai',
    sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--dark);
  border: solid;
  border-width: 2px;
  border-color: var(--dark);
  border-radius: 6px;
  margin-left: 15%;
  margin-right: 15%;
  margin-top: 5%;
  margin-bottom: 10%;
  box-shadow: 3px 4px 0px #1a1a1a;
}

/* ALTRE PUBBLICAZIONI */
.content_pubblicazioni {
  background-color: var(--accent);
  border: solid;
  border-color: #1a1a1a;
  margin-top: 50px;
  margin: 5%;
  margin-top: 10%;
  margin-bottom: 10%;
  border-radius: 2em;
  box-shadow: 8px 5px 0px #1a1a1a;
}

.title_pubblicazioni {
  color: var(--light);
  text-align: center;
  padding-top: 10%;
}

:root {
  --background-dark: #2d3548;
  --text-light: rgba(255, 255, 255, 0.6);
  --text-lighter: rgba(255, 255, 255, 0.9);
  --spacing-s: 8px;
  --spacing-m: 16px;
  --spacing-l: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 64px;
  --width-container: 1200px;
}

* {
  border: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

body {
  height: 100%;
}

.hero-section {
  align-items: flex-start;
  background-color: var(--accent);
  display: flex;
  min-height: 100%;
  justify-content: center;
  padding-top: 6%;
  padding-left: 10%;
  padding-right: 10%;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-column-gap: var(--spacing-l);
  grid-row-gap: var(--spacing-l);
  max-width: var(--width-container);
  width: 75%;
}

@media(min-width: 767) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 20%;
    width: 67%;
  }
}

@media(min-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 20%;
    width: 67%;
  }
}

.card {
  list-style: none;
  position: relative;
}

.card:before {
  content: '';
  display: block;
  padding-bottom: 150%;
  width: 100%;
}

.card__background {
  background-size: cover;
  background-position: center;
  border-radius: var(--spacing-l);
  bottom: 0;
  /* filter: brightness(0.75) saturate(1.2) contrast(0.85); */
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: center;
  transform: scale(1) translateZ(0);
  transition:
    filter 200ms linear,
    transform 200ms linear;
  box-shadow: 8px 5px 0px #1a1a1a;

}

a .card:hover .card__background {
  transform: scale(1.05) translateZ(0);
}

/* .card-grid:hover>.card:not(:hover) .card__background {
  filter: brightness(0.5) saturate(0) contrast(1.2) blur(20px);
} */

.card__content {
  left: 0;
  padding: var(--spacing-l);
  position: absolute;
  top: 0;
}

.card__category {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-s);
  text-transform: uppercase;
}

.card__heading {
  color: var(--text-lighter);
  font-size: 1.9rem;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
  word-spacing: 100vw;
}

/* NEWSLETTER */
.content__newsletter {
  background: var(--light);
  padding: 15px;
  margin: 20px 0;
  border-radius: 2em;
}

.title__newsletter {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  font-size: 200%;
  padding-bottom: 2%;
  text-align: center;
  padding-top: 10%;
}

.sottotitolo__newsletter {
  font-family: 'Hind Madurai', sans-serif;
}

.testo__pubblicazioni {
  font-family: 'Hind Madurai', sans-serif;
  color: var(--light);
  text-align: center;
  font-size: 19px;
  padding-top: 10px;
}

/* FOOTER */
.btt__container {
  margin: 32px 30px;
}

.btt {
  border: solid;
  border-color: var(--primary);
  border-radius: 2em;
  border-width: 1px;
  text-align: center;
  display: flex;
  margin-left: 100px;
  margin-right: 100px;
  flex-direction: column;
}

.footer {
  /* margin-bottom: 20px; */
}

.button__tornasu {
  color: var(--light);
  text-align: center;
  font-family: 'Hind Madurai', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding-bottom: 15px;
}

/* Tabbar */
.tabbar {
  height: 65px;
  width: 100%;
  position: relative;
  background-color: var(--primary);
}

.tabbar__menu {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 75px;
  background: var(--sedondary);
  padding-top: 4px;
  margin-top: 10px;
}

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

.tabbar a {
  font-size: 2em;
  color: var(--light);
  border-radius: 100%;
  background-color: var(--primary);
  padding: 15px;
}

.tabbar a:is(:hover, :focus) {
  font-size: 3.5em;
  transform: translateY(-20px);
  transition: 250ms cubic-bezier(.17, .67, .83, .67);

}




/* Media query Medium */
@media (min-width: 767px) {
  a {
    font-size: 20px;
  }

  .res {
    width: 95%;
  }


  .cta__primary:hover {
    transform: scale(1.05) translateZ(0);
  }

  .cta__secondary:hover {
    transform: scale(1.05) translateZ(0);
  }

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

  .cover__menu {
    all: unset;
  }

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

  .cover__hb {
    display: none;
  }

  .hero {
    flex-direction: row;
    margin-bottom: 10%;
    padding-top: 3%;
  }

  .hero__text {
    width: 60%;
  }

  .hero__cover {
    width: 40%;
  }

  .hero__cover img {
    margin: 5px auto;
  }

  .content__sinossi {
    border-radius: 4em;
    margin-top: 0px;
  }

  /* ACQUISTA */

  .title__acquista {
    padding-top: 5%;
    color: var(--dark);
  }

  .content__acquista {
    
    margin: 40px;
  }

  .intro__acquista {
    padding-top: 3%;
    padding-bottom: 3%;
    color: var(--dark);
  }

  .mockup {
    width: 35%;
    max-width: 350px;
    padding-top: 1%;
    margin: 0 auto;
    padding: 20px;
  }

  .bottone__acquista {
    font-size: 20px;
    margin-left: 25%;
    margin-right: 25%;
    background-color: #333;
    color: rgb(255 255 255);
  }

  .bottone__acquista:hover {
    transform: scale(1.05) translateZ(0);
  }

  .content_pubblicazioni {
    margin-top: 5%;
  }

  .btt {
    border: solid;
    border-color: var(--primary);
    border-radius: 2em;
    border-width: 1px;
    text-align: center;
    display: flex;
    margin-left: 250px;
    margin-right: 250px;
    flex-direction: column;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 20%;
    width: 67%;
  }

  .button__tornasu {
    
    text-align: center;
    font-family: 'Hind Madurai', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding-bottom: 15px;
  }

  .btt__container {
    margin: 40px 75px;
  }
}

/* Media query Large */

@media (min-width: 992px) {
  a {
    font-size: 25px;

  }

  h2 {
    padding: 2%;
    text-align: inherit;
    margin-left: 50px;
    font-size: 30px;
    margin-top: 5px;
  }

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

  .content__autore {
    width: 50%;
    background-color: var(--light);
    padding: 4%;
    margin: 3%;
    margin-top: 0;
    margin-left: 2%;
    border-radius: 2em;
    border: solid;
    box-shadow: 8px 5px 0px rgb(255 255 255 / 21%);
  }

  .title__autore {
    padding-top: 0%;
  }

  .res {
    clip-path: none;
    width: 70%;
    border-radius: 2em;

  }

  .psize_sinossi {
    font-size: 15px;
  }

  .hero {
    padding-top: 3%;
    padding-bottom: 3%;
    background-color: var(--light);
    border-radius: 4em;
    border-width: 1px;
    margin-top: 2%;
    margin-left: 2%;
    margin-right: 2%;
    margin-bottom: 5%;
  }

  .title {
    font-size: 400%;
  }

  h2 {
    padding: 2%;
  }

  h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 200%;
    padding-bottom: 2%;
  }

  .intro {
    font-size: 22px;
    padding-top: 5%;
  }

  .cta-group {
    font-family: 'Montserrat',
      sans-serif;
    font-size: 25px;
    margin-top: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }

  .container {
    margin-top: 5%;
    display: flex;
    margin-bottom: 5%;
  }


  .content__sinossi {
    width: 50%;
    border-radius: 2em;
    margin-left: 2%;
    margin-right: 2%;
    padding: 4%;
    margin-top: 0px;
    margin: 3%;
    margin-top: 0;
  }

  /* ACQUISTA */
  .content__acquista {
    /* background-color: var(--dark);
    border: none;
    box-shadow: none; */
    margin: 0 110px;
  }

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

  .title__acquista {
    padding-top: 10px;
    color: var(--primary);
    font-size: 40px;
  }

  .mockup {
    width: 35%;
    max-width: 300px;
    padding-top: 2%;
    margin: 0 auto;
    padding: 20px;
  }

  .intro__acquista {
    text-align: center;
    padding-bottom: 1%;
    font-size: 19px;
    padding-top: 2%;
    color: var(--dark);
  }

  .bottone__acquista {
    font-size: 20px;
    margin-top: 25px;
    margin-left: 35%;
    margin-right: 35%;
    margin-bottom: 10px;
    padding: 1%;

  }

  .content_pubblicazioni {
    background-color: var(--dark);
    border: solid;
    border-color:var(--light);
    margin-top: 50px;
    margin: 5%;
    margin-top: 5%;
    margin-bottom: 10%;
    border-radius: 2em;
    box-shadow: 8px 5px 0px #333;
  }

  .title_pubblicazioni {
    color: var(--light);
    text-align: center;
    padding-top: 3%;
  }

  .testo__pubblicazioni {
    font-family: 'Hind Madurai', sans-serif;
    color: var(--light);
    text-align: center;
    font-size: 17px;
    padding-top: 10px;
  }

  .hero-section {
    align-items: flex-start;
    background-color: var(--dark);
    display: flex;
    min-height: 100%;
    justify-content: center;
    padding-top: 4%;
    padding-left: 10%;
    padding-right: 10%;
  }

  .btt {
    border: solid;
    border-color: var(--primary);
    border-radius: 2em;
    border-width: 1px;
    text-align: center;
    display: flex;
    margin-left: 300px;
    margin-right: 300px;
    flex-direction: column;
  }

  .btt__container {
    margin: 50px 154px;
  }
}














/* ! Questa 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 input {
  border: 1px solid #ABB0B2;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

#mc_embed_signup input[type=checkbox] {
  -webkit-appearance: checkbox;
}

#mc_embed_signup input[type=radio] {
  -webkit-appearance: radio;
}

#mc_embed_signup input:focus {
  border-color: #333;
}

#mc_embed_signup .button {
  clear: both;
  background-color: #aaa;
  border: 0 none;
  border-radius: 4px;
  transition: all 0.23s ease-in-out 0s;
  color: #FFFFFF;
  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: #777;
}

#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 .size1of2 {
  clear: none;
  float: left;
  display: inline-block;
  width: 46%;
  margin-right: 4%;
}

* html #mc_embed_signup .size1of2 {
  margin-right: 2%;
  /* Fix for IE6 double margins. */
}

#mc_embed_signup .mc-field-group label {
  display: block;
  margin-bottom: 3px;
}

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

#mc_embed_signup .mc-field-group select {
  display: inline-block;
  width: 99%;
  padding: 5px 0;
  margin-bottom: 2px;
}

#mc_embed_signup .datefield,
#mc_embed_signup .phonefield-us {
  padding: 5px 0;
}

#mc_embed_signup .datefield input,
#mc_embed_signup .phonefield-us input {
  display: inline;
  width: 60px;
  margin: 0 2px;
  letter-spacing: 1px;
  text-align: center;
  padding: 5px 0 2px 0;
}

#mc_embed_signup .phonefield-us .phonearea input,
#mc_embed_signup .phonefield-us .phonedetail1 input {
  width: 40px;
}

#mc_embed_signup .datefield .monthfield input,
#mc_embed_signup .datefield .dayfield input {
  width: 30px;
}

#mc_embed_signup .datefield label,
#mc_embed_signup .phonefield-us label {
  display: none;
}

#mc_embed_signup .indicates-required {
  text-align: right;
  font-size: 11px;
  margin-right: 4%;
}

#mc_embed_signup .asterisk {
  color: #e85c41;
  font-size: 150%;
  font-weight: normal;
  position: relative;
  top: 5px;
}

#mc_embed_signup .clear {
  clear: both;
}

#mc_embed_signup .mc-field-group.input-group ul {
  margin: 0;
  padding: 5px 0;
  list-style: none;
}

#mc_embed_signup .mc-field-group.input-group ul li {
  display: block;
  padding: 3px 0;
  margin: 0;
}

#mc_embed_signup .mc-field-group.input-group label {
  display: inline;
}

#mc_embed_signup .mc-field-group.input-group input {
  display: inline;
  width: auto;
  border: none;
}

#mc_embed_signup div#mce-responses {
  float: left;
  top: -1.4em;
  padding: 0em .5em 0em .5em;
  overflow: hidden;
  width: 90%;
  margin: 0 5%;
  clear: both;
}

#mc_embed_signup div.response {
  margin: 1em 0;
  padding: 1em .5em .5em 0;
  font-weight: bold;
  float: left;
  top: -1.5em;
  z-index: 1;
  width: 80%;
}

#mc_embed_signup #mce-error-response {
  display: none;
}

#mc_embed_signup #mce-success-response {
  color: #529214;
  display: none;
}

#mc_embed_signup label.error {
  display: block;
  float: none;
  width: auto;
  margin-left: 1.05em;
  text-align: left;
  padding: .5em 0;
}

#mc-embedded-subscribe {
  clear: both;
  width: auto;
  display: block;
  margin: 1em 0 1em 5%;
}

#mc_embed_signup #num-subscribers {
  font-size: 1.1em;
}

#mc_embed_signup #num-subscribers span {
  padding: .5em;
  border: 1px solid #ccc;
  margin-right: .5em;
  font-weight: bold;
}

#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
  display: inline-block;
  margin: 2px 0 1em 0;
  padding: 5px 10px;
  background-color: rgba(255, 255, 255, 0.85);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: normal;
  z-index: 1;
  color: #e85c41;
}

#mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {
  border: 2px solid #e85c41;
}

#mc-embedded-subscribe-form input[type=checkbox] {
  display: inline;
  width: auto;
  margin-right: 10px;
}

#mergeRow-gdpr {
  margin-top: 20px;
}

#mergeRow-gdpr fieldset label {
  font-weight: normal;
}

#mc-embedded-subscribe-form .mc_fieldset {
  border: none;
  min-height: 0px;
  padding-bottom: 0px;
}