* {
    box-sizing: border-box;
}

body{
    background-color: white;
    margin: 0;
    max-width: 100vw;
    font-size: 1rem;
    font-family: Helvetica, sans-serif;
    word-wrap: break-word;
}




header {
    position: relative;
    margin-top: 0;
    top: 30px;
    display: flex;
    max-width: 95%;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
   
}

header .button-title {
    font-size: 1.7rem;
    text-decoration: none;
    color: black;
    font-weight: 500;
    filter: invert(1);
    mix-blend-mode: difference; 
}

.button-title {
    z-index: 100;
}

nav {
    z-index: 100;
    display: none;
}

header nav a {
    margin-left: 30px;
}



  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    padding: 0px;
    z-index: 100;
    filter: invert(1);
    mix-blend-mode: difference; 
  }

 /* Dropdown Button */
 .dropbtn {
    background-color: transparent;
    color: black;
    padding: 5px;
    font-size: 1.7rem;
    border: none;
    font-weight: 500;
    letter-spacing: 0.1rem;
  }
  

  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    padding-bottom: 50px;
    padding-top: 20px;
    padding-left: 50px;
    padding-right: 50px;
    left: auto;
    right: -50px;
    background-color: transparent;
    min-width: 160px;
  }

  
  /* Links inside the dropdown */
  .dropdown-content a {
    text-align: right;
    color: black;
    padding: 8px 0px;
    text-decoration: none;
    display: block;
    font-size: 1.4rem;
    font-weight: 300;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {
    font-weight: 400;
}
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {display: block;}
  
.no-overflow {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.black-background{
    z-index: -10;
    height: 100vh;
    width: 100vw;
    position: absolute;
    margin: 0;
    top: 0;
    animation-name: slide-right;
    animation-duration: 0.5s;
    background-color: black;
    animation-delay: 0s;
    animation-fill-mode: forwards;
}





@keyframes slide-right {
    from {}
    to {transform: translateX(100%);}
}




.titolo-sezione {
    position: relative;
    filter: invert(1);
    mix-blend-mode: difference; 
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;    
    margin-top: 100px;
    margin-bottom: 20px;
}


.titolo-sezione p {
    font-size: 8em;
    font-weight: 800;
    margin: 0;
    padding-top: 0;
    line-height: 1;
}


.sottotitolo-sezione {
    position: relative;
    filter: invert(1);
    mix-blend-mode: difference; 
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;    
    margin-top: 0px;
    margin-bottom: 80px;
    text-align: right;
}


.sottotitolo-sezione p {
    font-size: 6em;
    font-weight: 800;
    margin: 0;
    padding-top: 0;
    line-height: 1;
    font-style: italic;
}


    .quote {
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 150px;
        margin-bottom: 150px;
    }

    .quote p {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    margin-top: 0px;
    color: black;
    
  }

   .quote .articolo-sezione p {
    font-weight: 600;
    font-size: 4rem;
    margin-bottom: 20px;
  }

  .quote .firma {
      margin-right: 0;
    margin-left: auto;
    text-align: right;
  }
   .quote .firma p {
    font-weight: 600;
    font-size: 4rem;
    margin-bottom: 20px;
  
  }

  .immagine-mobile-container {
    display: none;
  }

  .articolo-intero {
    position: relative;
    margin-top: 80px;
    display: flex;
    max-width: 95%;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    align-items: flex-start;
  }

   .articolo-intero .testo {
    max-width: 60%;
  }

  .articolo-intero .testo p {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 0px;
    color: white;
    filter: invert(1);
    mix-blend-mode: difference; 
  }

  .articolo-intero .articolo-sezione p {
    font-weight: 600;
    font-size: 4rem;
    margin-bottom: 20px;
  }


  .articolo-intero .articolo-sottosezione p {
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 15px;
    margin-top: 50px;
  }
 
  .articolo-intero .immagine {
    position: sticky;
    top: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: auto;
    margin-right: auto;
    max-width: 37%; 
    padding: 20px 20px;
    margin-bottom: 20px;
    border: solid 1px rgba(0, 0, 0, 0.5);
  }

  .immagine .descrizione-immagine-articolo {
    position: relative;
    color: rgba(0, 0, 0, 0.5);
    padding: 0;
    overflow-wrap: break-word;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: auto;
}


  .immagine .article-img {
    display: block;
    width: 100%;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    transition: transform 0.5s ease-out;

}

.note {
    max-width: 95%;
    text-align: right;
    margin-left: auto;
    margin-right: auto;
}

.note .line {
    max-width: 90%;
    margin-right: 0;
    margin-left: auto;
}


.note .line .title p {
    font-weight: 600;
    font-size: 4rem;
    margin-bottom: 20px;
            direction: rtl;

  }

.note .line ol {
    text-align: right; 
    direction: rtl;
}

ol p {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 0px;
    color: white;
    font-style: italic;
    filter: invert(1);
    mix-blend-mode: difference; 
}

ol li {
    font-size: 1.5rem;
    font-weight: 400;
        direction: rtl;

}



.seeMore {
    text-decoration: none;
    font-size: 1.8rem;
    margin-top: 10px;
    padding-bottom: 10px;
    align-self: flex-start;
    background-color: transparent;
    padding-left: 0;
    border-color: transparent;
    border-bottom: black 1px solid;
    
}

.seeMore:hover {
font-weight: 800;
}



.invisible-left{
    transform: translateX(-80px);
    opacity: 0;
    transition: 0.7s ease;
}

.invisible-bottom{
    transform: translateY(80px);
    opacity: 0;
    transition: 0.7s ease;
}

.invisible-right{
    transform: translateX(100%);
    opacity: 0;
    transition: 0.7s ease;
}




footer {
    margin-top: 80px;
    margin-bottom: 80px;
    max-width: 100vw;
    overflow: hidden;
    
}

.custom-footer {

    display: flex;
    max-width: 90%;
    justify-content: space-between;
    margin-left: auto;
    margin-right: 5vw;
    margin-top: 50px;
    padding-top: 0;

}

hr.line {
    border-top: solid 1px rgba(255, 255, 255, 0.8);
    max-width: 95%;
    margin-right: 0;
    margin-top: 10px;
}

.footer-index {
    max-width: 40%;
}

.footer-index a{
        text-align: right;
        color: black;
        padding: 10px 0px;
        text-decoration: none;
        display: block;
        font-size: 2rem;
        font-weight: 200;
      
}





.custom-footer .contatti {
    display: flex;
    flex-direction: column;
    max-width: 60%;
    margin-top: 0;
}



.custom-footer .contatti .title-articoli p {
    font-size: 6em;
    font-weight: 800;
    margin: 0;
    padding-top: 0;
    line-height: 1;
    color: black;
    
}

.custom-footer .contatti .sottotitolo-articoli p {
    font-size: 1.8rem;
    font-weight: 600;
    font-style: italic;
    margin-top: 0px;
    color: black;
}








.visible{
    transform: translate(0);
    opacity: 1;
}



@media screen and (max-width: 1000px){
    
    
    header .button-title {
        font-size: 3rem;
    }

    .dropbtn {
        font-size: 3rem;
    }

    .dropdown-content a {
        font-size: 3rem;
    }


    .nav-pc {
        display: none;
    }

    .dropdown {
        display: inline-block;
    }

 

    .titolo-sezione {
           
        margin-top: 200px;
    }


    .titolo-sezione p {
        font-size: 9em;
        
    }


   

    .sottotitolo-sezione p {
        font-size: 6em;
        
    }

    .quote {
        margin-top: 80px;
        margin-bottom: 80px;
        max-width: 80%;
    }

    .quote p {
        font-size: 2.2rem;
    }

    .articolo-intero {
    margin-top: 80px;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column-reverse;
    align-items: center;
    gap: 60px;
        
    }

     .articolo-intero .testo p {
    font-size: 2.5rem;
    
  }


    .quote .articolo-sezione p {
        font-size: 6rem;
    }

    .immagine-mobile-container {
    overflow: hidden;
    display: block;
    
}


.immagine-mobile-container .immagine-mobile {
    object-fit: cover;
    width: 100%;
    transform: scale(1.5);


}

    .articolo-intero .articolo-sezione p {
        font-size: 6rem;
    }

     .articolo-intero .articolo-sottosezione p {
        font-size: 4rem;
    }




    .articolo-intero .testo {
        max-width: 90%;
    }

    .articolo-intero .immagine {
        max-width: 70%;
        top: 0px;
        position: relative;
    }
    

    .seeMore {
        font-size: 3rem;
        margin-top: 20px;
        border-bottom: black 3px solid;

    }


    .note {
        max-width: 85%;
    }


.note .line .title p {
    font-size: 6rem;

  }



ol p {
    font-size: 2.5rem;
   
}

ol li {
    font-size: 2.5rem;

}

.articolo-intero .immagine {
    display: none;
}

hr.line {
    border-top: solid 1px rgba(0, 0, 0, 0.5);
   
}


.footer-index a {
        font-size: 3rem;

    }
}

