*, *::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;
}
.notificaCarrello {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #22c55e; /* verde */
  color: white;
  padding: 20px 40px;
  border-radius: 8px;
  font-size: 18px;
  z-index: 9999;
  animation: fadeInOut 4s ease-in-out forwards;
}
.notificaCarrello_uno {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ef4444; /* rosso */
  color: white;
  padding: 20px 40px;
  border-radius: 8px;
  font-size: 18px;
  z-index: 9999;
  animation: fadeInOut 4s ease-in-out forwards;
}
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
html, body {
  overflow-x: hidden;
  background-color: #ffffff;
}
.pagina_info{
    overflow-x: hidden;
    background-color: #D6D6D3;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.logo_1{
    position: absolute;
    right: -15vw;
    top: -5vw;
    width: 80vw;
    height: auto;
    border: none;
    opacity: 0.03;
    transform: rotate(10deg);
}
.blocco-alto-sempre {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #D6D6D3;
    width: 100%;
    padding: 1.6rem 2rem;
}
.menu {
    font-family: 'Actually';
    font-size: clamp(1rem, 1.1vw, 2rem);
    letter-spacing: 0.2rem;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 0 0 0.35vw rgba(0,0,0,0.08);
    -webkit-font-smoothing: antialiased;
    z-index: 5;
}
.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu li a {
    text-decoration: none;
    color: #000;
}
.blocco {
    display: flex;
    flex-direction: column;
    margin: 10rem 0;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: #FFFFFF;
    border-radius: 0.5rem;
    background-color: #FFFFFF;
}
.titolo_behind_the_lens{
    display: block;
    font-family: 'Actually';
    height: auto;
    font-size: clamp(1.4rem, 4vw, 3.5rem);
    line-height: 1.25;
    margin: 1rem 1rem 0 1rem;
    z-index: 2;
}
.titolo_behind_the_lens span{
    display: block;
    text-align: right;
    margin-top: 1rem;
    right: 0;
    font-size: clamp(1.2rem, 3.2vw, 2.5rem);
    color: #1D1F21;
    z-index: 2;
    width:70%;
}
.paragrafi{
    align-self:center;
    text-align: center;
    margin-top: 10rem;
    font-family: 'Commissioner';
    font-size: clamp(1rem, 2.2vw, 1.75rem);
    z-index: 2;
    width: 65%;
}
.email_uno{
  font-family: 'Commissioner';
  font-weight: lighter;
  filter: brightness(1.2) contrast(1.2);
  font-size: clamp(1rem, 2.8vw, 2rem);
  cursor:pointer;
  text-align: center;
  margin: 6rem  0 1rem 0;
  z-index: 2;
}
.griglia_form{
    display: flex;
    flex-direction: column;
    width: 50%;
    z-index:2;
    align-self:center;
    margin-top: 8rem;
    font-family: 'Commissioner';
    font-size: clamp(1rem, 2.2vw, 1.75rem);
}
.stile_contatti{
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.name, .phone_no, .email, .message{
  font-family: 'Commissioner';
  background-color: #FFFFFF;
  border: none;
  border-bottom: 0.5px solid #E0E0DD;
}
.message{
   min-height: 6rem;
}
.name::placeholder,
.phone_no::placeholder,
.email::placeholder,
.message::placeholder {
    color: #E6BB65;/* colore del placeholder */
    padding-right: 1rem;
    font-size: clamp(0.8rem, 2vw, 1.3rem);
    opacity: 1;         /* evita che alcuni browser lo schiariscano */
    text-align: end;
}
.consent_checkbox {
    width: 1rem;
    height: 1rem;
    accent-color: #000; /* spunta nera */
    cursor: pointer;
    margin:0;
    z-index:2;
}
.box_consensi{
    align-self:center;
    width: 50%;
    font-size: clamp(0.8rem, 2vw, 1.3rem);   /* leggermente più piccolo */
    line-height: 1.2;
    justify-content: center;
    padding:1.5rem;
    margin: 0 0 1.5rem 0;
    z-index:2;
}
.captcha_box{
  display: flex;
  flex-direction: row;
  align-self: center;
  justify-content: center;
  width: 50%;
  gap: 2rem;
  font-size: clamp(1rem, 2.2vw, 1.75rem);
  margin: 1.5rem 0 0 1.5rem;
}
.text_input{
  text-align: center;
  width: 16rem;
  z-index:2;
  font-size: clamp(1rem, 2.2vw, 1.75rem);
  background-color: #FFFFFF;
}
.spedisci_messaggio {
  padding: 0.6rem 2.2rem;
  font-size: 1.1rem;        /* più stabile */
  background-color: #D6D6D3;
  border: 1px solid #000;
  border-radius: 4px;
  cursor: pointer;
  margin: 5.5rem auto 1rem auto; /* centrato e con spazio equilibrato */
  display: block;             /* più corretto per un bottone */
}
.footer-behind-lens {
    overflow-y:hidden;
}


@media (max-width: 677px) {
    .paragrafi{
        width:70%;
        margin-top: 6rem;
    }
    .titolo_behind_the_lens span{
        width:100%;
    }
    
    .griglia_form{
        width: 70%;
        margin-top: 6rem;
    }
    .box_consensi{
        width: 72%;
    }
    
    .captcha_box{
        width: 66%;
    }
    
    .text_input{
        width: 10rem;
    }
}
    
@media (max-width: 477px) {
    .paragrafi{
        width:84%;
        margin-top: 3rem;
    }
    .titolo_behind_the_lens span{
        width:100%;
    }
    
    .griglia_form{
        width: 94%;
        margin-top: 3rem;
    }
    .box_consensi{
        width: 100%;
        padding:0.5rem;
    }
    
    .captcha_box{
        width: 98%;
        margin: 0rem;
    }
    
    .text_input{
        width: 6rem;
    }
    .email_uno{
        font-size: 0.8rem;
    }
}
    

@media (orientation: landscape) {
    .blocco-alto-sempre {
        max-width: 1400px;
        margin:0 auto;
        
    }
}