body, html{ 
  user-select: none;
  background: #000;
  font-family: "Inter Tight", sans-serif;
  line-height: 1; 
  font-size: 16px; 
  box-sizing: border-box;margin: 0;padding: 0;
}
.body-bg{
  width: 100%;height: 100vh;
  object-fit: cover;
  opacity: 0.4;
  margin: 0;
  position: absolute;
  z-index: 0;
  user-select: none;
}

br {
  line-height: 1; /* o un valore tipo 1.2 per un po’ di spazio */
}

/* Wrapper full screen e centrato */
.code-loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


.code-loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* ! code loeader */
.code-loader {
  color: #fff;
  font-family: Consolas, Menlo, Monaco, monospace;
  font-weight: bold;
  font-size: 60px;
  opacity: 0.8;
}

.code-loader span {
  display: inline-block;
  animation: pulseRotate 0.4s alternate infinite ease-in-out;
}

.code-loader span:nth-child(odd) {
  animation-delay: 0.4s;
}

@keyframes pulseRotate {
  to {
    transform: scale(0.8) rotate(10deg);
    opacity: 0.5;
  }
}


h1,h2,h3,h4,h5,h6, p, ol, ul{
  margin: 0 0 1rem 0;padding: 0;
}
ol,ul{
line-height: 1.5;margin: 0;
}
h1{font-size: 4rem;} 
h2{font-size: 2.5rem;} 
h3{font-size: 2rem;} 
h4{font-size: 1rem;} 
h5{font-size: 0.8rem;} 
h6{font-size: 0.6rem;}
a{text-decoration:none; color: inherit;}

.Pacifico{font-family: "Pacifico", cursive;}

/* ! Selection/Scrollbar */
::selection {
  background:  #f5f6f69f; /* Codice colore per il giallo oro */
  color: rgb(255, 255, 255); /* Colore del testo quando selezionato */
}

/* ! CallToAction */
.cta{
  border-radius: 20px;
  font-weight: 400;
  padding: 12px 20px;
  background-color: #0097b2;
  color:#ffffff;
  cursor: pointer;
  border: 1px solid  #0097b2;
  user-select: none;
  width: fit-content;
  margin-top: 5px;
}

.cta:hover{
  background-color: #0097b2d9;
  border: 1px solid  #0097b2d9;
}

/* ! CallToAction */
.cta2 {
  margin-left: 10px;
  border-radius: 20px;
  font-weight: 400;
  padding: 12px 20px;
  color: var(--semi-black);
  cursor: pointer;
  border: 1px solid var(--semi-black); /* grigio-blu trasparente */
  background: rgba(255, 255, 255, 0.716); /* leggermente trasparente */
  backdrop-filter: blur(8px); /* effetto blur dietro */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  user-select: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* leggero glow */
}

.cta2:hover {
  color: #fff;
  background: var(--semi-black);
  border-color: var(--semi-black);
}

/* ! CallToAction inverso */
.cta2-inverso {
  margin-left: 10px;
  border-radius: 20px;
  font-weight: 400;
  padding: 12px 20px;
  color: #fff;
  cursor: pointer;
  border: 1px solid var(--semi-black);
  background: var(--semi-black);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  user-select: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta2-inverso:hover {
  color: var(--semi-black);
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--semi-black);
}

/* ! Colors */
.tw{color: #ffffff;} 
.tg{color: gray;}
.tgs{color: #121212;}
.tlg{color: rgb(197, 197, 197);}
.tb{color: #000;} 
.tr{color: red;} 
.to{color: rgb(247, 108, 16);}
.ty{color: rgb(255, 187, 0);}
.tlb{color: #2c78d4;}
.tgr{color: #15be18;}
  
.fw100{font-weight: 100;}
.fw200{font-weight: 200;}
.fw300{font-weight: 300;}
.fw400{font-weight: 400;}
.fw500{font-weight: 500;}
.fw600{font-weight: 600;}
.fw700{font-weight: 700;}
.fw800{font-weight: 800;}
.fw900{font-weight: 900;}

/* Color Palette */
:root {
  /* Structure */
  --navy-dark: #0F1A2B;

  /* Neutrals */
  --soft-sky: #D6E8FF;
  --cool-grey: #F2F4F7;
  --white: #FFFFFF;

  /* Text */
  --text-main: #0F1A2B;
  --text-light: #4A4A4A;

  /* ! Black */
  --premium-black: #05070D;

  /* Structure */
  --navy-dark-rgb: 15, 26, 43;

  /* ! premium black rgba */
  --premium-black-rgb: 5, 7, 13;

  /* Neutrals */
  --soft-sky-rgb: 214, 232, 255;
  --cool-grey-rgb: 242, 244, 247;
  --white-rgb: 255, 255, 255;

  /* Text */
  --text-main-rgb: 15, 26, 43;
  --text-light-rgb: 74, 74, 74;

  /* Shadows & Radius */
  --shadow-soft-rgb: 0 4px 14px 0, 0, 0, 0.08;
}

/* ! Main */
main{
  padding: 45px;
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  main{
    padding: 20px;
  }
}

.main-bg{
  background-color: #000;
  width: calc(100% - 90px);
  height: calc(100% - 90px);
  position: absolute;
  z-index: 1;
  overflow: hidden;
}
@media (max-width: 768px) {
  .main-bg{
    width: calc(100% - 40px);
    height: calc(100% - 40px);
  }
}
.main-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}


/* ! Main Content */
.main-content{
  border: 1px solid rgba(var(--cool-grey-rgb),0.3);
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  border-radius: 2px;
  padding: 45px;
  display: flex;flex-direction: column;justify-content: flex-start;align-items: center;
}
@media (max-width: 768px) {
  .main-content{
    padding: 15px;
  }
}

.main-content .title{
  width: 100%;
  height: fit-content;
  display: flex;justify-content: left;align-items: left;flex-direction: column;gap: 5px;
}
.main-content .title h1{
 color: var(--cool-grey);
 font-weight: 100;
 font-size: 3.2rem;
 margin-bottom: 0;
 padding: 0;
}
.main-content p{
 color: var(--cool-grey);
 font-weight: 200;
 font-size: 1rem;
 margin: 0;
 padding: 0;
}

/* ! nav-ND-contentNav */
.nav-ND-contentNav{
  width: 100%;
  height: 90%;
  display: flex;flex-direction: row;align-items: center;
}

/* ! Nav */
nav{
  width: 20%;
  height: 100%;
  padding: 20px 0px;
}
nav ul{
  color: var(--cool-grey);
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;flex-direction: column;justify-content: flex-start;align-items: flex-start;gap: 7px;
}
nav ul li{
  padding: 0;
  margin: 0;
}
nav ul li a{
  color: var(--cool-grey);
  font-size: 13.5px;
  font-weight: 400;
  transition: color 0.3s ease;
  padding: 0;
}
nav ul li a:hover{
  color: rgba(var(--white-rgb),0.5);
}

.nav-dot,
.nav-active {
  opacity: 0;
}
/* ! general-content */
.general-container{
  width: 80%;
  height: 100%;
  font-size: 14px;
  color: var(--cool-grey);
  font-weight: 100;
}

/* ! index.html */
.general-content_home{
  width: 100%;
  height: 100%;
  display: flex;justify-content: right;align-items: flex-end;
  line-height: 20px;
  opacity: 0;
}

/* ! Copytext */
.copytext{
  font-size: 11px;
  color: var(--cool-grey);
  user-select: none;
  position: absolute;
  bottom: 2px;left: 45px;
}
@media (max-width: 768px) {
  .copytext{
    bottom: -13px;left: 20px;
  }
}


*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}