

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background-color: #201e21;
    z-index: -100;
}

.header {
    position: fixed;
    width: 100%;
    height: 120px;
    top: 0;
    background: #0a0a0b;
    box-shadow:0px 10px 17px 0px rgba(0,0,0,0.4);
    z-index: 40;
}

/*barra di navigazione*/
        
.navigation {
    position: fixed;
    width: 700px;
    top: 40px;
    height: 70px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    z-index: 100;
}

.navigation ul {
    display: flex;
    list-style-type: none;
}

.navigation ul li {
    position: relative;
    width: 100px;
    height: 70px;
}

.navigation ul li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    color: #282a35;
}

.navigation ul li a .icon {
    position: relative;
    top: 20px;
    font-size: 1.5em;
    transition: transform 0.5s;
}

.navigation ul li.active a .icon {
    transform: translateY(-35px);
}

/*con 'ball' si intende l'elemento sferico che si alza al passaggio del mouse sulle icone*/

.navigation ul li a .ball {
    position: absolute;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    background: #fff;
    transition: 0.4s;
    opacity: 0;
}

.navigation ul li.active a .ball{
    opacity: 1;
    transform: translateY(-25%);
    z-index: -1;
}

/*testo che appare al passaggo del mouse sulle icone*/

.navigation ul li a .text {
    position: absolute;
    top: 40%;
    font-weight: 200;
    font-size: 0.7em;
    letter-spacing: 0.5em;
    transition: opacity 0.5s, transform 0.5s;
    opacity: 0;
    transform: translateY(10px);
}

.navigation ul li.active a .text {
    opacity: 1;
    transform: translateY(0px);
}


/*In questo caso la pagina e' la home quindi l'indicatore resta fisso sotto home*/


.navigation ul li:nth-child(6) {
    border-bottom: 6px solid #f00;
}

/*FINE SEZIONE TOOLBAR*/

/*LOGO*/

.croppedLogo img{
    position: fixed;
    left: 3%;
    top: 10px;
    width: 100px;
    height: 100px;
    z-index: 41;
    filter: drop-shadow(1px 1px 1px #ffffff50);
}

.croppedLogoNero img{
    position: fixed;
    left: 3%;
    top: 10px;
    width: 100px;
    height: 100px;
    z-index: 41;
    filter: drop-shadow(1px 1px 1px #ffffff50);
    display: none;
}

/*CONTENT*/

.red {
    color: #c20c34;
}

.content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top:120px;
    width: 100%;
}

/*HERO SECTION*/
/*the area that immediately shows up on the screen under your logo and menu.*/
.hero {
    text-align: center;
    height: 100px;
    width: 100%;
    padding: 30px;
    background-color: #201e21;
    box-shadow:0px 10px 17px 0px rgba(0,0,0,0.7);
    z-index: 4;
  }
  
  .hero h1 {
    font-size: 32px;
    color: #fff;
  }
  
  .hero p {
    font-size: 18px;
    color: #eee;
    margin-bottom: 20px;
  }


/*CONTENT SECTION*/

.content-section{
    min-height: calc(100vh - 220px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.content-section .introduzione { 
    color: #eeeeeee7;
    width: 50%;
    min-width: 750px;
    text-align: center;
    padding: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: oblique;
    padding-bottom: 50px;
}
.content-section .introduzione .red {
    font-size: 3em;
}

.content-section #container {
    width: 50%;
    min-width: 750px;
    height: 800px; 
    overflow-y:scroll;
    background: #343438;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 20px;
}

/*stili per la barra di scorrimento personalizzata*/

.content-section #container::-webkit-scrollbar {
    width: 7px;
}

/* Track */
.content-section #container::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
.content-section #container::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 10px;
}

/* Handle on hover */
.content-section #container::-webkit-scrollbar-thumb:hover {
    background: #ababab; 
}

.content-section #container .linkPlaylist {
    padding: 10px;
}
.content-section #container .linkPlaylist a{
    color: #eee;
}
.content-section #container .linkPlaylist a:hover{
    color: #9c9c9c;
}

.content-section #container .puntata{
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 10px; 
}

.content-section #container .puntata div{
    width: 180px;
    margin-top: 20px;
    margin-bottom: 20px;

}

.content-section #container .puntata:hover{
    background-color: #eeeeee39;
}

.content-section #container .puntata div img {
    width: 100%;
}

.content-section #container .puntata a{
    padding-left: 30px;
    font-size: 1.3em;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: #eee;
}

.content-section #container .puntata p{
    color: #eee;
    font-family: 'Rock Salt', cursive;
    font-size: 0.7em;
    padding-right: 15px;
    padding-left: 15px;
}





/*Footer section*/

footer {
    background-color: transparent;
    padding: 20px;
    color: #fff;
    text-align: center;
    height: 164px;
    bottom: 0px;
  }
  .border {
    display: flex;
    justify-content: center;
  }
  .border .line{
    position: relative;
    height: 1px;
    width: 40%;
    top: -20px;
    background-color: #eee;
  }

  .contact-info p {
    margin: 0;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
  }
  
  .footer-links ul li {
    display: inline-block;
    margin-right: 10px;
  }
  
  .footer-links ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 0.8em;
  }
  .footer-links ul p {
    font-size: 0.8em;
  }
  


  .social-links ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
  }

  .social-links ul li {
    text-decoration: none;
    flex-direction: row;
    padding: 10px;
  }
  .social-links ul li a{
    display: flex;
    flex-direction: column;
    color: #eee;
    text-decoration: none;
  }

  .social-links ul li a .icon{
    font-size: 1.5em;
}

.social-links ul .facebook a:hover .icon{
    color: #4e669b;
    transition: 0.2s;
    font-size: 1.8em
}
.social-links ul .facebook a:hover .text{
    color: #4e669b;
}
.social-links ul .instagram a:hover .icon{
    color: #e1306c;
    transition: 0.2s;
    font-size: 1.8em
}
.social-links ul .instagram a:hover .text{
    color: #e1306c;
}
.social-links ul .vimeo a:hover .icon{
    color: #1ab7ea;
    transition: 0.2s;
    font-size: 1.8em
}

.social-links ul .vimeo a:hover .text{
    color: #1ab7ea;
}
.social-links ul .youtube a:hover .icon{
    color: #FF0000;
    transition: 0.2s;
    font-size: 1.8em
}

.social-links ul .youtube a:hover .text{
    color: #FF0000;

}
  
/*FOOTER*/

/*SOTTOLINEATURA IN TRANSIZIONE. AGGIUNGERE LA CLASSE "underline-transition"*/

.underline-transition {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    cursor: pointer;
    color: #eee;
}

    .underline-transition::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: #eee;
        transform-origin: center; /* Imposta il punto di origine della trasformazione al centro */
    }

    .underline-transition:hover::before {
        animation: expandUnderline 0.3s linear forwards;
    }

@keyframes expandUnderline {
    0% {
        width: 0;
        transform: translateX(-50%) scaleX(0); /* Imposta la larghezza a 0 e la scala dell'elemento a 0 inizialmente */
    }

    100% {
        width: 100%;
        transform: translateX(-50%) scaleX(1); /* Allarga l'elemento a tutta la larghezza originale */
    }
}

/*MEDIA QUERIES*/

@media only screen and (max-width: 1080px){
    .content-section .container{
        flex-direction: column;
    }

    .content-section .container {
        padding-left: 10%;
        padding-right: 10%;
    }

    .content-section .container .form {
        margin-left: 20%;
        margin-right: 20%;
        width: 60%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .content-section .container .info {
        padding-bottom: 50px;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
      }
}

@media only screen and (max-width: 1000px){
    .navigation {
        position: fixed;
    }
    .croppedLogo img{
        width: 0;
        height: 0;
        display: none;
    }
    
    .croppedLogoNero img{
        width:70px;
        height: 70px;
        left: 0; 
        display: block;
        z-index: 1000;
    }
}


@media only screen and (max-width: 800px) {
    .navigation {
        position: fixed;
        flex-direction: column;
        width: 70px;
        height: 100vh;
        top: 0;
        left: 0;
    }

    .navigation ul {
        flex-direction: column;
        align-items: center;
    }

    .navigation ul li {
        width: 100%;
    }

    .navigation ul li a {
        display: flex;
        flex-direction:row-reverse;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
        font-weight: 500;
        text-decoration: none;
        color: #282a35;
    }

    .navigation ul li a .icon {
        top: 10px;
        position: absolute;
    }

    .navigation ul li.active a .icon {
        transform: translateX(0px);
    }

    .navigation ul li a .text {
        position: relative;
        font-size: 0.6em;
        letter-spacing: 0.13em;
        opacity: 1;
        transform: translateY(0px);
        top: 40px;
    }

    .navigation ul li:nth-child(4) a .text{
        font-size: 0.52em;
        letter-spacing: 0.08em;
    }

    .navigation ul li:nth-child(6) a .text{
        font-size: 0.55em;
        letter-spacing: 0.1em;
        left: -4px;
    }

    .navigation ul li:nth-child(6) {
        border-left: 6px solid #ff0000;
        border-bottom-left-radius: 0px;
        border-bottom: 0px;
    }

    /*la linea di divisione tra una sezione e 
    l'altra si sposta di 4px cioe' la larghezza 
    della barra rossa affianco alla sezione in 
    cui ci troviamo, stessi allineamenti anche
    per il testo e l'icona*/

    .navigation ul li:nth-child(6) .border{
        left: 4px;
    }

    
    .navigation ul li:nth-child(6) a .text{
        left: -3px;
        font-size: 0.53em;
        letter-spacing: 0;
    }

    
    .navigation ul li:nth-child(6) a .icon{
        left: 16px;
    }

    .navigation ul li.active a .ball{
        opacity: 0;
    }

    .navigation ul li .border{
        position: absolute;
        height: 1px;
        width: 50px;
        background: #282a35;
        left: 10px;
        top: -1px;
    }

    .croppedLogo img{
        position: fixed;
        left: 0;
        top: 10px;
        width: 70px;
        height: 70px;
        z-index: 101;
        opacity: 1;
    }
    
    .header {
        position: fixed;
        width: 0;
        height: 0;
        top: 0;
        background: transparent;
        box-shadow:0px 0px 0px 0px transparent;
    }

    /*CONTENT*/
    
      .pulsante1 {
        width: 30%;
        max-width: 140px;
        padding: 2%;
    }

    /*HERO SECTION*/
      .hero{
        padding-left: 100px;
        position: fixed;
        z-index: 2;
        top: 0;
      }
    
      .hero h1 {
        font-size: 100%;
        color: #fff;
      }
      

    /*CONTENT-SECTION*/

      .content-section {
        min-height: calc(100vh - 300px);
        width: 100%;
        padding-left: 70px;
        margin-top: -70px;
      }
    
      .content-section .introduzione { 
        width: auto;
        min-width: 0;
        text-align: center;
        padding: 15px;
    }

    .content-section #container {
        width: auto;
        min-width: 0;
        height: 600px; 
    }
    
    .content-section #container .puntata{
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px; 
    }
    
    .content-section #container .puntata div{
        width: 180px;
        margin-top: 20px;
        margin-bottom: 20px;
    
    }
    
    .content-section #container .puntata:hover{
        background-color: #eeeeee00;
    }
    
    .content-section #container .puntata div img {
        width: 100%;
    }
    
    .content-section #container .puntata a{
        padding-left: 0px;
        font-size: 0.8em;
    }
    
    .content-section #container .puntata p{
        display: none;
    }
    

    /*FOOTER SECTION*/  
      
    footer{
        padding-left: 90px;
    }  


      .footer-links ul li {
        margin-right: 5px;
      }
      
      .footer-links ul li a {
        font-size: 0.6em;
      }
      
    
    
     
    
      
      
      .footer-links ul p{
        font-size: 0.6em;
      }
      
      .social-links ul li a .icon{
            font-size: 1.2em;
        }
        


        .social-links ul .facebook a .icon{
            color: #4e669b;
        }
        
        .social-links ul .instagram a .icon{
            color: #e1306c;
        }
        .social-links ul .vimeo a .icon{
            color: #1ab7ea;
        }
        .social-links ul .youtube a .icon{
            color: #FF0000;
        }



        .social-links ul .facebook a:hover .icon{
            transition: none;
            font-size: 1.2em;
        }
        
        .social-links ul .instagram a:hover .icon{
            transition: none;
            font-size: 1.2em;
        }
        .social-links ul .vimeo a:hover .icon{
            transition: none;
            font-size: 1.2em;
        }
        .social-links ul .youtube a:hover .icon{
            transition: none;
            font-size: 1.2em;
        }
        .social-links ul li a .text{
            font-size: 0;
        }
        .social-links ul li a:hover .text{
            font-size: 0;
        }
        
}

@media only screen and (max-height: 630px){
    .croppedLogo img{
        display: none;
    }
}

@media only screen and (max-width: 550px){
    .content-section .container .form {
        margin-left: 0;
        margin-right: 0;
        width: 230px;
    }
    .content-section .container {
        justify-content: center;
        align-items: center;
    }
}
