/* ! Stili di base */
body{
  background-color: rgba(0, 0, 0, 0.916);
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  color: #fff;
  scroll-behavior: smooth;
}

::selection {
  background: #4975fa; /* Codice colore per il giallo oro */
  color: rgb(255, 255, 255); /* Colore del testo quando selezionato */
}

/* Per WebKit (Chrome, Safari) */
::-webkit-scrollbar {
width: 10px; /* Larghezza della barra verticale */
height: 8px; /* Altezza della barra orizzontale */
}

/* Per WebKit - thumb (parte mobile della barra) */
::-webkit-scrollbar-thumb {
background: rgb(112, 112, 112); /* Colore del thumb */
border-radius: 0px; /* Angoli arrotondati */
}

/* Per WebKit - thumb:hover (thumb al passaggio del mouse) */
::-webkit-scrollbar-thumb:hover {
background:#3d3d3d; /* Colore del thumb al passaggio del mouse */
}

/* Per WebKit - track (traccia della scrollbar) */
::-webkit-scrollbar-track {
background: #ffffff; /* Colore del background della traccia */
border-radius: 0px; /* Angoli arrotondati della traccia */
}

h1, h2, h3, h4, h5 p{padding-bottom: 5px;}

p{line-height: 28px;color: rgb(255, 255, 255);padding-bottom: 30px;}

.tw{color: #fff;} .tb{color: #000;} .tr{color: red;} .to{color: rgb(247, 108, 16);}

a{text-decoration: none;font-style: inherit;}

/* Menu */
:root { --menu-bg: #000000; --menu-color: #fff; }

.header{border-bottom:0.5px solid rgba(255, 255, 255, 0.176); background-color: rgba(0, 0, 0, 0.850);backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px); position: fixed; top:0;  left:0; height: 70px; z-index: 9999; width: 100%; padding:0px 15px 0px 15px;transition: background-color 0.4s ease;}
.header:hover{background-color: #000;}
.header__content{height: 70px; padding-left: 25px; width: 100%;margin: 0 auto; display: flex;justify-content: space-between;align-items: center;}

.header__logo,
.header__quick{height: 60px; display: flex; align-items: center;color:var(--menu-color);left: 0;}

.header__menu{padding: 0;margin: 0;height: 70px;}
.header__menu li{display: inline-block;color: #fff;user-select: none;}
.header__menu li:hover{cursor: pointer;}

.header__menu li a{color: #fff;}
.header__menu li a{color:var(--menu-color); opacity: 0.8;display: flex;align-items: center; padding: 16px;font-size: 16.5px;height: 69.9px;}

@media (max-width: 768px) {
  .header{ background-color: var(--menu-bg); position: fixed; top:0;  left:0; z-index: 9999; width: 100%; padding: 0px 15px;}
  .header__menu{padding: 0;margin: 0;border-bottom-left-radius: 10px;border-bottom-right-radius: 10px;}
  .header__menu li{display: inline-block;transition: transform 0.1s ease;color: #fff;}
  .header__menu li:hover{transform: scale(1.0);color: #ffffff;}  
}

@media (min-width: 768px) {
  .header__menu li {
    width: fit-content;
    padding: 0px;
    margin-right: 15px;
    position: relative;
    display: inline-block;
    align-items: center;
    height: 100%;
  }

  .header__menu li a {
    padding: 20px 16px;
    position: relative;
  }

  .header__menu a::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%; /* Linea sempre della giusta lunghezza */
    height: 2px;
    background-color: #ffffff;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    border-radius: 5px;
  }

  .header__menu a:hover::after,
  .header__menu a.active::after {
    opacity: 1; /* Solo opacità cambia */
  }
}

@media (max-width: 768px) {
  .header__menu{   
    position: absolute; top:60px; left:0; background-color: var(--menu-bg); width: 100%; height: 100vh;
    height: 0vh; overflow: hidden;transition: all 1s cubic-bezier(.215, .61, .355, 1);
  }

  .header__menu li{width: 100%;border-bottom: 1px solid #444}
  .menu-open .header__menu{height: 100vh;padding: 3%;}

  .icon-hamburger{height: 50px;width: 40px;margin-left: 20px;padding-top: 5px;}
  .icon-hamburger span{height: 2px; width: 30px;background: var(--menu-color);position: relative;display: block;margin-top: 11px;transition: all 0.2s cubic-bezier(.215, .61, .355, 1);}

  .menu-open .icon-hamburger span:nth-child(1){transform: rotate(45deg) translateY(9px);}
  .menu-open .icon-hamburger span:nth-child(2){transform: rotate(-45deg) translateY(-9px);}

  .header__quick{display: flex; justify-content: flex-end; width: 50%;}

}

@media (min-width: 768px) {
  .header__menu{transform: translateX(40px);}
}

.header-logo{
    height: 40px;
    width: 45px;
    transition: transform 0.5s ease;
}

.header-logo:hover{
  cursor: pointer;
  transform: scale(1.05);
}


/* ! Contact */
/* ! Contact Section */
.contact{
  height: 90vh;width: 100%;min-height: 660px;
  text-align: center;
  padding: 10px 0px;
  margin-top: 60px;
  left: 0;
  position: relative;
  display: flex;justify-content: center;align-items: center;
}

.contact_content{
  width: 100%;height: 90%;
  padding: 10px;
  position: relative;
  display: flex;flex-direction: row; justify-content: space-around;align-items: center;
}

/* ! Contact-Section-Mobile */
@media (max-width: 950px) {
  /* ! Contact Section */
.contact{
  height: 105vh;width: 100%;min-height: 600px;
  text-align: center;
  padding: 0px;
  margin-top: 63px;
  left: 0;
}

.contact_content{
  width: 100%;height: 100%;
  padding: 0px;
  display: flex;flex-direction: column; justify-content: space-around;align-items: center;
}
}

/* ! Stili Form */
.form-group1{
  padding: 1%;
  height: 100%;width: 50%;
}
.form-group3{
  padding: 1%;
  height: 100%;width: 100%;
}

.form {
  text-align: left;
  padding: 5px;
  height: fit-content;
  width: 50%;
  min-width: 550px;
  position: relative;z-index: 2;
}
.form h1{font-size: 40px;font-weight: 700;color: #fff;text-align: center;}
.form p{padding: 0;text-align: center;}
.form a{color:  #1267e8;text-decoration: underline;}

.label-style{
  padding: 15px;
  color: #fff;
  background-color: rgb(26, 26, 26);
  outline: none;
  height: 100%;width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.579);
  border-radius: 5px;
}

.nome_Email{
  display: flex;flex-direction: row;justify-content: space-around;align-items: center;
}

.invia_Btn{
  background: transparent;
  border-radius: 5px;
  color: inherit;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  line-height: 100%;
  padding: 20px 50px;
  text-transform: uppercase;
  transition: all .2s ease;
  border: 1px solid white;
  color: white;
  margin-left: 10px;
}

.invia_Btn:hover{
  color: #050505;
  background-color: #1267e8;
  border: 1px solid #1267e8;
}

/* ! Immagine Sfondo */
.image-sfondo{
  user-select: none;
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 0;
  bottom: 0;
}

.animazione {
  position: relative;
  display: none;
  padding: 5px;
  height: 350px;
  width: 45%;
  z-index: 2;
}

.animazione_container{
  height: 100%;width: 100%;
  left: 0;
  position: relative;z-index: 2;
  display: flex;justify-content: center;align-items: center;flex-direction: column;
  font-size: 40px;
  font-weight: 650;
}

.char-count {
  padding: 5px 5px 5px 12px;
  font-size: 14px;
  color: #666;
  margin-top: 5px;margin-bottom: 15px;
}

/* ! ContactContent-Mobile */
@media (max-width: 769px) {
  /* ! Stili Form */
.contact{
  min-height: 90vh;
  height: fit-content;
}

.nome_Email{
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1%;
}
  
.form-group1{
  padding: 1%;
  height: 100%;width: 100%;
}
.form-group3{
  padding: 1%;
  height: 100%;width: 100%;
}

.form {
  text-align: left;
  padding: 27px;
  height: 100%;
  width: 100%;
  min-width: 0;
}
.form h1{
  font-size: 2.3rem;
}

.label-style{
  padding: 10px;
  color: #fff;
  background-color: rgb(26, 26, 26);
  outline: none;
  height: 100%;width: 100%;
  border: 1px solid rgba(57, 57, 57, 0);
  border-radius: 5px;
}
#message{height: 400px;}

.nome_Email{
  display: flex;flex-direction: row;justify-content: space-around;align-items: center;
}

.animazione {
  display: none;
  padding: 5px;
  height: 350px;
  width: 45%;
}

.animazione_container{
  height: 100%;width: 100%;
  left: 0;
  display: flex;justify-content: center;align-items: center;
}

.char-count {
  padding: 5px 5px 5px 12px;
  font-size: 14px;
  color: #666;
  margin-top: 5px;margin-bottom: 15px;
}
}

/* ! Ricarica pagina btn */
.ricarica_btn{
  background: transparent;
  border-radius: 5px;
  color: inherit;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  line-height: 100%;
  padding: 20px 30px;
  text-transform: uppercase;
  transition: all .2s ease;
  border: 1px solid white;
  color: white;
  margin-left: 10px;
  font-size: 17px;
}

.ricarica_btn:hover{
  color: #050505;
  background-color: #1267e8;
  border: 1px solid #1267e8;
}

/* ! Bottom Site */
.bottom-site {
  background-color: #000000;
  color: #fff;
  padding: 20px;
  text-align: left;
  width: 100%;
  position: relative; /* Fissa il footer in basso */
  left: 0;
  bottom: 0;
}

.bottom-site li {
  display: inline-block;
  font-size: 15px;
}
@media (max-width: 768px) {.bottom-site li{font-size: 12px;}}

.top3BT,
.mid3BT {
  transition: transform 0.5s ease;
  color: #fff;
  cursor: pointer;
}

.top3BT:hover {
  transform: scale(1.2);
  color: #a8a8a8;
}

.mid3BT:hover {
  transform: scale(1.2);
  color: #0786ee;
}

.sBS {
  height: 1px;
  width: 20px;
}

.ssBS {
  height: 15px;
  width: 1px;
}

.top3BS {
  display: flex;
  padding: 0;
  width: fit-content;
}

.topBottomSite {
  height: fit-content;
  width: 100%;
  padding: 2px 5px;
  display: flex;
  justify-content: center;
}

.middleBottomSite {
  height: fit-content;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 5px 5px;
}

.bottomBottomSite {
  height: fit-content;
  display: flex;
  justify-content: center;
  padding: 5px;
  width: 100%;
}

.ulMauto {
  margin-left: 0;
}

.social {
  margin-top: 20px;
}

.bottomsitemainlogo {
  height: 40px;
  width: 45px;
  margin: 0;
}

.DisplayNoneMobile {
  display: none;
}

/* ! Social */
/* CSS */
.social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social img {
  width: 40px;
  filter: grayscale(100%) brightness(70%);
  transition: filter 0.3s ease;
}

.social img:hover {
  filter: none;
}

.non-selezionabile {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Standard */
}

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