/* ---- reset ---- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&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: 14px;
  line-height: 1.5em;
  color: #222;
  background-color: #f1f1f1;
}
a, .nav-link{
  color: #5781d9;
  text-decoration: none;
}
a:hover, a:focus, a:active,
.nav-link:hover, .nav-link:focus, .nav-link:active{
  color: #0bace4;
  text-decoration: underline;
}
h1,h2,h3,h4,h5,h6{
  color: #1343a5;
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: bold;
}
h2{
  text-transform: uppercase;
  font-size: 1.4rem;
}
h2::after{
  content: "";
  display: block;
  background: #ccc;
  width: 50px;
  height: 4px;
  margin-bottom: 2rem;
}
h6{
  text-transform: uppercase;
}
h6::after{
  content: "";
  display: block;
  background: #ccc;
  width: 50px;
  height: 4px;
  margin-top: 3px;
}
.nav{
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: bold;
  align-items: center;
  flex-direction: column;
}
.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;
}
/* Scrollbar personalizzata */
::-webkit-scrollbar {
  width: 11px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: #5a5b61 #f1f1f1;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background-color: #5a5b61;
  border-radius: 6px;
  border: 3px solid #f1f1f1;
}
/* 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: #5781d9;
}
/* Btn */
.btn-primary .icon.material-symbols-rounded{
  color: #fff;
}
.btn-primary{
  color: #fff;
  background-color: #5781d9;
  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: #1343a5;
  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;
}
.page > .slideshow{
  position: absolute;
  top: 50svh;
  right:0;
  width: 100%;
  height: 50svh;
  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 #area-start{
  min-height: 50svh;
  height: 50svh;
  margin-bottom: 50svh;
}

/* Sezione Start */
.logo{
    display: block;
    max-width: 200px;
    text-align: center;
    margin: 0 auto 2rem auto;
}
/* Copyright */
.copyright{
  padding: 1rem;
  position: relative;
  margin-top: -80px;
}
.copyright span{
  margin-right: 1rem;
}
.copyright span:last-child{
  margin-right: 0;
}

/* ---- particles.js  ---- */
canvas {
  display: block;
  vertical-align: bottom;
} 
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
} 


/* SM Landscape phones */
@media (min-width: 576px) {

}
/* MD Tablet */
@media (min-width: 768px) {
  .page > .main .section{
    padding: 3rem;
  }
  /* Copyright */
  .copyright{
    margin-top: -50px;
  }
}
/* LG Desktop */
@media (min-width: 992px) {
  .page > .main .section{
    padding: 3rem;
  }
  .page > .main #area-start{
    min-height:100svh;
    height: 100svh;
    margin-bottom: 0;
  }
  .page{
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow-x: hidden;
  }
  .page > .main{
      width: 60%;
      /* Smoth scroll */
      overflow-y: scroll;
      scroll-behavior: smooth;
  }
  .page > .slideshow{
      position: fixed;
      top: 0;
      right:0;
      width: 40%;
      height: 100%;
      background: #5a5b61;
      overflow: hidden;
  }
  .nav{
    flex-direction: row;
  }
  /* 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%;
  }
  .page > .slideshow{
      width: 50%;
  }
}
@media (min-width: 1350px) {
  /* Copyright */
  .copyright{
    margin-top: -50px;
  }
}