@import url(https://fonts.bunny.net/css?family=montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i);


:root {
  --color_1: #60B2B0; 
  --color_2: #9CAB4E; 
  --color_3: #CD9336; /*link*/
  --color_4: #F1F1F1; /*background grigino*/
}


*{
  box-sizing: border-box;
}

#video_totem {
  padding: 0 !important;
  border-radius: 0 !important;
  background-color: #000 !important;

}

html {
  scroll-behavior: smooth;
}

body{
  margin: 0px;
  padding: 0px;
  font-family: Montserrat !important;
  color: #666;
}

body > div:first-of-type {
  z-index: 1;
  margin-top: 53px;
}

.w1920 {
  width: 96%;
  max-width: 1920px;
  margin: auto;
}

input, textarea {
  background-color: #F1F1F1 !important;
}

td, tr {
  border: none;
  vertical-align: top;
  padding: 0 .75rem;
}

.button-primary {
  background-color: #5FB3AE !important;
}

.button-primary:hover {
  box-shadow: 0 0 8px #ccc;
  letter-spacing: 1.1px;
}

#home .d-4 {
  padding: 0 2%;
}

#home .d-4 h6 {
  margin: 0 auto 1rem auto;

}

h1 {
  text-transform: uppercase;
  font-weight: 300;
  background: -webkit-linear-gradient(0deg, #5EB3B0, #CD9737); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
  margin: 2rem auto;
}

h5 {
  font-weight: 400;
  font-size: 2.2rem;
}

#mercato h5, #come h5 {
  font-weight: 500;
  font-size: 2rem;
  line-height: 2.8rem;
}

strong {
  font-weight: 600;
  color: var(--color_1);
}

h6 {
  /*text-transform: uppercase;*/
  font-size: 1.9rem;
  line-height: 2.2rem;
  font-weight: 600;
  background: -webkit-linear-gradient(0deg, #5EB3B0, #CD9737); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}

#menu_mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--color_4);
  /*color: white;*/
  border-right: 1px solid #ccc;
  width: 280px;
  height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
  z-index: 10000000 !important; 
  padding: 12px 15px 40px 40px;
  line-height: 2.8rem;
}

#come h6 {
  margin: 1rem auto;
}

#mercato h6 {
  margin-bottom: .75rem;
}

p {
  font-size: 1.8rem;
  line-height: 2.4rem;
}

p a {
  color: var(--color_3) !important;
  font-weight: 500 !important;
}

#noi p {
  font-size: 1.8rem;
  line-height: 2.8rem;
}

.grad {
  background: #5EB3B0;
background: linear-gradient(90deg,rgba(94, 179, 176, 1) 0%, rgba(177, 156, 50, 1) 100%);
}
 
#nav-container{
  position: fixed;
  width: 100%;
  background-color: var(--color_4);
  border-bottom: 1px dotted #d9d9d9;
  z-index: 2;
}

#nav{
  padding: 1rem;
  display: flex;
  /*justify-content: space-evenly;*/
  justify-content: space-between;
  height: 4rem;
  line-height: 2.2rem;
}

#navbar_mobile {
  height: 32px;
  line-height: 2.9rem;
  box-sizing: border-box !important;
}

a {
  font-weight: 400;
}

a:link, a:visited, a:active{
  text-decoration: none;
  color: #000;  
}

a:hover{
  color: var(--color_3);
}

a.nav-link {
  color: #666;
}

a.nav-link:hover {
  color: var(--color_3);
}

.nav-link{
  /*padding: 0 1em;*/
  /*margin: 0 3em;*/
  border-radius: 2em;
  transition: all .4s;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
}

a.active{
  color: var(--color_3);
  font-weight: 500;
}

a.nav-link.active:hover{
  /*padding: 0 4em;*/
  margin: 0;
}

#box_col_mini {
  background: #EAF5F6;
  background: linear-gradient(180deg,rgba(234, 245, 246, 1) 0%, rgba(249, 241, 226, 1) 100%);
  position: relative;
  margin-top: -45px;
}

#box_col_max {
  background: #EAF5F6;
  background: linear-gradient(45deg,rgba(234, 245, 246, 1) 0%, rgba(249, 241, 226, 1) 100%);
  padding: 4rem 5%; 
  max-width: 980px;
}


/*********/

@media only screen and (max-width: 980px) {
  body > div:first-of-type {
    z-index: 1;
    margin-top: 45px;
  }
  .vant_riv, .vant_clienti {
    padding: 1% 5% !important;
    text-align: center !important;
  }
  .vant_riv h6, .vant_clienti h6 {
    margin: auto !important;
  }
  h1 {
    text-align: center !important;
  }
}

@media only screen and (max-width: 660px) {
  h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem !important;
  }
  h5 {
    font-size: 2rem;
  }
  .crescita_35, .valore_8_5, .consumatori_76 {
    text-align: center;
  }
  #box_col_mini {
    margin-top: -18px;
  }
}


/************/

#video_button {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.95);
  }
}

/************/

.modal_2 {
  margin-top: 60px;
  width: 95% !important;
  max-width: 800px !important;
}