/* ---- reset ---- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700..900&display=swap');
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5em;
  color: #555;
  background-color: #fff;
}
a, .nav-link{
  color: #0074a1;
  text-decoration: none;
}
a:hover, a:focus, a:active,
.nav-link:hover, .nav-link:focus, .nav-link:active{
  color: #e0041c;
  text-decoration: underline;
}
b, strong {
  font-weight: bold;
}
h1,h2,h3,h4,h5,h6{
  color: #003c57;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}
h2{
  text-transform: uppercase;
  font-size: 1.4rem;
  background-image: url("../img/onda-titolo.svg");
  background-repeat: no-repeat;
  background-size: 50px;
  padding-left: 55px;
}
h6{
  text-transform: uppercase;
  font-size: .9em;
}
/* Nav */
.nav{
  /* Versione normale */
  /*text-transform: uppercase;
  font-size: 1rem;
  font-weight: bold;
  align-items: center;
  flex-direction: column;*/

  /* Versione navbar fixed */
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  background-color: rgba(235, 235, 235, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: bold;
  flex-direction: row;
}
.nav-link{
  /* Versione navbar fixed */
  padding: 1rem;
}
/* Slogans */
.slogan{
  color: #0074a1;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.subslogan{
  color: #003c57;
  font-style: normal;
  /*font-size: 1.15rem;*/
}
/* List (es: documenti) */
.list-group{
  border-top: 1px solid rgba(0,0,0,.125);
  border-bottom: 1px solid rgba(0,0,0,.125);
}
.list-group-item {
  background-color: transparent;
  gap: 1rem;
}
/* Custom list (es: attivita) */
.custom-list{
  padding-left: 0;
  list-style-type: none;
}
.custom-list > li{
  font-weight: bold;
  margin-bottom: 1rem;
}
.custom-list > li::before{
    content: "•";
    font-size: 200%;
    line-height: 0;
    margin: 0 0.3rem 0 -0.25rem;
    position: relative;
    top: 0.08rem;
    color: #0074a1;
}
.custom-list > li > ul{
  list-style-type: none;
}
.custom-list > li > ul > li{
  font-weight: normal;
  margin-bottom: 0;
}
.custom-list > li > ul > li::before{
    content: "•";
    font-size: 120%;
    line-height: 0;
    margin: 0 0.3rem 0 -0.75rem;
    position: relative;
    top: 0.08rem;
    color: #0074a1;
}
/* Icone svg sprite (es: social) */
.iconsvg{
  display: inline-block;
  width: 32px;
  height: 32px;
  fill: #555;
  margin-left: -4px;
}
/* Scrollbar personalizzata */
::-webkit-scrollbar {
  width: 11px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: #003c57 #fff;
}
::-webkit-scrollbar-track {
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background-color: #003c57;
  border-radius: 6px;
  border: 3px solid #fff;
}
/* Icons Google */
.material-symbols-rounded {
  font-variation-settings:
  'FILL' 0,
  'wght' 200,
  'GRAD' 0,
  'opsz' 40;
}
.icon.material-symbols-rounded{
  display: block;
  font-size: 32px;
  line-height: 1em;
  color: #0074a1;
}
/* Btn */
.btn-primary .icon.material-symbols-rounded{
  color: #fff;
}
.btn-primary{
  color: #fff;
  background-color: #0074a1;
  border: 0;
  border-radius: 0;
}
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active,
.btn:hover, .btn:focus {
  color: #fff;
  background-color: #e0041c;
  border-color: transparent;
  text-decoration: none;
}

/* ---- website ----- */
.page{
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
/*  overflow-x: hidden;*/
}
.page > .main{
  /* Smoth scroll */
  /*overflow-y: scroll;*/
  scroll-behavior: smooth;
  background-image: url("../img/onda-bg.svg");
  background-repeat: no-repeat;
  background-size: 500px;
  background-position: 50vw 80%;
  background-attachment: fixed;
  width: 100%;
}
.page > .slideshow{
  position: absolute;
  top: 60svh;
  right:0;
  width: 100%;
  height: 40svh;
  background: #5a5b61;
  overflow: hidden;
}

/* Swiper slideshow */
.swiper {
  width: 100%;
  height: 100%;
}
.swiper .swiper-wrapper{background:#5a5b61}

/* Swiper slide img */
.swiper .swiper-slide .img {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  /* Animation initial state img */
  transform: scale(1.2) rotate(0.1deg);
  transition: transform 8.5s linear;
}
.swiper-slide.swiper-slide-active .img {
  /* Animation final state img */
  transform: scale(1.1) rotate(0deg);
}
/* Swiper Pagination */
.swiper .swiper-pagination-bullet {
  background: transparent;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  opacity: 1;
  border: 2px solid #fff;
  margin: 0 6px !important;
  /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);*/
}
.swiper .swiper-pagination-bullet-active {
  background: #fff;
  width: 14px;
  height: 14px;
  /*animation: bounceIn;*/ /* animatiom in Animate.css */
  animation-duration: 1s;
}
/* Btns group */
.btns{
  display: flex;
  position: absolute;
  top: 20%;
  margin-top: 1.25rem;
  z-index: 5
}
.page > .main .section{
    min-height: 100svh;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page > .main .section:not(:first-child){
  /* per tutte le sezioni (a parte la prima) questo padding serve per non vedere il 
  titolo sotto al menù se uso i link che fanno scrollare fino all'anchor */
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.page > .main #area-start{
  min-height: 60svh;
  height: 60svh;
  margin-bottom: 60svh;
}

/* Sezione Start */
.logo{
    display: block;
    max-width: 100px;
    text-align: center;
    /* Versione normale */
    /*margin: 0 auto 1rem auto;*/
    /* Versione navbar fixed */
    margin: 56px auto .25rem auto;
}
/* Badge in costruzione */
.inprogress{
    display: block;
    width: 150px;
    height: 150px;
    position: absolute;
    z-index: 9998;
    top: calc(100svh - 150px);
    right: 0;
}
/* Logo Idrogest */
.logo-idrogest{
  width: 120px;
}
/* Copyright */
.copyright{
  font-size: .9em;
  padding: 1rem;
  position: relative;
  margin-top: -80px;
}
.copyright span{
  margin-right: 1rem;
}
.copyright span:last-child{
  margin-right: 0;
}


/* SM Landscape phones */
@media (min-width: 576px) {
  
  .page > .main #area-start{
    min-height: 50svh;
    height: 50svh;
    margin-bottom: 50svh;
  }
  .page > .slideshow{
    top: 50svh;
    height: 50svh;
  }

}
/* MD Tablet */
@media (min-width: 768px) {
  .page > .main{
    background-size: 600px;
    background-position: 50vw 80%;
  }
  .page > .main .section{
    padding: 3rem;
  }
  /* Slogan */
  .slogan{
    font-size: 1.5rem;
    margin-top: 2rem;
  }
  /* Copyright */
  .copyright{
    margin-top: -50px;
  }
}
/* LG Desktop */
@media (min-width: 992px) {
  .logo{
    max-width: 200px;
    margin: 0 auto 2rem auto;
  }
  .page{
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow-x: hidden;
  }
  .page > .slideshow{
      position: fixed;
      top: 0;
      right:0;
      width: 40%;
      height: 100%;
      background: #5a5b61;
      overflow: hidden;
  }
  .page > .main{
    width: 60%;
    /* Smoth scroll */
    overflow-y: scroll;
    background-size: 500px;
    background-position: -20vw 80%;
  }
  .page > .main .section{
    padding: 3rem;
  }
  .page > .main #area-start{
    min-height:100svh;
    height: 100svh;
    margin-bottom: 0;
  }
  .nav{
    flex-direction: row;
    /* Versione navbar fixed */
    width: 60%;
  }
  /* Slogan */
  .slogan{
    margin-bottom: 2rem;
  }
  /* Btns group */
  .btns{
    top: 50%;
  }
/* Copyright */
  .copyright{
    margin-top: -80px;
  }

}
/* XL Big Desktop */
@media (min-width: 1200px) {
  .page > .main .section{
    padding: 5rem;
  }
  .page > .main{
    width: 50%;
    background-size: 600px;
    background-size: calc(100vw / 2.5);
    background-position: -20vw 80%;
  }
  .page > .slideshow{
      width: 50%;
  }
  .nav{
    /* Versione navbar fixed */
    width: 50%;
  }
}
@media (min-width: 1350px) {
  /* Copyright */
  .copyright{
    margin-top: -50px;
  }
}