.layer1 { 
    background-color: #F4F1E8;
    }
    .Filippo { 
    font-size: 50px;
    color: black;
    }


    .main-text{ 
        font-family: "Playfair Display", serif;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: normal;
        color: 	black;
        }
    



    .fixed-header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: #F4F1E8; /* Imposta un colore di sfondo per l'header */
    }

    .group { 
        padding: 10px 12%;
        
    }

    .Ul1 { 
        user-select: none;
        color: black;
    }
    
    .Ul1:visited   { 
        user-select: none;
        color: black;
    }  
    
    
    




    hr { 
        margin-bottom: 0;
    }

    



    nav {
        display: flex;
        align-items: center;
        justify-content: space-between;

        text-color: black;
        
    }
    
    nav ul li
    {
        display: inline-block;
        list-style: none;
        margin: 10px 20px;
    }
    
    nav ul li a
    {

    text-decoration: none;
    font-size: 20px;
    position: relative;
    color: black;
    }
    
    nav ul li a.primo::after {
        content:'';
        width: 0;
        height: 3px;
        background: black;
        position: absolute;
        left: 0;
        bottom: -6px;
    }
    
    nav ul li a:hover::after{
        width: 100%;
    }
    
    .secondo {
        font-size: 20px;
        border-radius: 30px;
        padding: 20%;
        cursor: pointer;
        overflow: hidden;
        align-items: center;
        display: inline-flex;
        justify-content: center;
        background-color: rgb(255, 255, 255);
        border: 1px solid #1c1e21;
        border-radius: 50px;
        color: #1c1e21;
        line-height: 16px;
        padding: 16px 28px;
        position: relative;
        text-align: center;
        transition: color .33s linear .1s, border-color ease-out .5s, background-color .33s linear 0s;
        white-space: pre;
        z-index: 1;
    }
    
    .secondo:after {
        background-color: black;
        border-radius: 50%;
        content: '';
        height: 167px;
        min-width: 167px;
        position: absolute;
        top: 0;
        transform: scale(1) translateY(67px);
        transition: transform 1s cubic-bezier(0.61, 1.82, 1, 0.61);
        transition-property: transform;
        transition-duration: 0.8s;
        transition-timing-function: cubic-bezier(0.61, 1.82, 1, 0.61);
        transition-delay: 0s;
        width: 100%;
        z-index: -1;
    }
    
    .secondo:hover:after {
        transform: scale(1.47) translateY(0);
    }
    
    .secondo.contattami {
        color: rgb(0, 0, 0);
        text-decoration: none;
    }
    
    .contattami:hover {
        color: rgb(255, 255, 255);
    }
    

    
    .container {
        max-width: 8000px; /* Imposta la larghezza massima del contenitore del video */
        margin: 0 auto; /* Centra il contenitore orizzontalmente */
        overflow: hidden; /* Impedisce al video di fuoriuscire dal contenitore */
        position: relative;
    }
    
    .video-container {
        position: relative;
    }
    
    .welcome-video-video {
        object-fit: cover;
        width: 100%;
        height: 810px;
        margin-bottom: 0px;
    }
    
    #stopButton {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 700%);
        background:none;
        border: none;
        cursor: pointer;
        padding: 0;
        
    }
    
    body, html {
        margin: 0;
        padding: 0;
    }
    
    .container2 {
        margin-top: 90px;
        margin-left: 20px;
    }
    
    .Immagine {
        width: 70%;
    }
    
    .image-container {
        display: flex;
        justify-content: center;
        margin-top: 0px;
    }
    
    .image {
        width: 48%; /* Regola la larghezza delle immagini per adattarle al tuo design */
    }
    
    #stopButton,
    #playButton {
        width: -40px; /* Imposta la larghezza del pulsante */
        height: -40px; /* Imposta l'altezza del pulsante */
    }


    
    .rounded-corners {
        border-radius: 200px; /* Imposta gli angoli arrotondati */
        overflow: hidden; /* Assicura che il video arrotondato non mostri angoli affusolati */
        transition: border-radius 0.5s ease; /* Aggiungi una transizione per l'effetto di arrotondamento */
    }
    

    .foto {
        margin-top: 40px;
        display: flex;
        flex-direction: column; /* Imposta la direzione dei figli in colonna */
    }

.immagine-me {
    width: 30%; /* Riduci la larghezza desiderata */
    height: 600px; /* Imposta l'altezza automaticamente in base alla larghezza */
}

.section-header {
    color: 	#191919;
    display: flex;
    justify-content: center;
    font-size: 80px;
    margin-bottom: 0px;
    padding-top: 7%;
}
    
    
  

.Nome-home{
    text-decoration: none;

}



.card-container {
    position: relative; /* Required to position child elements */
    
  }
  




  
.card {
    position: relative;
    z-index: 1; /* Ensure the video is above the button */


    
  }
  

.card-button{
    margin-left: 10px;
    margin-right: 10px;
    width: 350px;
    height: 620px;
    margin-bottom: 20px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #ff3636;
    clip-path: inset(1px 1px 1px 1px round var(--global-card-corner-radius));
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;

}



.card-set {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card1 {
    margin-left: 10px;
    margin-right: 10px;
    width: 400px;
    height: 620px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #ff3636;
    transition: transform 0.5s ease;
}


.card {
    margin-left: 10px;
    margin-right: 10px;
    width: 320px;
    height: 560px;
    margin-bottom: 20px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #ff3636;
    clip-path: inset(1px 1px 1px 1px round var(--global-card-corner-radius));
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
}





.card-image {
    width: 100%;
    height: 100%; /* L'immagine occupa l'intera altezza della card */
    object-fit: cover; /* Ridimensiona l'immagine per adattarla all'area */
}

.card-image1 {
    width: 100%;
    height: 100%; /* L'immagine occupa l'intera altezza della card */
    object-fit: cover; /* Ridimensiona l'immagine per adattarla all'area */
}

/* Quando passiamo sopra una card, la ingrandiamo leggermente */

.card1:hover {
    transform: scale(1.05);
}
.card:hover {
    transform: scale(1.03);
}


.contatti {
    display: flex;
    justify-content: center;
    color: white;
    font-size: 100px;
}


#stopButton2{
    position: fixed;
    top: 20%;
    left: 50%;
    background:none;
    border: none;
    cursor: pointer;
    padding: 0;
}







.checkbox-container-wrapper {
    display: flex;
  }
  
  .checkbox-container {
    margin-right: 20px;
  }
  /* Stile per l'icona SVG della checkbox */
  .checkbox-container svg {
    width: 16px; /* Imposta la larghezza desiderata */
    height: 16px; /* Imposta l'altezza desiderata */
    fill: #03016f; /* Colore dell'icona */
    vertical-align: middle; /* Allineamento verticale al centro */
  }
  
  /* Stile per il testo allineato */
  .checkbox-container span {
    vertical-align: middle; /* Allineamento verticale al centro */
    margin-left: 5px; /* Spazio tra l'icona e il testo */
    color: white;
    font-size: 90px;
  }


  .mailbox{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    background: #EFE9E4;
    padding-bottom: 100px;
    padding-top: 100px;
  }

  .mail{
    width: 600px;
    max-width: 100%;
    position: relative;
    border: 1px;
       


  }

  .mail input{
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid;
    padding: 1rem 2rem; 

    width: 500px;
    border-color: black;
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
    margin-bottom: 3rem;
  }


  .Registrazione{
    width: 600px;
    display: flex;
    align-items: center;
  }



  .form-type{
    gap: 2px;
    display: flex;
    flex-direction: column;
    gap: .2rem;

  }



  .mail-text {
    font-size: 25px;
    border-left: 0px;
    border-color: black;
  }

  .subscribe {
    font-size: 20px;
    margin: 0 auto;
    background: linear-gradient(to bottom right, #ec4899, #f97316);
    width: 250px;
    border: none;
    border-radius: 1.5rem;
    padding: 13px 4px;
    cursor: pointer;
    color: white;
  }


  .form-title {
    display: flex;
    font-size: 30px;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding-bottom: 0px;
  }
  
  

  
  .form-p{
    display: flex;
    font-size: 21px;
    justify-content: center;
    width: 100%;
    
  }

  .parag{
    width: 100%;
    text-align: center;
  }


  .Posting{
    text-align:center;
  }


  .smicons {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    padding: 0;
    
  }


.first {
    width: 300px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3.2em;
}


.info-1 {


    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    
}


.button-start{
     font-size: 20px;
    margin: 0 auto;
    background: linear-gradient(to bottom right, #ec4899, #f97316);
    width: 250px;
    border: none;
    border-radius: 1.5rem;
    padding: 13px 4px;
    cursor: pointer;
    color: white;
}


.info-2{

    font-size: 21px;
    align-items: center;
    justify-content: center;
    width: 700px;
    margin-right: auto;
    margin-left: auto;
    
    
}

.balance {
    display: flex;
    align-items: center;
    margin-top: 3.6rem;
    justify-content: center;
    
}

.quote { 
    text-align: justify;
    width: 400px;
    font-size: 21px;
    padding: 0px;
    margin: 0 auto;
    margin-left: 3.2rem;
    

}

.information-card { 

    width: 380px;
    height: 380px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid;
    border-color: black;
    display: flex;
    flex-direction: column;
    margin-top: 8rem;
    
}


.tabs{
    display:flex;
    align-items: center;
    justify-content:center;
    background: #EFE9E4;
    border-radius: 15px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 700px;
    padding: 10px;  


}

.tabs button {
    width: 50%;
    background: transparent;
    border: none;
    padding: 12px;
    cursor: pointer;
    z-index: 2;
    font-size: 17px;
    line-height: 25px;
    font-weight: 500;
    font-family: "Manrope", sans-serif;
}



.tabs .active {
    background: white;
    height: calc(100% - 10px);
    width: calc(50% - 10px);
    position: absolute;
    top: 5%;
    left: 0;
    transform: translateX(5px);
    border-radius: inherit;
    box-shadow: 0 2px 2px #ccc;
    transition: all 200ms;

}


.pippo{

    
    
}


.contenuti{
    margin-top: 5%;
}


.tab-content {
    margin-top: 20px;
    align-items: center;
    justify-content: center;

}

.content {
    display: none;
    padding: 10px;
    background-color: none;
    border-radius: 8px;
    
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.content.active-content {
    display: block;
    margin-left: auto;
    margin-right: auto;
}






.fotoC {

    width: 950px;
    height: 950px;
}



.videolist{

    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 3.2em;
    padding-left: 0px;
}


.headeritem:visited{

    color: black;

}






/* Impostiamo la descrizione come nascosta inizialmente */
.description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    color: black;
    padding: 10px;
    box-sizing: border-box;
    height: 0; /* Inizialmente la descrizione è alta 0 */
    overflow: hidden; /* Nascondi il contenuto fuori dalla vista */
    opacity: 0; /* Inizialmente trasparente */
    transition: height 0.6s ease, opacity 0.6s ease; /* Aggiungi transizione per height e opacity */  
}
  
  /* Rendi visibile la descrizione con uno slittamento verso l'alto */
  .show-description-btn.active + .description {
    height: 100%; /* Altezza finale della descrizione */
    opacity: 1; /* Rendi visibile la descrizione */
  }
  
  /* Posizioniamo correttamente il pulsante */
  .show-description-btn {
    background-color: #898989;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    position: absolute;
    bottom: 90%;
    left: 90%;
    transform: translateX(-50%);
    z-index: 10;
    border-radius: 50px;
    font-size: 10px;
  }

  .fa-solid.fa-info { 



    color: white;
    font-size: 15px;


  }


  .fa-solid.fa-chevron-right{ 




    color: white;



  }


  .fa-solid.fa-chevron-left{ 




    color: white;



  }

  .fa-solid{ 


    font-size: 21px;

    color: #06ac78;



  }


  .fa-check{ 


margin-bottom: 0;


  }

.check{ 

list-style: none;
display: flex;
padding: 0;
margin: 0;

justify-content: center;
align-items: center;

gap: 7.6rem;




  }

 .check li { 


    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 25;
    gap: 0.6em;
    padding: 0;
    margin-bottom: 0;
    margin-top: -1;
    font-family: "Manrope", sans-serif;



  }


.checktext{ 

    font-size: 26px;
    justify-content: center;

  }
  
  
  
  
  
  
  .fa-link, .fa-person, .fa-seedling{ 

    font-size: 4rem;


  }




.gino { 


margin-bottom: 29px;



  }



  .photolist { 


    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    
    
    
    }


    .scroll-container {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        width: 100%;
    }
    
    .videoC {
        display: flex;
        overflow-x: hidden;
        scroll-behavior: smooth;
        width: 100%;
        padding: 10px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .videolist {
        display: flex;
        gap: 20px; /* Spazio tra i video */
    }
    
    .scroll-buttons {
        display: flex;
        justify-content: center;
        gap: 20px; /* Spazio tra le frecce */
        margin-top: 10px;
    }
    
    .scroll-btn {
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    
    .scroll-btn i {
        font-size: 16px;
    }



    footer{
        background: #F4F1E8;
        padding-top: 50px;
    }
    .container{
        width: 1140px;
        margin: auto;
        display: flex;
        justify-content: center;
    }
    .footer-content{
        width: 33.3%;
    }
    h3{
        font-size: 28px;
        margin-bottom: 15px;
        text-align: center;
    }
    .footer-content p{
        width:190px;
        margin: auto;
        padding: 7px;
    }
    .footer-content ul{
        text-align: center;
    }
    .list{
        padding: 0;
    }
    .list li{
        width: auto;
        text-align: center;
        list-style-type:none;
        padding: 7px;
        position: relative;
    }
    .list li::before{
        content: '';
        position: absolute;
        transform: translate(-50%,-50%);
        left: 50%;
        top: 100%;
        width: 0;
        height: 2px;
        background: #f18930;
        transition-duration: .5s;
    }
    .list li:hover::before{
        width: 70px;
    }
    .social-icons{
        text-align: center;
        padding: 0;
    }
    .social-icons li{
        display: inline-block;
        text-align: center;
        padding: 5px;
    }
    .social-icons i{
        color: white;
        font-size: 25px;
    }
    a{
        text-decoration: none;
    }
    a:hover{
        color: #f18930;
    }
    .social-icons i:hover{
        color: #f18930;
    }
    .bottom-bar{

        text-align: center;
        padding: 10px 0;
        margin-top: 50px;
    }
    .bottom-bar p{
        color: #343434;
        margin: 0;
        font-size: 16px;
        padding: 7px;
    }





    /* css small screens */



nav .fa-solid{
    display: none;
}

@media only screen and (max-width: 600px) {
    
    
    .section-header{
    color: black;
    display: flex;
    justify-content: center;
    font-size: 50px;
    margin-bottom: 0px;
    padding-top: 40%;
    }


    .card:hover {
        transform: none;
    }
    


    .Ul1{

        right: -200px;
            
        }
  .smicons {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    padding: 0;
    
  }

  .check{
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}


.first {
    width: 250px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.info-2{

font-size: 20px;
width: 330px;
}


.mailbox  {
    padding-top: 0px;
}

.balance {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.quote { 
    text-align: justify;
    width: 250px;
    font-size: 18px;
    padding: 0px;
    margin: 0 auto;
    margin-left: 1.2rem;
    

}

nav .fa-solid {
    display: block;

    font-size: 25px;
}

nav ul li{
    display: block;

}



nav ul {
    background: #ff004f;
    position: fixed;
    top: 0;
    right: 0;
    width: 200px;
    height: 200vh;
    padding-top: 50px;
    margin-top: 0;
    padding-inline-start: 0px;
    z-index: 2;
    transition: right 0.5s;
}

nav ul li {
    display: block;
    margin: 25px;
}

nav ul .fa-solid {
    position: absolute;
    top:25px;
    left: 25px;
    cursor: pointer;
    display: block;
}


html {
    scroll-behavior: smooth;
}

video {
    width: 260px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    
}

.tabs{
    width: 300px;
    margin-top: 120px;
}


.card {
    width: 260px;
    height: 452px;
    background-color: none;;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;


}

.content {
    align-items: center;
    justify-content: center;
}


.videoC {
    overflow: hidden; /* Nasconde i contenuti che escono dal contenitore */
    position: relative;
    width: 90%;
  }
  
  .videolist {
    display: flex; /* Disposizione in riga dei contenuti */
    overflow-x: auto; /* Abilita lo scorrimento orizzontale */
    overflow-y: hidden; /* Nasconde lo scorrimento verticale */
    -webkit-overflow-scrolling: touch; /* Abilita uno scrolling fluido su iOS */
    scrollbar-width: none; /* Nasconde la barra su Firefox */
  }
  
  .videolist::-webkit-scrollbar {
    display: none; /* Nasconde la barra su Chrome, Safari e altri WebKit */
  }

.scroll-container {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}


.photowidth {
    width: 200px;
    }

    .photolist{
        display: flex;
        flex-direction: column;
        }
        
        

 .mail input   {
    width: auto;
    }

 .Registrazione  {
    width: auto;
    }
    
 .container  {
    width: auto;
    }

 .information-card   {
    width: 330px;;
    }
    
    .scroll-buttons{
    display: none;
    }
    
    .info-2 {
    ;
    }

}


