*, *::before, *::after {
    box-sizing: border-box;
}
@font-face {
  font-family: 'Actually';
  src: url('/fonts/Actually-Grotesk/file_fonts/ActuallyGrotesk-Regular.woff2') format('woff2'),
       url('/fonts/Actually-Grotesk/file_fonts/ActuallyGrotesk-Regular.woff') format('woff'),
       url('/fonts/Actually-Grotesk/file_fonts/ActuallyGrotesk-Regular.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Clarity';
  src: url('/fonts/Clarity-City-Typeface/file_fonts/ClarityCity-MediumItalic.woff2') format('woff2'),
       url('/fonts/Clarity-City-Typeface/file_fonts/ClarityCity-MediumItalic.woff') format('woff'),
       url('/fonts/Clarity-City-Typeface/file_fonts/ClarityCity-MediumItalic.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Commissioner';
  src: url('/fonts/Commissioner-Typeface/file_fonts/CommissionerLoud-ExtraLight.woff2') format('woff2'),
       url('/fonts/Commissioner-Typeface/file_fonts/CommissionerLoud-ExtraLight.woff') format('woff'),
       url('/fonts/Commissioner-Typeface/file_fonts/CommissionerLoud-ExtraLight.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.8s ease-in-out;
}

html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    overflow:auto;
    height: 100%;
    background: #ffffff;
    user-select: none;
    font-size: 16px;
}
@keyframes fadeMenu {
  from { opacity: 0; transform: translateY(-1vh); }
  to { opacity: 1; transform: translateY(0); }
}
.noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 5;
  background-image: url("../media/VENTO.png");
  background-size: 150% 110%;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.02;
  animation: vento 24s linear infinite;
}
@keyframes vento {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}
.noise-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 6;
  background-image: url("../media/VENTO.png");
  background-size: 150% 110%;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.03;
  animation: vento 14s linear infinite;
}
@keyframes vento {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}
.noise-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 7;
  background-image: url("../media/VENTO.png");
  background-size: 150% 110%;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.05;
  animation: vento 9s linear infinite;
}
@keyframes vento {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}
.logo_1 {
    position: fixed;
    padding: 0;
    z-index: 8;
    width: 20%;
    margin-left: 12%;
    margin-top: 12%; /* opzionale se vuoi centrarlo anche in verticale */
    opacity: 0.1;
    transform: translate(-50%, -50%);
    animation: pulse 20s ease-in-out infinite;
}

.icone{
    position: absolute;
    right: 3rem;
    top: 2rem;
    padding:1rem;
    gap:2rem;
    display:flex;
    flex-direction:row;
}
.icona-delay {
    z-index: 9;
    opacity: 0;
    animation: fadeInIcon 1s ease-out forwards;
    animation-delay: 7s;
    cursor: pointer;
    display: inline-block;
}

/* Effetto hover SOLO sull'immagine */
.icona-delay img:hover {
    transform: scale(1.2);
    filter:
        drop-shadow(0 0 12px #feda75)
        drop-shadow(0 0 14px #fa7e1e)
        drop-shadow(0 0 16px #d62976)
        drop-shadow(0 0 18px #962fbf)
        drop-shadow(0 0 20px #4f5bd5);
}

.icona-delay img {
    width: 2.4rem;
    height: auto;
    display: block;
    transition:
        transform 0.8s ease,
        filter 0.8s ease;
}

@keyframes fadeInIcon {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { opacity: 0; }
    50% { opacity: 0.2; }
    100% { opacity: 0; }
}

/*divisione tra icone*/
.carrello {
    z-index: 10;
    /* parte fuori a sinistra */
    transform: translateX(-600%);
    opacity: 0;
    /* animazione */
    animation: slideIn 2s ease forwards;
    animation-delay: 5.4s;
}

@keyframes slideIn {
    from {
        transform: translateX(-600%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.icona-carrello{
    position: absolute;
    z-index: 9;
    width: 2.4rem;
}
.icona-carrello:hover,
.icona-carrello:hover + .icona-carrello {
  color: #f0f0f0;
  filter: drop-shadow(0 0 12px #ffffff)
          drop-shadow(0 0 24px #ffffff);
}
.blocco {
    perspective: 1000px;
    z-index: 1;
    position: relative;
    /*background-image: url(../media/_11.png);*/
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    top: 0;
    margin:0;
    padding: 0;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    overflow-y: hidden;
}
/*sezione*/
.slide-wrapper {
    animation: slideDown 0.9s ease-out forwards;
    width: 100%;
}
@keyframes slideDown {
    0% {
        transform: translateY(-10vh);
    }
    100% {
        transform: translateY(0);
    }
}
.rotate-wrapper {
    transition: transform 0.15s ease-out;
    width: 100%;
    transform-style: preserve-3d;
    will-change: transform;
}
.contenitore-1 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-self:center;
    justify-items:center;
    z-index: 9;
    transform: translateZ(0);
    width:92%;
    margin-top:34%;
    overflow: hidden;
    padding-top:4rem;
}
.riflesso {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items:center;
    align-self: center;
    justify-self:center;
    justify-items:center;
    transform: scaleY(-1);
    filter: blur(1.25px);
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
    opacity: 0.2;
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    margin:0 auto;
}
.nome-1 {
    margin: 0 0 1rem 3rem;
    font-family: 'Actually';
    font-weight: lighter;
    filter: brightness(1.2) contrast(1.2);
    letter-spacing: 0.2em;
    color: #f2f2f2;
    filter: brightness(1.3) contrast(1.2);
    font-size: clamp(1.6rem, 6vw, 4rem);
    animation: slideDownSolo 0.9s ease-out forwards ;
    text-shadow:
        0 0 0.3vw rgba(39, 39, 39, 0.45),
        0 0 0.8vw rgba(53, 53, 53, 0.18);
}
@keyframes fadeInIcon {
    from { opacity: 0; }
    to { opacity: 1; }
}
.nome-2 {
    align-self: flex-end;
    transform: translateZ(0);
    margin:0 3rem 8.8rem 0;
    font-family: 'Actually';
    font-weight: lighter;
    filter: brightness(1.2) contrast(1.2);
    letter-spacing: 0.3em;
    color: #f2f2f2;
    filter: brightness(1.3) contrast(1.2);
    font-size: clamp(1.6rem, 6vw, 4rem);
    animation: slideRightSolo 0.9s ease-out forwards;
    animation-delay: 1.2s; /* puoi cambiarlo liberamente */
    opacity: 0;
    text-shadow:
        0 0 0.3vw rgba(39, 39, 39, 0.45),
        0 0 0.8vw rgba(53, 53, 53, 0.18);
}
@keyframes slideRightSolo {
    0% {
        transform: translateX(10vw);
        opacity: 0;
    }
    100% {
    transform: translateX(0);
    opacity: 1;
    }
}
.prof-wrapper {
  transform: translateZ(0);
  text-align: center;
  width: 100%;
}
.professione-1 {
    margin: 0;
    margin-bottom: 1rem;
    font-family: 'Actually';
    color: #E0E0DD;
    filter: brightness(1.4) contrast(1.3);
    font-weight: bold;
    font-size: clamp(0.5rem, 1.5vw, 1rem);
    letter-spacing: 1em;
    animation: slideRightProfessione 3.4s ease-out forwards;
    animation-delay: 2.4s; /* puoi cambiarlo liberamente */
    opacity: 0;
    padding: 0;
    text-shadow:
        0 0 0.3vw rgba(39, 39, 39, 0.45),
        0 0 0.8vw rgba(53, 53, 53, 0.18);
}
.professione {
    margin: 0;
    font-family: 'Actually';
    color: #f2f2f2;
    filter: brightness(1.3) contrast(1.2);
    font-size: clamp(1rem, 3vw, 2rem);
    filter: brightness(1.2) contrast(1.2);
    letter-spacing: 1.7em;
    margin-left: 1.5rem;
    animation: slideRightProfessione 3.4s ease-out forwards;
    animation-delay: 2.4s; /* puoi cambiarlo liberamente */
    text-align: center;
    opacity: 0;
    padding: 0;
    text-shadow:
        0 0 0.3vw rgba(39, 39, 39, 0.45),
        0 0 0.8vw rgba(53, 53, 53, 0.18);
}
@keyframes slideRightProfessione {
    0% {
        transform: translateX(40vw);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
.menu {
    display: flex;
    flex-direction: column;
    font-family: 'Clarity';
    padding:1rem;
    margin:0 0 0 7%;
    margin-top:31%;
}


.menu li {
    color: #f2f2f2;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    letter-spacing:0.03em;
    cursor: pointer;
    opacity: 0;
    animation: fadeMenu 0.2s ease-out forwards;
    align-self: flex-start; /* <--- QUESTA È LA SOLUZIONE */
}
.menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  gap: 3rem;
  gap: clamp(0.6rem, 4vw, 3rem);
}
.menu li.color{
    color: #E0E0DD;
}
.menu li.sub-menu-1{
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 0;
    text-shadow: 0 -1px 2px rgba(0, 0, 0, 0.15);
    /* Rallenta tutte le animazioni dell’hover */
    transition: transform 1.25s ease;
    cursor: pointer; /* fa comparire il dito */
}
.menu li.sub-menu-1:hover {
    color: #f0f0f0;
    filter: drop-shadow(0 0 12px #ffffff)
          drop-shadow(0 0 24px #ffffff);
}
.menu li.sub-menu-2{
    display: inline-block;
    width: auto;
    margin-left: 3%;
    text-shadow: 0 -1px 2px rgba(0, 0, 0, 0.15);
    transition: transform 1.25s ease;
    cursor: pointer; /* fa comparire il dito */
}
.menu li.sub-menu-1 a {
    color: #E0E0DD;
    text-decoration: none;
}
.menu li.sub-menu-2 a {
    color: #E0E0DD;
    text-decoration: none;
}
.menu li.sub-menu-2:hover {
    color: #f0f0f0;
    filter: drop-shadow(0 0 12px #ffffff)
            drop-shadow(0 0 24px #ffffff);
}
.menu li.sub-menu-3 {
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    margin-left: 10%;
    transition: 1.25s ease; /* serve per l’animazione */
}
.menu li.sub-menu-3 a {
    color: #E0E0DD;
    text-decoration: none;
}
.menu li.sub-menu-3:hover {
    color: #f0f0f0;
    transform: scale(1.4);
    filter: drop-shadow(0 0 12px #ffffff)
            drop-shadow(0 0 24px #ffffff);
}
.menu li:nth-child(1) { animation-delay: 6.8s; }
.menu li:nth-child(2) { animation-delay: 7.0s; }
.menu li:nth-child(3) { animation-delay: 7.2s; }
.no-animazioni .menu li {
    animation: none !important;
}
.categorie-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  opacity: 0;
  margin-left: 34%;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.categorie-menu.show {
  opacity: 1;
  pointer-events: auto;
}
.categoria-voce {
  font-family: 'Clarity';
  display: block;
  padding: 0.7rem;
  font-size: 2.1vw;
  font-size: clamp(1.0rem, 4vw, 1.3rem);
  color: white;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: 0.3s ease;
}
.categoria-voce:hover {
  border-left: 3px solid #ffcc66;
  padding-left: 24px;
  color: #ffcc66;
}

.footer-behind-lens {
    overflow-y:hidden;
    width: 100%;
    background-color:#ffffff;
    padding: 0;
    margin: 0;
}

.sfondi{
    position: relative;
}



/* Smartphone + Tablet: nascondi la barra, scroll attivo */
@media (max-height: 1670px) {
    .menu{
        margin-top:21.7%;
    }
}
@media (max-height: 1570px) {
    .menu{
        margin-top:15%;
    }
    .contenitore-1{
        margin-top: 30%;
    }
}
@media (max-height: 1060px) {
    .menu{
        margin-top:6.2%;
    }
}
@media (max-height: 700px) {
    .categoria-voce{
        padding:0.2rem;
    }
    
    .logo_1{
        margin-top: 4.2rem; 
    }
}
@media (max-width: 960px) {
    .contenitore-1{
        margin-top:15%;
    }

}   
@media (max-height: 880px) {
    .categoria-voce{
        padding:0.2rem;
    }
    .logo_1{
        margin-top: 3.2rem; 
    }
    .menu{
        margin-left:1%;
    }
}
@media (max-width: 488px) {
    .menu{
        margin-top:4rem;
    }
    .professione{
        letter-spacing: 1.1em;
        margin-left: 0;
    }
    .categorie-menu{
        margin-left:29%;
        margin-top:1rem;
    }
    .icone{
        position: absolute;
        right: 2rem;
        top: 2rem;
        padding:1rem;
        gap:1rem;
        display:flex;
        flex-direction:row;
    }
    .icona-delay img {
        width: 2rem;
    }
    .icona-carrello {
        width: 2rem;
    }
}


@media (orientation: landscape) {
    
    .logo_1 {
        width: 11.25%;
        margin-left: 6.75%;
        margin-top: 6.75%; 

    }
    
    .icone{
        right:5rem;
    }
        .contenitore-1 {
        width: 50%;
        margin-top:10.12%;
    }
    
    .menu {
        display: flex;
        flex-direction: column;
        font-family: 'Clarity';
        padding:1rem;
        margin:0 0 0 7%;
        margin-top:7.43%;
    }
    .menu li .submenu-3{
        margin-left:7%;
    }
    
    .nome-2 {
        margin-bottom: 6rem;
    }
      
    .home-skip-anim .menu li.sub-menu-3 {
        font-size: 2.1vh;
    }


    .prof-wrapper {
        margin-top: -2vw;
    }
    .icona-delay {
        width: 3vw;
    }

    .icona-carrello{
        width: 2vw;
    }

    .categorie-menu {
      margin-left: 24%;
      flex-direction: row;
      gap:4rem;

    }

}







    
    
    
    

/* MENU */
.home-skip-anim .menu li {
    animation: none !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.home-skip-anim .menu li.sub-menu-3 {
    transition: none !important;
    font-size: clamp(1.6rem, 4vw, 2rem) !important;
    margin-left: 9vw !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* CARRELLO */
.home-skip-anim .carrello {
    animation: none !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* NOME-1 */
.home-skip-anim .nome-1 {
    animation: none !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* NOME-2 */
.home-skip-anim .nome-2 {
    animation: none !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* PROFESSIONE */
.home-skip-anim .professione,
.home-skip-anim .professione-1 {
    animation: none !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* SLIDE WRAPPER */
.home-skip-anim .slide-wrapper {
    animation: none !important;
    transform: translateY(0) !important;
}