/* ! 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 */
}

/* ! colori scritte */
.tw{color: #fff;} 
.tb{color: #000;} 
.tr{color: red;} 
.to{color: rgb(247, 108, 16);}
.ty{color: rgb(255, 187, 0);}

h1{font-size: 2.4rem;} 
h2{font-size: 2rem;} 
h3{font-size: 2rem;} 
h4{font-size: 1rem;} 
h5{font-size: 0.8rem;} 
h6{font-size: 0.6rem;}
@media (max-width: 768px) {h1{font-size: 2rem;} }

p{line-height: 28px;color: rgb(255, 255, 255);padding-bottom: 30px;}  
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);
}


/* ! Banner + Text */
.banner{
  border: 7px solid  #10101000;
  margin-bottom: 20px;
  margin-top: 85px;
  border-radius: 20px;
  margin-left: 12.5%;
  height: fit-content;
  width: 75%;
  padding: 15px;
  text-align: center;
}

@media (max-width: 768px) {
  /* ! Banner + Text */
  .banner{
    background: none;
    border: 7px solid  #10101000;
    margin-bottom: 20px;
    margin-top: 85px;
    border-radius: 20px;
    margin-left: 1%;
    height: fit-content;
    width: 98%;
    padding: 5px;
    text-align: center;
  }
}

.text{
    width: 98%;
    height: fit-content;
    left: 0;
    text-align: left;
}
  
/* ! 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;
}