/* --------------------------------

Primary style

-------------------------------- */

*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  height: 100%;

}

body {
  margin: 0px;
  padding: 0px;
  background-color: #ffffff;
  color: #666;
  font-size: 1.6rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
  /*background:url(../images/bg.jpg); background-size:cover*/
}

span a, p a {
  color: #3e803a;
  font-weight: 500
}

a:hover {
  opacity: 0.6
}

a {
  color: #3e803a;
  text-decoration: none;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

img {
  max-width: 100%;
}

input {
  font-family: sans-serif;
  font-size: 1.6rem;
}

input[type="search"]::-ms-clear {
  display: none;
}

input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-results-button, input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

h1 { font-size: 2.5vw; text-align: center;}

.btnDown {
  bottom: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  position: absolute;
  text-align: center;
  text-shadow: none;
  width: 100%;
  z-index: 9;
}


/*
==============================================
bounce
==============================================
*/

.bounce {
  animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  -moz-animation: bounce 2s infinite;
  -o-animation: bounce 2s infinite;
}


@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}


/*FALLBACK*/

#fallback {
  position: relative;
  max-width: 700px;
  margin: 50px auto;
  font-size: 14px;
}

#fallback a, #fallback li {
  color: #fff;
  text-decoration: underline
}

#fallback a:hover {
  text-decoration: underline;
  font-weight: 700;
}

#logoFallback {
  position: relative;
  margin: 10px auto 30px auto;
  text-align: center
}

#chisiamo  {
  max-width: 800px;
  width: 100%;
  margin: 20px auto;

}

#chisiamo h1 {
  text-align: center;

}
/* FINE FALLBACK*/

.video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  background-size: cover;
}

.bgScrollImage {
  background: url(../images/bg-foodguru.svg) fixed center no-repeat;
  background-size: cover;
}

.bgScroll {
  width: 100%;
  position: relative;
  z-index: 0;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
}


.logoContatti {
  margin: 25px auto;
  max-width: 250px;
  height: auto;
  display: block;
}

#foodguru {
  clear: both;
  padding: 50px 0 ;
  text-align: center;
}

.wrap-home {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 auto;
  text-align: center;
  max-width: 50%;
  width: 100%;
  height: auto;
  color: #fff;
  font-size: 20px;
}

.wrap-home p {
  text-align: justify;
}

.wrap-home img {
  max-width: 450px;
  height: auto;
  margin: 0 auto;
}

.wrap-home h1, .wrap-home h2, .wrap-home h3 {
  color: #fff;
  text-transform: uppercase;
  font-size: 2vw;
}

.titleHome {
line-height:36px; padding-top:20px;
}

.qpc-top-icon {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 50px;
  right: 2vw;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 100%;
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  z-index: 999;
  background: rgba(0, 0, 0, 0.8) url(../images/qpc-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}

.qpc-top.qpc-is-visible, .qpc-top.qpc-fade-out, .no-touch .qpc-top:hover, .hallo.qpc-is-visible, .hallo.qpc-fade-out, .no-touch .hallo:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}

.qpc-top.qpc-is-visible, .hallo.qpc-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}

.qpc-top.qpc-fade-out, .hallo.qpc-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}

.no-touch .qpc-top:hover {
  background-color: #e86256;
  opacity: 1;
}

#footer {
  background: #3e803a none repeat scroll 0 0;
   border-top: 1px solid #333;
   float: left;
   position: relative;
   width: 100%;
   z-index: 10;
}

#footer a {
  color: #fff;
}

i {
  margin-right: 10px;
}

.socialIcons {
  float: left;
  margin: 9px 0 5px 14px;
}

#credit {
  color: #fff;
      font-size: 14px;
      text-align: center;
}

.wrapAnchor {
  width: 100%;
  position: relative;
  z-index: 0;
  float: left;
  overflow: hidden;
  min-height: 100vh;
}


/*  ======== wrapAnchor ======== */



/*  ========  INIZIO STILE CONTATTI ======== */

.mappa {
  width: 100%;
  height: 450px;
  margin-top: 40px
}

#wrapSocialIconsContact {
  position: relative;
  margin: 15px auto 70px auto;
  text-align: center
}

#wrapSocialIconsContact img {
  max-width: 70px;
  height: auto;
  width: 100%;
  margin: 10px;
}


/*  ========  FINE STILE CONTATTI ======== */


@media only screen and (max-width: 1024px) {}

@media only screen and (max-width: 768px) {}


/*iPhone 6 landscape*/

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: landscape) {}

@media only screen and (max-width: 568px) {

  #foodguru{
    font-size: 18px;
  }
.wrap-home img{
  max-width: 100%;
}

  .mappa {
    height: 300px;
  }
  .bgScrollImage {
    background: url(../images/bg-foodguru.svg) scroll center right no-repeat;
    background-size: cover;
  }

  .logoContatti{
    max-width: 150px;
  }

  .noFlex {
    display: none;
  }

  h1 {
font-size: 5.5vw;
}


  #footer {
    position: static;
    float: left;
    display: block;
  }
  #footer a {
    display: block;
    margin: 0 auto;
    text-align: center;
  }
  .socialIcons {
    float: none;
    margin: 9px 0 5px 14px;
  }
  #credit {
    float: none;
    margin: 5px;
    text-align: center;
  }
  #credit span {
    display: block;
  }

  .wrap-home {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 140px auto;
  }
  .wrap-home h1, .wrap-home h2, .wrap-home h3 {
    font-size: 9vw;
    margin: 5px 0 5px 0;
  }
  .wrap-home h2 {
    line-height: 22px;
  }


}
