
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Pinstripe:ital@0;1&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Quicksand:wght@300&display=swap');


html, body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background-color: #0f0f0f;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 16px;

}

.sfondo-animato {
  animation: cambiaColore 5s infinite alternate; /* Nome, Durata, Ripetizione, Direzione */
}

@keyframes cambiaColore {
  0% { background-color: #ff758c; }
  50% { background-color: #ff7eb3; }
  100% { background-color: #6a11cb; }
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 0px;
}

h1 {
  color: #ffffff;
  font-size:3rem;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  text-align: center;
  margin: auto;
}


ul {
  margin-bottom: 0px;
}

p {
  font-size: 20px;
  line-height: 26px;
  color: #dfdfdf;
  width: 100%;
  padding: 30px 30px;
  text-align: center;
}

.legal {
  font-size: 16px;
  line-height: 22px;
  color: #dfdfdf;
  width: 70%;
  margin: auto;
  padding: 30px 30px;
  text-align: justify;
  font-weight: normal!important;
}

img {
  width: 100%;
  overflow: hidden;
}

/* HEADER */
.header {
    position: fixed!important;
    width: 100%;
    height: 100px!important;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    transition: 0.4s ease;
    z-index: 1000;
    background-color: #111111!important;
    right: 0px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.15)!important;
}

.header-area {
  background-color: #111111;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 100;
  height: 100px;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.container2 {
    width: 60%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* LOGO */
.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/* MENU DESKTOP */
.nav .menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav .menu li {
    position: relative;
    display: inline-block;
}

.nav .menu a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: color 0.3s ease, color 0.3s ease;
    display: block;
    padding: 12px 18px;     
}

.nav .menu a:hover {
    color: #ff0000;
}

/* SUBMENU */
.submenu {
    position: absolute;
    top: 100%;       /* Esattamente sotto la voce */
    left: 0;         /* Allineato a sinistra della voce */
    background: #111;
    min-width: 220px;
    display: none;
    flex-direction: column;
    padding: 5px 0;
    z-index: 999;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


/* Mostra submenu al hover */
.has-submenu:hover > .submenu {
    display: block;
}



.submenu li {
    padding: 5px 5px;
    display: block;
    width: 100%;
}

.submenu li a {
    color: white;
    padding: 5px 5px;
    display: block;       
}



/* Hover sottomenu */
.submenu li:hover {
    background-color: rgb(36, 36, 36);   
}
.submenu li a:hover {
    color: white!important;
       
}


/* Allineamento icona */
.has-submenu > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Icona freccia */
.arrow-icon {
    transition: transform 0.3s ease;
}

/* Rotazione desktop */
.has-submenu:hover > a .arrow-icon {
    transform: rotate(180deg);
}

/* Rotazione mobile */
.has-submenu.active > a .arrow-icon {
    transform: rotate(180deg);
}


/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* HERO solo per scroll demo */
.hero {
    height: 100vh;
    width: 90%;
    margin: auto;
 }


.hero2 {
    height: 100vh;
    width: 100%;
    margin: auto;
    background-color: #000000;    
}

.hero2 h2 {
  color: #f63838;
  font-size: 4rem;
  line-height: 4rem;
  font-family: "Quicksand", sans-serif;
  text-align: center;
  margin: auto;
  }

  .ps1 {
  font-size: 1.4rem;
  line-height: 1.8rem;
  
  color: #dfdfdf;
  width: 100%;
  padding: 30px 30px;
  text-align: center;
}



.hero3 {    
    width: 100%;
    margin: auto;
    background-color: #000000;    
}

.hero3 h1 {
  color: #fff;
  font-size: 3rem;
  line-height: 3rem;
  font-family: "Quicksand", sans-serif;
  text-align: center;
  margin: auto;
  margin-bottom: 40px;
  }

.hero4 {
    
    width: 100%;
    margin: auto;
}

.hero5 {
    width: 100%;
    margin: auto;
    background-color: #ffffff;
}
.hero5 h1 {
  font-size: 3.5rem;
  line-height: 3.5rem;
  margin-bottom: 20px;
  color: #000;
}

.hero6 {
    width: 90%;
    margin: auto;
 }

ul, li {
  padding: 0;
  margin: 0;
  list-style:circle;
 margin-left: 20px;
}

.divbutton{
  width: 280px;
  padding: 20px 20px;
  text-align: center;
  cursor: pointer;
  background-color: #fff;
  color: #000000;
  margin: auto;
  transition: all 0.3s ease;
    font-size: 16px!important;
}

.divbutton:hover{
  background-color: #ff0000;
  color: #fff;
}

.divbuttonL{
  width: 250px;
  padding: 20px 20px;
  text-align: center;
  cursor: pointer;
  background-color: #9ac993;
  color: #000000;  
  transition: all 0.3s ease;
  font-size: 1rem;
  letter-spacing: 1px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-top: 50px;
}

.divbuttonL:hover{
  background-color: #FFF;
}

/* Mostra sottomenu al passaggio del mouse */
nav ul li:hover .submenu {
    max-height: 500px; /* abbastanza grande da contenere le voci */
}

/* ===== MENU PRINCIPALE ===== */

.social{
  background-color: #0f0f0f;
  padding: 30px 5%;
  color: #b3b3b3;
  font-size: 14px;
  box-sizing: border-box;
  text-align: right;
  vertical-align:middle;
  width: 80%;
  margin: auto;
  display: flex; 
  align-items: center; 
  justify-content: flex-end;
  gap: 10px;
}

.socialimg{
  cursor: pointer;
  width: 35px; 
  margin-left: 5px;
   -webkit-filter: grayscale(0%);
  filter: grayscale(0%);   
   transition: all 0.3s ease;

}

.socialimg:hover{
-webkit-filter: grayscale(70%); /* Compatibilità Safari/Chrome */
  filter: grayscale(70%); /* Standard */

}

.footer{
  background-color: #222;
  padding: 30px 5%;
  color: #b3b3b3;
  font-size: 13px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap; /* Permette di andare a capo solo quando serve (es. mobile) */
  align-items: center;  

}

.areafooter{
 
  padding: 30px 10%;
  color: #b3b3b3;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap; /* Permette di andare a capo solo quando serve (es. mobile) */
  align-items:start;  
  margin-bottom: 80px;
}

.menubottom{
  flex: 0 0 25%; 
  box-sizing: border-box;
  text-align: left; /* Opzionale, per centrare i menu */
   font-size: 20px;
   color: #b3b3b3;
}

.menubottom a{
  color: #fff;
 transition: all 0.3s ease;
  font-size: 14px;
}

.menubottom a:hover{
  color: #ff0000;
}


.copyright{
  flex: 0 0 25%; 
  box-sizing: border-box;
  text-align: left;
}

.footerMenu{
  flex: 0 0 10%; 
  box-sizing: border-box;
  text-align: left; /* Opzionale, per centrare i menu */
}
.footerMenu a{
  color: #fff;
 transition: all 0.3s ease;
}

.footerMenu a:hover{
 border-bottom: 1px solid #919090;
 padding-bottom:8px;
}

.nascondisumobile{
  visibility:visible;
}

.menucontatti{    
  visibility: collapse;
}

.logof{
  width: 230px;
  cursor: pointer;
}

.col50 {
  width: 50%;
  box-sizing: border-box;
  padding: 20px;
  color: #c7c6c6;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 2.5rem;
  line-height: 2.5rem;
}

.col50 h1 {
  color: #fff;
  font-size: 4.5rem;
  line-height: 4.5rem;
  font-family: "Quicksand", sans-serif;
  text-align: left;
  margin-bottom: 40px;
  }

.col50 p{
  font-size: 3rem;
  line-height: 2.5rem;
  width: 90%;
  margin: auto;
  color: #ff0000;
}


.col50 span{
  font-size:2rem;
  line-height: 1.7rem!important;
  color: #fff;
}


.col33 {
  width: 33%;
  box-sizing: border-box;
  padding: 20px;
  color: #ffffff;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
  line-height: 2rem;
  text-align: center;
}

.col33 span {
  font-size: 1.4rem; 
  line-height: 14px;
}



.left, .right {
  width: 50%;
}

.scopri{
  width: 180px;
  padding: 5px;
  font-size: 16px;
  color: #000000;
  background-color: #9ac993;
  cursor: pointer;
  margin: auto;
  margin-top: 30px;
  font-family: Arial, Helvetica, sans-serif;
   transition: all 0.3s ease;
}
.scopri:hover{

  background-color: #fff;

}


.scroll-down {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 40px;
  height: 40px;
}

.scroll-down span {
  display: block;
  width: 24px;
  height: 24px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  margin: auto;
  animation: arrow-down 2s infinite;
}
.contatti{
  margin: auto; 
  width: 600px;
}
.inputcontact{
  width:100%; height: 50px; color: #000; border: 1px solid #9ac993; border-radius:5px; text-indent: 5px; margin-bottom: 20px;"
}

@keyframes arrow-down {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-10px,-10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px,10px);
  }
}

/* scroll fluido */
html {
  scroll-behavior: smooth;
}





/* MOBILE */
@media (max-width: 992px) {
body{
    overflow-x: hidden;
}
    .nav {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 100px);
        background: #111;
        transition: 0.4s;
        padding-top: 30px;
    }
    .container2 {
    width: 90%;
    
}

    .nav.active {
        right: 0;
    }

    .nav .menu {
        flex-direction: column;
        gap: 0;
    }

    .nav .menu li {
        padding: 15px 30px;
    }

    .submenu {
        position: static;
        background: #222;
        padding-left: 15px;
        display: none;
    }

    .has-submenu.active .submenu {
        display: block;
    }

    .hamburger {
        display: flex;
    }

   .footer {
        flex-direction: column; /* Gli elementi si impilano */
        text-align: center;
        margin-bottom: 70px;
    }

    .footerMenu, .copyright {
        flex: 0 0 100%;
        margin-left: 0 !important;
        margin-top: 15px;
       
    }
     .copyright {       
        margin-bottom: 25px;
        
    }

    .social{
      justify-content:center;
       width: 80%;
    }
    .nascondisumobile{
      visibility:collapse!important;
      margin-left: -90px;
    }


  .areafooter{ 
    flex-direction: column; /* Gli elementi si impilano */
    text-align: center;
  }

.menubottom{
   flex: 0 0 100%;
    margin-left: 0 !important;
    margin-top: 15px;
 }
 .logof{
  width: 160px;
  margin-left: 60%;
}

.col50 {
  width: 100%;
  padding: 18px;
  font-size: 1.8rem;
  line-height: 1.8rem;
  text-align: center;
}

.col50 h1 { 
  font-size: 2.4rem;
  line-height: 2.4rem;
  text-align: center;
  }

.col33 {
    width: 100%;
    text-align: center;
    margin-top: 30px;
      font-size: 2rem;
    line-height: 2rem;
  }

  .left, .right {
    width: 100%;
    text-align: center;
  }

  .right {
    order: -1;
  }

  h1 {
  font-size:2rem;
  
  }
  .ps1 {
    font-size: 16px;
    line-height: 22px;
  }

  .col50 div{
 font-size:  18px;
 line-height: 22px;
 padding: 20!important;
 margin-top: 20px;
}

.hero2 h2 {
  color: #f63838;
  font-size: 2.8rem;
  line-height: 2.8rem;
  font-family: "Quicksand", sans-serif;
  text-align: center;
  margin: auto;
  }


.col50 p{
  font-size: 2.2rem;
  line-height: 2.2rem;
  margin: auto;
 
}
.col50 span {

  font-size: 18px; 
  line-height: 18px!important;
}

.legal {
  font-size: 14px;
  line-height: 20px;
  width: 100%;
}
.contatti{
  margin: auto; 
  width: 100%;
}

.legal span {
 
  line-height: 2.5rem;
}
.menucontatti{
    visibility: visible;
    overflow-x: hidden;
    position: fixed;
      bottom: 0px;
      background-color: #fff;
      color: #ff0000;
      text-align: center;
      padding: 20px;
      width: 100%;
      height: 30px;
      z-index: 99999999;
      text-transform: uppercase;
      font-size: 1.5rem;
      font-weight: 600;
      cursor: pointer;
        display: block;
  }
  .menucontatti:hover{   
        color: #000;    
  }

  .divbuttonL{
  width: 220px;
  padding: 14px 14px;
  margin: auto;
  margin-top: 40px;

}
}


@media (max-width: 1366px) {
body{
    overflow-x: hidden;
    font-size: 14px;
}
.container {
    width: 93%;
}

.logo {    
    font-size: 20px;
}

.nav .menu {
    gap: 14px;
}

.nav .menu a {  
    color: white;    
    font-size: 14px;      
    padding: 10px 10px;     
}

.hero {
    height: 100vh;
    width: 93%;
    margin: auto;
}

.hero2 h2 {
  font-size: 2.5rem;
  line-height: 2.5rem;
}

.ps1 {
  font-size: 1.2rem;
  line-height: 1.5rem;
  padding: 20px 20px;
  text-align: center;
}

.hero3 h1 {
  font-size: 2.5rem;
  line-height: 2.5rem;
  margin-bottom: 40px;
}

.hero5 h1 {
  font-size: 2.5rem;
  line-height: 2.5rem;
  margin-bottom: 20px;
  color: #000;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style:circle;
 margin-left: 20px;
}

.divbutton{
  width: 220px;
  padding: 14px 14px;
  font-size: 12px!important;
}


.divbuttonL{
  width: 220px;
  padding: 14px 14px;
  margin-top: 40px;
}

.logof{
  width: 200px;
  cursor: pointer;
}

.col50 {
  padding: 16px;
  font-size: 1.5rem;
  line-height: 1.5rem;
}

.col50 h1 { 
  font-size: 3.1rem;
  line-height: 3.1rem;
  margin-bottom: 30px;
  }

.col50 p{
  font-size: 2rem;
  line-height: 2rem;
  width: 90%;
  margin: auto;
  color: #ff0000;
}
.col50 span{
  font-size: 1.2rem;
  line-height: 1rem;
  color: #fff;
}

.socialimg{
  cursor: pointer;
  width: 30px; 
}

.col33 {
  padding: 18px;
  font-size: 1.5rem;
  line-height: 1.5rem;
}

.col33 span {
  font-size: 16px; 
  line-height: 14px;
}
.copyright{
  flex: 0 0 35%; 
  box-sizing: border-box;
  text-align: left;
}
  
}



