/* tavolozza colore */
/* root=radice, si usa per selezionare tutto il documento */
:root {
  --primary: #747474;
  --secondary: #acb8ba;
  --accente: #bfdccb;
  --light: #eeeeee;
  --dark: #293755f4;
}

/* reset=impostazioni fisse */
* {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: var(--accente);
}

/* impostazione per il layout degli elementi elencati*/
a,
img,
button,
.fa-solid {
  display: block;
}

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

/* per ammorbidire lo scroll all'itnerno della pagina */
html {
  scroll-behavior: smooth;
}

.res {
  width: 100%;
  max-width: 350px;
  opacity: 90%;
  border-radius: 10px;
}

.clip {
  clip-path: content-box;
}

/* tipografia */

h2 {
  font-family: "Orbitron", sans-serif;
  color: var(--dark);
}

h3,
h5,
h6,
p {
  font-family: "Barlow", sans-serif;
  color: var(--primary);
  font-size: 22px;
}

p {
  text-align: justify;
}

h4 {
  font-family: "Barlow", sans-serif;
  color: var(--light);
}

a,
h1 {
  font-family: "Orbitron";
}

.banda__info {
  font-family: "Orbitron";
  color: var(--light);
}

.banda__info,
.banda_media,
.banda__legal,
a {
  font-size: medium;
}

header {
  background: url(img/video_albertodubito_2.gif);
  background-size: cover;
  background-position: center;
  opacity: 80%;
  color: var(--light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  height: 90px;
  overflow: hidden;
  font-family: "Orbitron", sans-serif;
  padding: 50px;
  transition: 0.4s cubic-bezier(0.79, 0.25, 0.36, 0.87);
}

/* menu */
/* non ci vuole la virgola perchè se la metto il secondo è figlio del primo, invece sono al pari */
.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: 400px;
}

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

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

.autore__container div img {
  width: 400px;
  height: 300px;
  border-radius: 10px;
}

/* hero */

.hero {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-left: 40px;
}

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

.cta__primary,
.cta__secondary {
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 6px;
}

.cta__primary {
  background: var(--secondary);
  color: var(--light);
  border: 2px solid var(--accente);
}

.cta__primary:is(:hover, :focus) {
  background: var(--light);
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

/* footer */

footer {
  background-image: url(img/header1.jpg);
  background-size: cover;
  background-position: left center;
  opacity: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  height: 20 0px;
  font-family: "Orbitron", sans-serif;
  color: lightgrey;
  font-size: 2em;
  gap: 20px;
  align-items: center;
}

.footer {
  background: transparent;
}

.contatti,
.media,
.legal,
.social {
  display: inline-block;
  justify-content: space-between;
  margin: 50px;
}

.social .icons {
  display: inline-block;
  padding: 10px;
}

div .social i {
  font-size: 40px;
  margin-right: 10px;
}

/* Tabbar */
.tabbar {
  height: 100px;
  width: 100%;
  position: relative;
  /* lo posiziono in modo relativo in modo da gestire altrime elementi in posizionamento assoluto*/
  background: var(--accente);
}

.tabbar__menu {
  display: flex;
  /* non scrivo flax direction row perchè è già di default così */
  justify-content: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: var(--accente);
  padding-top: 15px;
}

.tabbar li {
  display: flex;
  /* sia justify-content, sia align-items seguono sempre diplay; flex. Il primo serve per allineare il contenuto in orizzontale, il secondo in verticale. */
  justify-content: center;
  align-items: center;
  margin: 0 5px; /*il primo comando lavora in alto e in basso, il secondo a dx e sx*/

  /* per distanziare le icone della tabbar tra di loro */
  height: 60px;
  width: 60px;
}

.tabbar a {
  font-size: 2em; /* la dimensione delle icone è di default 16px, per aumentare la dimensione utilizzo un'unità di misura relativa come em. 3em significa che moltiplico 16px per 3.*/
  color: var(--primary);
  border-radius: 100%; /* si usa per smussare gli angoli */
  background: var(--accente);
  padding: 15px;
}

.tabbar a:is(:hover, :focus) {
  font-size: 3.5em;
  /* spostare le icone sull'asse delle y, ovveor in verticale */
  transform: translateY(-20px);
  transition: 100ms cubic-bezier(0.13, 0.87, 0.8, 0.36);
}

/* Media query Medium */

@media (min-width: 767px) {
  .cover,
  .cover.active {
    height: 150px;
    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;
  }

  .hero__text {
    width: 50%;
  }

  .hero__cover {
    width: 50%;
  }

  .hero__cover img {
    margin: 5px auto;
  }

  .content__autore img {
    margin-bottom: 20px;
    margin-top: 20px;
  }
  .content__autore .autore__container p {
    margin-top: 20px;
  }
}

@media (max-width: 766px) {
  .content__autore img {
    margin-bottom: 20px;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .content__newsletter a {
    color: #333;
    font-size: 1.25em;
    font-weight: 700;
    font-family: "Barlow", sans-serif;
  }
}

/* Media query Large */
@media (min-width: 767px) {
  .container {
    display: contents;
  }

  .content__sinossi {
    width: 95%;
    text-align: justify;
    background-color: var(--light);
    margin: auto;
  }

  .content__autore {
    width: 95%;
    text-align: justify;
    margin: 20px auto;
  }

  .content__autore .autore__container {
    display: flex;
    justify-content: space-between;
    gap: 10px 20px;
  }

  .content__newsletter {
    width: 95%;
    margin: 20px auto;
  }

  .content__newsletter a {
    color: #333;
    font-size: 1.25em;
    font-weight: 700;
    font-family: "Barlow", sans-serif;
  }
}

/* MailChimp Form Embed Code - Classic - 12/17/2015 v10.7 */
#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 0.5em 0em 0.5em;
  overflow: hidden;
  width: 90%;
  margin: 0 5%;
  clear: both;
}

#mc_embed_signup div.response {
  margin: 1em 0;
  padding: 1em 0.5em 0.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: 0.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: 0.5em;
  border: 1px solid #ccc;
  margin-right: 0.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;
}

.newsletter__form label {
  font-family: "Barlow", sans-serif;
}
