h1 {
  font-size: 40px;
  line-height: 43px;
  font-weight: 700;
  color: var(--nero);
}

h2 {
  font-size: 32px;
  line-height: 36px;
  font-weight: 700;
  color: var(--nero);
}

/*slide*/
#slide {
  background-color: var(--principale);
}

.slider {
  background: url(../images/bg-logotipo.png);
  background-repeat: no-repeat;
  background-position: right bottom;
}

#slide h1 {
  color: var(--secondario);
  font-size: 52px;
  line-height: 54px;
  font-weight: 900;
}

#slide h2 {
  color: var(--bianco);
  font-size: 32px;
  font-weight: 300;
}

#slide h2 strong {
  color: var(--secondario);
  font-weight: 400;
}


/*caratteristiche*/
#caratteristiche {
  padding: 60px 0 40px 0;
}

#caratteristiche .flex div {
  width: 100%;
  background: url(../images/border-left.png);
  background-repeat: no-repeat;
  background-position: top left;
  padding-left: 20px;
  margin-bottom: 30px;
}

#caratteristiche .flex div:nth-child(3) {
  width: 100%;
  background: none;
  border: solid 1px var(--secondario);
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;


}

#caratteristiche .flex div:nth-child(3) a {
  width: 100%;
  display: block;
  border-top: solid 1px var(--grigino);
  padding: 20px 0;
  text-decoration: none;
  text-transform: uppercase;
}


/*faq*/
#faq {
  background-color: var(--grigino);
}

#faq .wrapper {
  background-image: url(/images/faq-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 70px 0;
}

#faq .flex div {
  width: 100%;
}

#faq .flex div.faq-box {
  width: 100%;
  background-color: var(--bianco);
  padding: 25px;
  border-radius: 25px;
  border-top-right-radius: 0px;
  margin-top: 30px;
}

#faq .flex div.faq-box h3 {
  margin-bottom: 15px;
}

/*news*/
#home-news {
  margin: 80px 0 120px 0;
}




/*associarsi*/
#home-associarsi {
  background-color: var(--principale);
}

#home-associarsi .wrapper {
  background-image: url(/images/logotipo-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

#home-associarsi p {
  margin: 30px 0;
  font-size: 24px;
  font-weight: 100;
}

#home-associarsi .flex50:nth-child(1) {
  background-image: url(/images/associarsi-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  text-align: center;
  padding: 55px 55px 15px 55px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  margin-top: -40px;
  color: var(--bianco);
  margin-bottom: 0px;
}

#home-associarsi .pulsante-bianco {
  margin-bottom: 30px;
}

#home-associarsi .flex50:nth-child(1) h2 {
  color: var(--bianco);
}

#home-associarsi .flex50:nth-child(2) {
  text-align: center;
  padding: 50px;

}

#home-associarsi .flex50:nth-child(2) h2 {
  color: var(--secondario);
  font-size: 36px;

}

#home-associarsi .flex50:nth-child(2) .flex {
  margin: 30px 0 20px 0;
  justify-content: center;

}

#home-associarsi .flex50:nth-child(2) .flex span,
#home-associarsi .flex50:nth-child(2) .flex a {
  color: var(--bianco);
  font-size: 30px;
  text-decoration: none;
  padding: 10px;

}

/*partner*/
#home-partner {
  padding: 90px 0;
}

.partner {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

a.partner {
  font-size: 18px;
  text-decoration: none;
  color: var(--nero);
  font-weight: 300;
}

.partner figure {
  min-height: 90px;
  align-content: end;
}

/*footer*/
footer h2::before {
  display: none;
}


/* ==========================================================================
    MEDIA QUERIES
   ========================================================================== */
@media only screen and (min-width: 480px) {}

@media only screen and (min-width: 768px) {

  /*caratteristiche*/
  #caratteristiche .flex div {
    width: 45%;
  }

  #caratteristiche .flex div:nth-child(3) {
    width: 100%;

  }

  /*faq*/
  #faq .flex div {
    width: 100%;
  }

  #faq .flex div.faq-box {
    width: 45%;
  }

  /*associarsi*/
  #home-associarsi .flex50:nth-child(1) {
    margin-bottom: 80px;
  }

  #home-associarsi .flex50:nth-child(2) .flex {
    justify-content: space-between;

  }

  /*partner*/

  .partner {
    width: 47%;
    
  }


}

@media only screen and (min-width: 1024px) {

  /*slide*/
  #slide .flex figure {
    width: 60%;
    margin-bottom: -50px;
  }

  #slide .flex div {
    width: 40%;
    padding: 0 0 0 40px;
  }

  /*caratteristiche*/
  #caratteristiche {
    padding: 130px 0 70px 0;
  }

  #caratteristiche .flex div {
    width: 30%;
    margin-bottom: 0px;
  }

  #caratteristiche .flex div:nth-child(3) {
    width: 30%;

  }

  /*faq*/
  #faq .flex div {
    width: 25%;
  }

  #faq .flex div.faq-box {
    width: 35%;
    margin-top: 0px;
  }
    /*partner*/

    .partner {
      width: 23%;
      margin-bottom: 0px;
    }

}

@media only screen and (min-width: 1366px) {

  .wrapper,
  .wrapper-no-margin {
    width: 1296px;
    margin: 0px auto;
  }
}