html, body {height: 100%;}
body{background: rgb(203,224,179)}

/* NOTE: animazione per il menu che scrolla tipo tenda*/
.animate {
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

p{line-height: 22px;}


/*--------------------------------------------------------*/
/*------------------------HEADER--------------------------*/
/*--------------------------------------------------------*/

.header {
  background-color: rgb(203,224,179);
}

.header__logo {
  float: left;
  display: block;
  padding-left: 10px;
  padding-top: 5px;
  width: 120px;
  margin-left: 10px;
  margin-top:5px;
}

.header__menu {
  float: right;
  margin: 0px;
  padding: 10px;
}

.header__menu__item {
  display: inline-block;
  text-decoration: none;
  font-family: "Meno Display Condensed", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-weight: bold;
}

.header__menu__item a {
  color: #fff;
  display: inline-block;
  padding:25px;
  margin-bottom: 5px;
  text-decoration: none;
  font-size: 22px;
}

.header__icon_bar {
  display: block;
  float: right;
  padding: 20px;
  display: none;
}

.header__icon_bar span {
  display: block;
  height: 5px;
  width: 40px;
  background: rgb(175,56,36);
  margin-bottom: 5px;
  border-radius: 3px;
}

/* NOTE: per sottolineare il testo dal centro quando ci vado sopra*/
.header__menu__item a {
     display: inline-block;
     position: relative;
     padding-bottom: 3px;
}

.header__menu__item a:after {
     content: '';
     display: block;
     margin: auto;
     height: 3px;
     width: 0px;
     background: transparent;
     transition: width .5s ease, background-color .5s ease;
}

.header__menu__item a:hover:after,
.header__menu__item a:focus:after {
     width: 100%;
     background: rgb(175,56,36);
}
/* NOTE: per sottolineare il testo dal centro quando ci vado sopra*/

/*------------------------HEADER--------------------------*/

/*--------------------------------------------------------*/
/*------------------------COVER---------------------------*/
/*--------------------------------------------------------*/

.cover {
  height: 800px;
  position: top;
  background-image: url("Foto%20Utili/Ordina%20Ora/CreTartVarie.jpeg");
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
/*o-background-size e moz-background-size servono per essere compatibili con tipo opera e altri browser*/
  background-position: center;
  position: relative;
  z-index: -1;
}

.cover__filter {
  background: black;
  width: 100%;
  height:100%;
  opacity: 30%;
  position: absolute;
  z-index: 0;
}

.cover_caption {
  display: table;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
}

.cover_caption_copy {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-family: "Meno Display Condensed", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-weight: bold;
  font-size: 20px;
}

/* -----------------------COVER-------------------------- */

/*--------------------------------------------------------*/
/*---------------------FORM ORDINE------------------------*/
/*--------------------------------------------------------*/

.form {
  margin: 10%;
  margin-top: 5%;
  font-family: "Meno Display", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-weight: bold;
  font-size: 20px;
  display: block;
  color: black;
  text-align: center;
}

#oggetto {
  background-color: rgb(255,253,231);
  width:70%;
  border: 2px solid rgb(156,156,156);
}

#messaggio {
  background-color: rgb(255,253,231);
  width:70%;
  border: 2px solid rgb(156,156,156);
}

#button {
  margin-top: 5%;
  font-size: 20px;
  width: 20%;
  padding: 1%;
  font-family: "Meno Display", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-weight: bold;
  background-color: rgb(175,56,36);
  color: white;
}

.form_scritte{
  margin:5%;
}

.form_scritte h1{
  font-size: 40px;
  font-family: "Meno Display Condensed", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-weight: bold;
  text-align: center;
  color: rgb(175,56,36);
}

.form_scritte h2{
  font-size: 25px;
  font-family: "Meno Display", "Montserrat", "Helvetica Neue", "Helvetica", "Arial";
  font-style: italic;
  text-align: center;
  color: black;
}
/*---------------------FORM ORDINE------------------------*/


/*--------------------------------------------------------*/
/*--------------------BANNER SOTTO------------------------*/
/*--------------------------------------------------------*/

.banner_sotto {
  width: 100%;
  background-color: rgb(156,156,156);
}

.card_banner {
  width: 20%;
  margin-left: 2.5%;
  margin-right: 2.5%;
  margin-top: 1.5%;
  margin-bottom: 1.5%;
  float: left;
  display: block;
}


.card__copy_banner h3 {
  text-align: center;
  font-family: "Meno Display Condensed Bold", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-size: 20px;
  margin-top: 1%;
  color: rgb(175,56,36);
}

.card__copy_banner p {
  margin-top: 10px;
  text-align: center;
  display: block;
  padding: 10px;
  color: rgb(255,253,231);
  margin: 0 auto;
  font-family: "Meno Display", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-size: 18px;
}

.card__copy_banner a {
  margin-top: 10px;
  text-align: center;
  display: block;
  padding: 10px;
  color: rgb(255,253,231);
  margin: 0 auto;
  font-family: "Meno Display", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-size: 18px;
  text-decoration: none;
}

#telcompsopra {
  display: block;
  margin:0;
}

#telcellsopra {display: none;}

#telcompsotto {
  display: block;
  margin:0;
}

#telcellsotto {display: none;}

/*--------------------BANNER SOTTO------------------------*/


/*--------------------------------------------------------*/
/*-----------------------FOOTER---------------------------*/
/*--------------------------------------------------------*/

.footer {
  background: rgb(175,56,36);
  color: #fff;
  float: right;
  width: 100%;
  }

.footer p {
  padding: 1%;
  font-family: "Meno Display Condensed", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-size: 18px;
  font-weight: bold;
  margin-left: 2.5%
}
.insta {
  width:2%;
  padding: 2%;
  float: right;
  display: block;
  margin-right: 20%
  }

/*------------------------FOOTER--------------------------*/


/*--------------------------------------------------------*/
/*-----------------------EFFETTI--------------------------*/
/*--------------------------------------------------------*/

/* NOTE: fadein immagine, logo, bottone */
.fadeIn {
 -webkit-animation-name: fadeIn;
 animation-name: fadeIn;
 -webkit-animation-duration: 3s;
 animation-duration: 3s;
 -webkit-animation-fill-mode: both;
 animation-fill-mode: both;
 }
 @-webkit-keyframes fadeIn {
 0% {opacity: 0;}
 100% {opacity: 1;}
 }
 @keyframes fadeIn {
 0% {opacity: 0;}
 100% {opacity: 1;}
 }

/* NOTE: slideinleft scritta centrale*/
 .slideInLeft {
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  }
  @-webkit-keyframes slideInLeft {
  0% {
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  visibility: visible;
  }
  100% {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  }
  }
  @keyframes slideInLeft {
  0% {
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  visibility: visible;
  }
  100% {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  }
  }

/* NOTE: Fadein scrolling */
.fadeimg {
  visibility: hidden;
}
.fadeimg.fadein {
  visibility: visible !important;
  -webkit-animation: fade_in_anim 1.2s;
  animation: fade_in_anim 1.2s;
}
@-moz-keyframes fade_in_anim {
  0%{opacity:0}
  100%{opacity:1}
}
@-webkit-keyframes fade_in_anim {
  0%{opacity:0}
  100%{opacity:1}
}
@keyframes fade_in_anim {
  0%{opacity:0}
  100%{opacity:1}
}

/*-----------------------EFFETTI--------------------------*/


/*--------------------------------------------------------*/
/*----------------------RESPONSIVE------------------------*/
/*--------------------------------------------------------*/

/* NOTE: menu per smartphone*/
@media (max-width: 768px){
.header {position: fixed; z-index: 100; width: 100%;}
.header__icon_bar {display: block;}
.header__menu {width: 100%; height: 0px; overflow: hidden;}
.header__menu__item {display: block;}
.header__logo{width: 100px; height: auto; margin-left: 5px;}
.is-open{height:300px; overflow: auto;}
.button{width: 40%}
}

/* NOTE: cover per smartphone e tablet verticali*/
@media screen and (max-width: 600px) {
  .cover{
    height: 100%;
    background-size: cover;
  }
}
 @media screen and (max-width: 768px) and (orientation: portrait){
 .cover{
   height: 100%;
   background-size: cover;
 }
}
/* NOTE: cover per smartphone e tablet verticali*/

/* NOTE: scrittalogo per smartphone e tablet*/
@media screen and (min-width: 992px) {
  .scrittalogosmart{display:none}
  .scrittalogo{
    width:60%
  }
}
@media screen and (min-width: 768px) {
  .scrittalogosmart{display:none}
  .scrittalogo{
    width:80%
  }
}

@media screen and (max-width: 768px){
  .scrittalogo{display:none}
  .scrittalogosmart{
    width:100%
  }
}
/* NOTE: scrittalogo per smartphone e tablet*/

/* NOTE: cards e banner */
@media (max-width: 768px){
  .card_banner{width: 100%; margin:0;}
  .card__copy_banner {width: 100%; margin-top: 5%;}
  .card__copy_banner h3{margin-bottom: 0px;}
  .card__copy_banner a, .card__copy_banner p{padding: 5px;}
  .banner_sotto{height: 46%; padding-bottom: 5%;}
  #telcellsopra{display: block;}
  #telcompsopra{display: none;}
  #telcellsotto{display: block;}
  #telcompsotto{display: none;}
  .insta{width: 10%; margin-right: 3%}
  }

  /* NOTE: cards e banner */


/* NOTE: form */
@media (max-width: 768px){
    .form{margin:2.5%; margin-bottom: 5%;}
    #button{margin-bottom: 10%; width: 50%; padding: 2%; font-size: 16px;}
    .form_scritte{margin:10%; margin-top: 15%;}
    .form_scritte h2{font-size: 24px;}
}

/* NOTE: form */

  /*----------------------RESPONSIVE------------------------*/


  /*--------------------------------------------------------*/
  /* ---------------BOTTONE PER TORNARE SU----------------- */
  /*--------------------------------------------------------*/

  /*bottone*/
  #bottone {
    display: inline-block;
    background-color: grey;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 30px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s,
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }

  /*freccina dentro bottone: after genere un elemento dopo il bottone*/
  #bottone::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
  }

  /*cambio colore quando si è sopra*/
  #bottone:hover {
    cursor: pointer;
    background-color: #333;
  }

  /*cambio colore quando si clicca*/
  #bottone:active {
    background-color: #555;
  }

  /*quando si vede il bottone*/
  #bottone.show {
    opacity: 1;
    visibility: visible;
  }

  .content {
    width: 77%;
    margin: 50px auto;
    font-family: 'Merriweather', serif;
    font-size: 17px;
    color: #6c767a;
    line-height: 1.9;
  }

  @media (min-width: 500px) {
    .content {
      width: 43%;
    }

    #bottone {
      margin: 30px;
    }
  }
  /* ---------------BOTTONE PER TORNARE SU----------------- */

.linkattivo a {color: rgb(175,56,36);}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
  }
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */
