body, html{ 
  background: linear-gradient(rgb(22, 22, 22),rgb(10, 10, 10),rgb(2, 2, 2), rgb(31, 31, 31));
  font-family: "Raleway", sans-serif;
  line-height: 1; 
  font-size: 16px; 
  box-sizing: border-box;margin: 0;padding: 0;
}
h1,h2,h3,h4,h5,h6, p, ol, ul{
  margin: 0 0 1rem 0;padding: 0;
}
ol,ul{
  padding-left: 20px;line-height: 1.5;
}
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}

/* ! Fonts */
.InterFont{
  font-family: "Inter", serif;
}
.DMSerifText{
  font-family: "DM Serif Text", serif;
}
.Pacifico{font-family: "Pacifico", cursive;}
.Poppins{font-family: "Poppins", sans-serif;}

/* ! 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;}

/* Menu */
:root { 
  --menu-bg: #121212; 
  --menu-color: #ffffff; 
    --menu-bg: 255, 255, 255;

  /* ! palette di colori in rgba( , , , 1) */
  --columbia-blue-rgb: 205, 230, 245;
  --cadet-gray-rgb: 141, 167, 190;
  --umber-rgb: 85, 70, 64;
  --cadet-grays-rgb: 135, 145, 158;
  --dim-gray-rgb: 112, 112, 120;
  --semi-black-rgb: 18, 18, 18;
  --semi-white-rgb: 243, 243, 243;

  --principal-color: #0097b2;
  --principal-color-rgb: 0, 151, 178;

  /* ! palette di colori */
  --cadet-gray:#8DA7BE;
  --umber: #554640;
  --columbia-blue: #CDE6F5;
  --cadet-grays: #87919E;
  --dim-gray: #707078;
  --semi-black: #121212;
  --semi-white: #f3f3f3;
  --white: #ffffff;
  --black: #000000;
}

.header{
  transition: background-color 0.5s ease;
  background-color: #121212b2;
  backdrop-filter: blur(7px);-webkit-backdrop-filter: blur(7px); 
  position: fixed; top:0;  left:0;height: 80px; z-index: 9999;right: 0; padding: 0;
  border-bottom: 1px solid rgb(var(--dim-gray-rgb), 0.5);
}
.header:hover{background-color: #121212;}

.header__content{max-width: 1900px;width: 100%;height: 100%; margin: 0 auto; display: flex;justify-content: space-between;}

.nome_Header{color: rgba(255, 255, 255, 0.836);font-size: 30px;transition: color 0.3s ease-in-out;}
.nome_Header:hover{color: rgb(255, 255, 255);}

.header__logo{width: 20%;display: flex; align-items: center;justify-content: right;padding-left: 10px;}
.header__logo a{width: fit-content;height: fit-content;}

.header__quick{display: flex; align-items: center;justify-content: left;width: 30%;}


.header__menu{padding: 0;margin: 0;display: flex;align-items: center;justify-content: left;width: 50%;padding-left: 20px;}
.header__menu li{display: inline-block;}
.header__menu li a{font-size: 17px;padding: 10px;color: rgba(255, 255, 255, 0.697);transition: color 0.15s ease-in-out;}
.header__menu li a:hover{color: rgb(255, 255, 255);}
.headerMobileHomeBtn{
  display: none;
}
@media (max-width: 768px) {.headerMobileHomeBtn{display: block;}}

@media (max-width: 768px) {
  .header{padding: 5px;height: 70px;padding:20px 22px;}
  .header__quick{display: block;position: relative;z-index: 2;}
  .header__menu{display: block; opacity: 0;background-color:  #121212;
    position: absolute; top:0px; left:0;right: 0;height: 100vh;width: 100%;
    height: 0vh; overflow: hidden;transition: all 1s cubic-bezier(.215, .61, .355, 1);
  }
  
  .nome_Header{margin-left: 0px;font-size: 24px;margin-bottom: 0px;}
  .mobilespacer{width: 50%;height: 5vh;}
  .header__menu li{padding: 10px;width: 100%;left: 0;right: 0;display: flex;justify-content: left;}
  .menu-open .header__menu{height: 130vh;padding: 3%;opacity: 1;transition: all 1s cubic-bezier(.215, .61, .355, 1);}

  .icon-hamburger{height: 50px;width: 30px;margin-left: 20px;padding-top: 5px;}
  .icon-hamburger span{height: 2px; width: 22.5px;background-color: #ffffff;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%;}

  .header__logo{width: 25%;}
  .header__logo,
  .header__quick{display: flex; align-items: center;height: 30px;width: fit-content;}
}

/* ! Main */
main{
  width: 100%;min-width: 700px; height: fit-content;
  margin: 80px auto 0px auto;
}
@media (max-width: 768px) {
  main{width: 100%;padding: 10px;min-width: 1px;}
}

/* ! introPanel */
.introPanel{
  position: relative;
  height: 900px;width: 100%;
  display: flex;flex-direction: column;justify-content: space-around;
}
.introPanel h1{
  position: relative;z-index: 1; width: 100%;
  text-align: center;
  font-size: 7rem;font-weight: 800;
  line-height: 8rem;
  color: var(--semi-white);
  top: 50px;
}
.introPanel h1 span {
  position: relative;
  z-index: 1;
  color: #fff; /* o il colore che vuoi sul testo */
  font-weight: 700;
}

@media (max-width: 768px) {
.introPanel{
  position: relative;
  height: 650px;width: 100%;
  display: flex;flex-direction: column;justify-content: space-around;
}
.introPanel h1{
  position: relative;z-index: 1; width: 100%;
  text-align: center;
  font-size: 4rem;font-weight: 800;
  line-height: 4.7rem;
  top: 50px;
}
.introPanel h1 span {
  position: relative;
  z-index: 1;
  color: #fff; /* o il colore che vuoi sul testo */
  font-weight: 700;
} 
}

/* Il “bg ruotato” */
.introPanel h1 span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--principal-color); /* evidenziatore */
  transform: rotate(3deg);
  z-index: -1;
  border-radius: 8px;
  padding: 10px 20px;
}

.IPS1, .IPS2, .IPS3 {
  user-select: none;
  position: absolute;
  height: 50px;
}
.IPS1{
  top: 35%;left: 10%;
  filter: drop-shadow(0 4px 6px rgba(255, 255, 255, 0.1)); 
}
.IPS2{
  top: 65%;left: 20%;
  filter: drop-shadow(0 4px 6px rgba(255, 255, 255, 0.1));
}
.IPS3{
  top: 55%;right: 20%;
  filter: drop-shadow(4px 8px 6px rgba(255, 255, 255, 0.1));
}

@media (max-width: 768px) {
  .IPS1, .IPS2, .IPS3 {display: none;
}
}

.pfp-container {
  perspective: 1000px;
  position: relative;
  width: 350px;
  height: 350px;
  margin: 0 auto;
  z-index: 3;
  border-radius: 50%;
}

.pfp-card {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
  box-shadow: 10px 40px 80px rgba(0, 0, 0, 0.301);
}

.pfp-container:hover .pfp-card {
  transform: rotateY(180deg);
}

.pfp-front, .pfp-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 50%;
  overflow: hidden;
}

.pfp-front img {
  border: 1px solid rgb(var(--semi-white-rgb), 0.05);
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pfp-back {
  border: 1px solid rgb(var(--semi-white-rgb), 0.1);
  background: var(--semi-black);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transform: rotateY(180deg);
}

.pfp-back a {
  width: 60px;height: 60px;
  border-radius: 50%;
  display: flex;align-items: center;justify-content: center;gap: 10px;
  padding: 15px;
}

@media (max-width: 768px) {
  .pfp-container {
    width: 300px;
    height: 300px;
  }

  .pfp-back a {
  width: 45px;height: 45px;
  border-radius: 50%;
  display: flex;align-items: center;justify-content: center;gap: 10px;
  padding: 8px;
  }

  .pfp-back a svg{
    width: 50px;
    height: 50px;
  }
}

/* ! Social Buttons */
.button-container {
  display: flex;margin: 0 auto;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.button {
  cursor: pointer;
  text-decoration: none;
  color: #ffff;
  fill: var(--principal-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--white);
  transition: all 0.45s;
}

.button:hover {
  transform: rotate(360deg);
  transform-origin: center center;
  background-color: #0097b2;
  border: 2px solid #0097b2;
  fill: var(--white);
}

.button:hover .btn-svg {
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(305deg)
    brightness(103%) contrast(103%);
}

.flex-center {
  padding: 7.5px;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ! Panel */
.panel {
  left: 0;top: 0;
  margin-top: 100px;
  height: fit-content;width: 100%;
  padding: 30px 10px;
  display: flex;justify-content: center;align-items: center;flex-direction: column;gap: 20px;
}
.panel h1{
  color: var(--semi-white);
  margin-bottom: 0;
  text-align: center;
  font-size: 3.8rem;
}
@media (max-width: 768px) {
  .panel h1{
  color: var(--semi-white);
  margin-bottom: 0;
  text-align: center;
  font-size: 2.8rem;
  }
}

.cards-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 20px;
  flex-wrap: wrap;
}

.card {
  position: relative;
  padding: 20px 0 10px 0;
  width: 300px;
  height: 400px;
  border-radius: 30px;
  
  /* Glassmorphism + dark vibe */
  background: rgba(20, 20, 20, 0.6); /* scuro trasparente */
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  
  /* Shadow / Glow */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7),
              0 0 15px  #0097b244; /* glow leggero neon */
  
  transition: transform 0.4s ease, box-shadow 0.4s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8),
              0 0 20px  #0097b2d5;
}
@media (max-width: 723px) {
  .card {
  width: 95%;
  align-items: center;
  }
}
.card h2{
  text-align: center;
  font-size: 38px;
  width: 95%;margin-left: 2.5%;
  color: var(--semi-white);
}
@media (max-width: 768px) {
  .card h2{
  text-align: center;
  font-size: 30px;
  width: 95%;margin-left: 2.5%;
  color: var(--semi-white);
  }
}

/* Effetto "appoggiato su un arcobaleno" */
.arc-left {
  transform: rotate(-6deg);
}
.arc-center {
  transform: rotate(0deg);
}
.arc-right {
  transform: rotate(6deg);
}
.animazione {
  pointer-events:none; /* l’animazione non prende hitbox */
}

@media (max-width: 1041px) {
/* Effetto "appoggiato su un arcobaleno" */
.arc-left {
  transform: rotate(0deg);
}
.arc-center {
  transform: rotate(0deg);
  transform: translateY(0px);
}
.arc-right {
  transform: rotate(0deg);
}

.cards-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 20px;
  flex-wrap: wrap;
}

.dotlottie{
  margin-bottom: 0;
}
.animazione{
  margin-bottom: 0;
}
}

/* ! WorkConnection */
.workConnection{
  padding: 50px 10px;
  height: 800px;width: 100%;
  top: 0;left: 0;bottom: 0;
  display: flex;justify-content: center;align-items: center;
}
.card-workConnection{
  width: 90%;height: 100%;
  max-width: 950px;
  display: flex;flex-direction: column;justify-content: center;align-items: center;
  border-radius: 30px;
}
.card-workConnection img{
  user-select: none;
  width: 100%;height: 65%;
  border-radius: 30px 30px 0px 0px;
  object-fit: cover;
}
.text-card-workConnection{
  width: 100%;height: 35%;
  border-radius: 0px 0px 30px 30px;
  background-color: #fff;
  display: flex;justify-content: center;align-items: center;flex-direction: column;
}
.card-workConnection .title{
  margin-bottom: 10px;
  font-size: 20px;font-weight: 500;
  text-align: center;
}
.card-workConnection .paragraph{
  width: 90%;margin-left: 5%;
  margin-bottom: 30px;
  font-size: 34px;font-weight: 650;
  text-align: center;
}

@media (max-width: 768px) {
  .workConnection{
  padding: 50px 10px;
  height: 600px;width: 100%;
  top: 0;left: 0;bottom: 0;
  display: flex;justify-content: center;align-items: center;
  }
  .card-workConnection{
  width: 90%;height: 100%;
  max-width: 950px;
  display: flex;flex-direction: column;justify-content: center;align-items: center;
  border-radius: 35px;
  }
  .card-workConnection img{
  user-select: none;
  width: 100%;height: 55%;
  border-radius: 30px 30px 0px 0px;
  object-fit: cover;
  }
  .text-card-workConnection{
    width: 100%;height: 45%;
    border-radius: 0px 0px 30px 30px;
    background-color: #fff;
    display: flex;justify-content: center;align-items: center;flex-direction: column;
  }
  .card-workConnection .title{
  margin-bottom: 10px;
  font-size: 20px;font-weight: 500;
  text-align: center;
  }
  .card-workConnection .paragraph{
    width: 90%;margin-left: 5%;
    margin-bottom: 30px;
    font-size: 24px;font-weight: 650;
    text-align: center;
    margin-bottom: 10px;
  }
}

/* ! Footer Bottomsite */
.footer {
  background-color: var(--semi-black);
  color: var(--semi-white);
  font-family: 'Inter', sans-serif;
  padding: 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  user-select: none;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  width: 33%;
}

.footer-nav a {
  color: var(--semi-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--cadet-grays);
}

.footer-socials {
  display: flex;
  gap: 1.3rem;
  align-items: center;
  justify-content: right;
  width: 33%;
}

.footer-socials a svg {
  fill: var(--semi-white);
  transition: fill 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.footer-socials a:hover svg {
  fill: var(--cadet-grays);
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid var(--dim-gray);
  text-align: center;
  font-size: 0.85rem;
  color: var(--cadet-grays);
  padding-top: 0.8rem;
  user-select: none;
}

.namefooter {
  font-size: 1.2rem;
  color: var(--semi-white);
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
  width: 33%;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
  }

  .footer-nav {
    gap: 1rem;
    justify-content: center;
    flex-direction: row;
  }
  
  .footer-socials {
    margin-top: 0.5rem;
    justify-content: center;
  }

  .namefooter {
    display: none;
  }
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}