* { padding: 0; 
    margin: 0; 
    box-sizing: border-box; 
  } 
  
  @font-face { 
    font-family: 'DarkerGrotesque_B'; /*COME IO LO RICHIAMO*/ 
    src: local('DarkerGrotesque'), 
    url(font/DarkerGrotesque-Bold.ttf) format('truetype'); 
  } 

  @font-face { 
    font-family: 'DarkerGrotesque_R'; 
    src: local('DarkerGrotesque'), 
    url(font/DarkerGrotesque-Regular.ttf) format('truetype'); 
  } 
  
  body,html { 
    height: 100%;
   } 

  
   .intro-wrapper {
  background: linear-gradient(to bottom, #ffffff, #CECFD1);
  width: 100%;
  min-height: 100%; 
}
  
   
  
  html{ scroll-behavior: smooth; } 
  .navbar { display: none; } 
 
  
  .navbar a { 
    color: #000000; 
    text-decoration: none; 
    font-family: DarkerGrotesque_R; 
    margin-left: 20px; 
    font-weight: bold; 
  } 
  

  .logo-menu-mobile  {
    position: fixed;      
    top: -15px;            
    left: 5px;          
    width: 120px;          
    height: 120px;
    z-index: 10;          /* sopraa */
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: multiply !important;
    background: transparent !important;
    display: block;
}


  .about, 
  .portfolio, 
  .contact { 
    scroll-margin-top: 80px;  
    font-family: DarkerGrotesque_R; 
  } 
  
  #toggle { display: none; } 
  #toggle:checked ~ .menu-overlay { opacity: 1; pointer-events: auto; } 
  .burger-label { 
    position: fixed; 
    top: 20px; 
    right: 20px; 
    width: 30px; 
    height: 25px; 
    cursor: pointer; 
    z-index: 5; 
  } 

    .burger-label span { 
      display: block; 
      height: 4px; 
      width: 30px; 
      background: #000000; 
      margin: 5px 0; 
      border-radius: 2px; 
      transition: all 0.4s ease; 
      transform-origin: center; 
    } 
    
    .menu-overlay {
      position: fixed; 
      top: -50%; 
      left: 50%; 
      width: 50%; 
      height: 30%; 
      background-color: rgba(255, 255, 255, 0.7);
      transition: top 0.5s ease; 
      z-index: 5; 
      padding-top: 3rem; 
      padding-bottom: 1rem;
    } 
    
    .menu-overlay a { 
      color: #000000;  
      text-decoration: none;  
      font-family: DarkerGrotesque_R; 
    } 
    
    .menu-overlay a h2 { 
      color: inherit;        /* eredita il nero dagli a*/ 
      text-decoration: none; /* NO sottolineature ricordaaaaaaa*/ 
      font-family: inherit; 
    } 
    
    .link_pagina h2 { 
      font-family: DarkerGrotesque_R;
      color: #000; 
      text-decoration: none; 
      font-size: 1.5rem; 
      margin-left: 20px; 
      margin-top: 20px;
    }
     #toggle:checked ~ .menu-overlay { top: 0%; } 
     .logo-overlay {
       width: 80px; 
       height: auto; 
       margin-bottom: 40px; 
      } 
      
      #toggle:checked ~ 
      .burger-label span:nth-child(1) { 
        transform: rotate(45deg) translate(8px, 8px); 
        background: #949494; 
      } 
      
      #toggle:checked ~ 
      .burger-label span:nth-child(2) { 
        opacity: 0; 
      } 
      
      #toggle:checked ~ 
      .burger-label span:nth-child(3) { 
        transform: rotate(-45deg) translate(5px, -5px); 
        background:#949494; }

    .hero {
      align-items: center;       
      width: 60vw;
      margin: 0 auto;            
      text-align: center;
      padding-top:2rem ;
    }

    .hero img {
      width: 100%;
      padding-top: 10vh;
      padding-bottom: 5vh;
      max-width: 500px;
      height: auto;
      display: block;
    }

    .hero_elenco{
      padding: 0;               
      margin: 0 0 0 0;
      display: flex;
      list-style: none; 
      flex-direction: column;        
      text-align: center;
    }

    .hero_elenco li {
    font-family: DarkerGrotesque_R;
    font-size: 1.3rem;
    list-style: none;
    margin-left: 0vw;
    width: 100%;
    }
  
  /* 1 FRASE SCORRIMENTO */ 

  .titolo_about {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding-top: 5vh;
    padding-bottom: 10vh;
  }
  
  .titolo_about_frasi {
    display: inline-block;
    padding-left: nowrap;
    animation: scroll-left 20s linear infinite !important;
  }



  .titolo_about_frasi h1 {
    display: inline-block;
    padding-right: 0.5rem;
    font-family: DarkerGrotesque_R;
    font-size: 4rem;
    color: #000000; 
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-68%);
    }
  }

  /* FRASE PRESENTAZIONE */

  .tutto_about{
    display: flex;
    flex-direction: row ;
    align-items: center;
    padding: 10%;
  }

  .tutto_about img{
    width: 30px;
    height: 30px;
  }

  .testo_about {
    font-family: DarkerGrotesque_R;
    font-size: 1.5rem;
    padding: 5%;
    text-align: center;
    line-height: 3.2vh;
  }

  .titolo_bold {
    font-family: DarkerGrotesque_B;
    font-size: 1.5rem;
    line-height: 3.2vh;
  }

  /*DETTAGLI CARRIERA PRIMA DI AWARDS*/

  .tutto_info{
    display: flex;
    flex-direction: column ;
    align-items: center;
    padding: 1rem;
    gap: 4rem;
  }

  .image_awards{
    width: 90vw;
    height: auto;
    padding-top: 20vh;
    padding-left: 10vw;
  }

  .titolo_awards{   /*TITOLO AWARS REMEMBERRRRR*/
    font-family: DarkerGrotesque_B;
    font-size: 4rem;
    line-height: 2.5rem;
    color: #E3F31F;
     -webkit-text-stroke: 0.5pt #949494; 
  }

  .testo_awards{
    font-family: DarkerGrotesque_R;
    font-size: 1.2rem;
    line-height: 3.2vh;
    z-index: 2;
    padding: 2vh 5vh 5vh 5vh;
    background-image: url(image/Img_2.png);
    background-size: 75% auto;
    background-position: center;
    background-repeat: no-repeat;
  }


   /*INFORMAZIONI EDUCAZIONE E LAVORO*/

  .info_section {
     font-family: DarkerGrotesque_R;
  }

  .riquadro_blocco {
    border: 1px solid black;
    background-image: none !important;
    padding: 4vh;
    margin-left: 5vh; 
    margin-right: 5vh;
    margin-bottom: 5vh;
  }

  .riquadro_blocco li{
    font-size: 1.2rem;
  }

  .titolo_bold {
    font-family: DarkerGrotesque_B;
    font-size: 1.5rem;
  }

  .titolo_blocco{
    font-family: DarkerGrotesque_B;
    padding-left: 5vh;
  }

  .titolo_elenco{
    font-size: 1.2rem;
    list-style-type: square;
  }

  .testo_paragrafo {
    font-size: 1.2rem;
    line-height: 3.2vh;
  }

  
   /*SCRITTA PORTFOLIO*/

  .titolo_gallery {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding-top: 5vh;
    margin-bottom: 4rem;
  }
  
  .titolo_portfolio_frasi {
    display: inline-block;
    padding-left: nowrap;
    animation: scroll-left 10s linear infinite;
  }

  .titolo_portfolio_frasi h1 {
    display: inline-block;
    padding-right: 0.5rem;
    font-family: DarkerGrotesque_R;
    font-size: 4rem;
    color: #000000; 
  }

  /*PRIMO PROGETTO PORTFOLIO*/
  .portfolio_gallery {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 6rem;
  }


  .info_container{
    font-family: DarkerGrotesque_R;
    display: flex;
    flex-direction: column;
    justify-content: left;
    text-align: left;
    margin: 0 auto;
    padding: 5rem 2rem 2rem 2rem;
    width: 100%;
    max-width: 100vw;
    }

  .info_container img{
    height: 30px;
    width: 30px;
    margin: 1rem auto;
    display: block;
  }

  

  .titolo_progetto{
    font-family: DarkerGrotesque_B;
    font-size: 3rem;
    line-height: 6vh;
    text-align: left;
  }

  .categoria_progetto{
    font-family: DarkerGrotesque_B;
    text-align: left;
  }

  .note_progetto{
    text-align: left;
  }

  .data_progetto{
    border: 1px solid black;
    background-color: #ffffff;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 20px;
    width: 25vw;
    margin: 1rem auto;
    display: flex;
  }


  .testo_progetto  {
    font-size: 1.2rem;
    line-height: 3.2vh;
    margin: left auto;
    text-align: left;
    }





  
  
  /*IMMAGINI PROGETTO PRIMO 1 */
  
  .carouselSpazioNero {
  margin-bottom: 10vh;  
  padding-bottom: 50vh;
}

.carouselDune {
  margin-bottom: 10vh;
  padding-bottom: 50vh;
}

.carouselManiaMono {
  margin-bottom: 10vh;
  padding-bottom: 50vh;
}

 /*CONTATTI */
.info_contatti{
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}

 .info_contatti img:not(.norma_pic){
      width: 20px;
      height: 20px;
 }

 .contatti-row {
  display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem;
  }
  
.info_contatti p, 
.info_contatti a {
  margin: 0;
  font-family: DarkerGrotesque_B;
  font-size: 1.2rem;
  color: #000000;
}

.email{
  font-family: DarkerGrotesque_B;
  font-size: 1.2rem;
  color: #000000;
}

.norma_pic {
   width: 110px;
  height: auto; 
  margin: 0;
  }

   /*FOOTER!!!!!! */

.footer{
background-color: #E3F31F;
height: 27vh;
}

.footer ul {
  list-style: none; 
  padding: 2rem 0 0 0;
  margin: 4rem 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.1rem;
}

.footer li {
  font-family: DarkerGrotesque_B;
  font-size: 1rem;
  color: #000000;
}




/* media query (text) */
@media (min-width: 376px) {
    
  .awards {
    flex: 1;
    max-width: 70%;
    text-align: left;
    padding-bottom: 3rem;
  }

  .image_awards{
    width: 50vh;
    height: auto;
    padding-top: 20vh;
    padding-left: 10vw;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  
  .awards {
    flex: 1;
    max-width: 60%;
    text-align: left;
    padding-bottom: 3rem;
  }

  .image_awards{
    width: 50vh;
    height: auto;
    padding-top: 20vh;
    padding-left: 10vw;
  }

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    
  .tutto_info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10%;
  }
  

  .awards {
    flex: 1;
    max-width: 60%;
    text-align: left;
  }

  .image_awards{
    width: 50vh;
    height: auto;
    padding-top: 20vh;
    padding-left: 10vw;
  }
  .titolo_awards {
    font-size: 7rem;
    line-height: 9vh;
  }

  .testo_awards {
    font-size: 1.5rem;
    line-height: 1.2;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    

    .logo-menu-mobile {
      display: none; 
    }

    .burger-label {
      display: none; 
    }

    .menu-overlay {
      display: none; 
    }

   

  .logo-wrapper {
      width: 80px;   
      height: 80px;  
      position: relative;
      overflow: hidden; /* TAGLIA logo Lottie */
      display: flex;
      justify-content: space-between;
      align-items: center;
      isolation: isolate;
    }


    .logo-lottie {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 150%;   /*zoom*/
      height: 150%;
      transform: translate(-50%, -50%);
    }


    .navbar {
        display: flex;
        position: fixed;
        width: 100%;
        height: auto;
        /*justify-content: space-between;*/
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        
        z-index: 1000;
        box-sizing: border-box; 
        mix-blend-mode: multiply !important;
    }


    .navbar a {
        color: #000;
        text-decoration: none;
        font-family: DarkerGrotesque_R;
        margin-left: 20px;
        font-size: 1.5rem;
    }

    .navbar a:hover {
        color: #E3F31F;
    }

    .hero {
    align-items: center;       
    display: flex;
    flex-direction: column;
    width: 70vw;
    margin: 0 auto;            
    text-align: center;
    }

    .hero img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-top: 5vh;
    display: block;
  }

  .hero_elenco {
    padding: 0;               
    margin: 0 0 0 0;
    display: flex;
    list-style: none; 
    flex-direction: column;         
    text-align: center;
}

  .hero_elenco li {
    font-family: DarkerGrotesque_R;
    font-size: 1.5rem;
    list-style: none;
    margin-left: 0vw;
    width: 100%;
  }

  .tutto_about{
    padding: 5%;
    justify-content: center;
  }

  .tutto_about img {
    width: 50px;
    height: 50px;
  }

  .testo_about {
    font-size: 2rem;
    padding: 2%;
    max-width: 60%;
    line-height: 4vh;
  }

  .tutto_info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5% 10% 5% 10%;

  }

  .awards {
    flex: 1;
    max-width: 40%;
    text-align: left;
  }

  .titolo_awards {
    font-size: 7rem;
    line-height: 9vh;
  }

  .testo_awards {
    font-size: 1.5rem;
    line-height: 1.2;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .info_section {
    flex: 1;
    max-width: 40%;
    display: flex;
    flex-direction: column; 
    gap: 5vh; 
  }

  .info_section_education,
  .info_section_work {
    margin: 0; 
  }

  .riquadro_blocco {
    margin: 0; 
    padding: 2vh; 
  }

  .titolo_blocco{
    font-size: 1.5rem;
    text-align: left;
  }

  .titolo_bold {
    font-family: DarkerGrotesque_B;
    font-size: 1.5rem;
  }

  .testo_paragrafo {
    font-size: 1.5rem;
    line-height: 3.2vh;
  }

  .titolo_elenco {
      font-size: 1.5rem; 
  }

   .titolo_portfolio_frasi {
    display: inline-block;
    padding-left: nowrap;
    animation: scroll-left 10s linear infinite;
  }

  .portfolio_gallery {
    display: flex;
    flex-direction: row;           
    align-items: center;
    margin-top: 8rem;
    margin-bottom: 15rem; 
    
  }
  
    .info_container{
      padding: 0;
    }

   .portfolio_gallery .info_container {
    flex: 1;             
    max-width: 40%;
  }

  .portfolio_gallery .carousel_container {
    flex: 1;
    max-width: 55%;      
    max-height: 70vh;    
    overflow: hidden;    
    display: flex;
    align-items: center; 
    justify-content: center;
  }

  .portfolio_gallery .carousel_container img,
  .portfolio_gallery .carousel_container video {
    max-height: 100%;   
    width: auto;        
    object-fit: contain; 
    display: block;
    margin: 0 auto; 
    }

  /* CONTATTI */

  .info_contatti{
    display: flex;
    flex-direction: column; 
    align-items: center;    
    gap: 10px;              
}

.contatti-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem; 
    margin: 3rem;
    margin-top: 5rem;
}

.norma_pic {
    width: 120px; 
    border-radius: 50%; 
    margin-bottom: 6rem;
}

.info_contatti p, .info_contatti a{
  font-size: 1.5rem;
}

/*FOOTER*/

.footer ul {
    flex-direction: row;       
    justify-content: center;   
    gap: 2rem;                 
    padding-top: 1rem;
    margin-top: 2rem;
  }

  .footer {
    background-color:#E3F31F;
    height: 60px;
  }

} 

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  
}