*{
    margin: 0;
    padding: 0;
}
body{
    font-family:"Mulish", sans-serif;
    font-optical-sizing: auto;
    font-weight: 350;
    font-style: normal;
}

/* ------------------ N A V B A R -------------------------- */

nav{
    background-color: transparent;
    background-image: url(images/pexels-quentin-chansaulme-423965555-18742039.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 29%;  /*29%*/

    height: 80px;
    
    font-size: 17px;
    font-weight: 500;  /*350*/

    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: background-color 0.2s, color 0.2s;
}

nav.scrolled {
    background-color: rgb(255, 255, 255);
    background-image: none;
    
    box-shadow: 0px 0.3px 0px rgba(0, 0, 0, 0.1);   
}

nav ul{
    height: 80px;
    width: 86.5%;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-nav {
    height: 80px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;

    letter-spacing: 0.1px;
}

.container-nav-left{
    width: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.container-nav-right{
    width: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

nav a{
    padding-bottom: 18px;
    padding-top: 18px;
    margin-left: 35px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: rgb(255, 255, 255);
    

    -webkit-transition: 0.3s;
    transition: 0.3s;
}

nav #puntini-nav{
    margin-left: 30px;
}

nav a:hover{
    color: #cbcbcb;

    -webkit-transition: 0.3s;
    transition: 0.3s;
}

nav.scrolled a {
    color: rgb(62, 62, 62); /* Cambia il colore dei link */
}

nav.scrolled a:hover {
    color: rgb(0, 0, 0); /* Cambia il colore dei link */
}

.logo-a-nav{
    margin-left: 0px;
}

#scritta-logo-nav{
    font-family: 'Times New Roman', Times, serif; 
    letter-spacing: 7px; 
    font-size: 18.5px;
    color: white;
    font-weight: 400;
}

nav.scrolled #scritta-logo-nav-a {
    color: rgb(37, 36, 150);
}

#scritta-logo-nav-a{
    cursor: pointer;
}

.btn-chisiamo-nav{
    background-color: white;
    color: rgb(109, 102, 83);
    cursor: pointer;
    padding: 14px;
    padding-left: 21px;
    padding-right: 21px;
    text-decoration: none;
    border: none;
    border-radius: 7px;

    font-size: 17px;
    font-weight: 500; 
    font-family:"Mulish", sans-serif; 

    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.btn-chisiamo-nav:hover{
    background-color: #dddddd;

    -webkit-transition: 0.2s;
    transition: 0.2s;
}

nav.scrolled .btn-chisiamo-nav{
    background-color: rgb(224, 133, 56);
    color: white;
}

nav.scrolled .btn-chisiamo-nav:hover{
    background-color: rgb(207, 121, 51);
}

nav #icon-freccia-nav{
    color: white;
    font-size: 12px; 
    margin-left: 7px;
}

nav.scrolled #icon-freccia-nav{
    color: #bebebe;
}

/* ------------------ S I D E B A R ----------------------- */

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;

    background-color: rgb(255, 255, 255);
    backdrop-filter: blur(0px);
    box-shadow: -0.3px 0 0px rgba(0, 0, 0, 0.1);

    display: none; 

    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li{
    width: 100%;
}

.sidebar a{
    width: 100%;
}

.menu-button{
    display: none;
}

/* --------------------- D R O P   D O W N   M E N U ------------------- */

/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content Hidden by default /*/
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f3f3f3;
    min-width: 195px;
    box-shadow: 0px 0.1px 0px rgba(0, 0, 0, 0.1); /* Effetto ombra */
    border-radius: 8px; /* Bordi arrotondati per l'effetto nuvola */
    z-index: 1;   

    border: 0px solid rgb(231, 231, 231);

    right: 0;
}

/* Links all'interno del menu */
.dropdown-content a {
    color: rgb(41, 41, 41);
    padding: 9px 23px;
    padding-right: 30px;
    text-decoration: none;
    display: block;
    border-radius: 0px;
    font-size: 15.5px;
    font-weight: 500;
    margin-left: 0px;
}

/* Cambia colore al passaggio del mouse */
.dropdown-content a:hover {
    background-color: #ffffff;
    color: black;
}

/* Mostra il dropdown al passaggio del mouse */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Stile per il contenitore delle icone social */
.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 0px;
    padding-bottom: 0px;
}

/* Stile per ogni icona */
.dropdown-content .social-icon a {
    color: #333;
    font-size: 20px;
    margin: 0 10px;
    text-decoration: none;
}

/* Effetto hover per le icone */
.social-icon:hover {
    color: #000000; /* Cambia colore al passaggio del mouse */
    background-color: transparent;
}

.dropdown-content .social-icons a:hover {
    background-color: #f9f9f900;
}

/* dropdown 2 */

/* Dropdown Container */
.dropdown2 {
    position: relative;
    display: inline-block;
}

/* Dropdown Content Hidden by default */
.dropdown-content2 {
    display: none;
    position: absolute;
    background-color: #f3f3f3;
    min-width: 195px;
    box-shadow: 0px 0.1px 0px rgba(0, 0, 0, 0.1); /* Effetto ombra */
    border-radius: 8px; /* Bordi arrotondati per l'effetto nuvola */
    z-index: 1;

    right: 0;

    border: 0px solid rgb(251, 251, 251);
}

/* Links all'interno del menu */
.dropdown-content2 a {
    color: rgb(41, 41, 41);
    padding: 9px 23px;
    padding-right: 30px;
    text-decoration: none;
    display: block;
    border-radius: 0px;
    font-size: 15.5px;
    font-weight: 500;
    margin-left: 0px;
}

/* Cambia colore al passaggio del mouse */
.dropdown-content2 a:hover {
    background-color: #ffffff;
    color: rgb(41, 41, 41);
}

/* Mostra il dropdown al passaggio del mouse */
.dropdown2:hover .dropdown-content2 {
    display: block;
}

/* Stile per il contenitore delle icone social */
.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 0px;
    padding-bottom: 0px;
}

/* Stile per ogni icona */
.dropdown-content2 .social-icon a {
    color: #333;
    font-size: 20px;
    margin: 0 10px;
    text-decoration: none;
}

/* Effetto hover per le icone */
.social-icon:hover {
    color: #000000; /* Cambia colore al passaggio del mouse */
    background-color: transparent;
}

.dropdown-content2 .social-icons a:hover {
    background-color: #f9f9f900;
}

/* ------------------------- D I V   1 ----------------------------- */

.div1 {
    height: 420px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-image: url(images/pexels-quentin-chansaulme-423965555-18742039.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 57%;
}

.div1-linear-gradient{
    height: 420px;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

.div1-container{
    display: flex;
    justify-content: space-between;
    position: relative;

    width: 86.5%;
}

.div1-left{
    width: 50%;
    display: block;

    display: flex;
    justify-content: center;  /* Centra orizzontalmente */
    align-items: center;
}

.div1-right{
    width: 50%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-diventasocio-div1{
    background-color: transparent;
    color: white;
    padding-top: 29px;
    padding-bottom: 29px;
    padding-right: 37px;
    padding-left: 37px;
    border-radius: 8px;
    font-size: 31px;
    border: 2px solid white;
    
    cursor: pointer;

    font-family: "Mulish", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: light;

    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.btn-diventasocio-div1:hover{
    border: 2px solid white;

    padding-top: 31px;
    padding-bottom: 31px;
    padding-right: 39px;
    padding-left: 39px;

    font-size: 33px;
}

.evento-div1{
    display: flex;
    justify-content: center;  /* Centra orizzontalmente */
    align-items: center;

    -webkit-transition: 0.5s;
    transition: opacity 0.5s;
}

/* ------------------------- D I V   2 ----------------------------- */

.div2{
    width: 100%;
    height: 110px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: white;
}

.div2-container{
    width: 86.5%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.div2-container ul{
    display: flex;
    justify-content: space-between;
    position: relative;


    list-style: none;

    font-size: 16px;
    font-weight: 500;
}

.div2-container a{

    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 22px;
    padding-right: 22px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: rgb(75, 75, 75);
    letter-spacing: 0.4px;

    border-left: 0px solid #f0f0f0;

    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.div2-container a:hover{
    color: rgb(0, 0, 0);
}

.div2-container .no-padding-left{
    padding-left: 0px;
}
.div2-container .no-padding-right{
    padding-right: 0px;
}

.div2-container .active{
    color: white;
    background-color: #000;
    border-radius: 40px;
}

.div2-container .active:hover{
    color: white;
}

/* ------------------------- D I V   3 ----------------------------- */

.div3{
    width: 100%;
    height: 50px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: white;
}

.div3-container{
    width: 86.5%;
    height: 50px;

    display: flex;
    justify-content: space-between;
    position: relative;
}

.div3-left{
    width: 50%;
    height: 50px;

    display: flex;
    justify-content: flex-start;
    align-items: center;

    font-size: 35px;
}

.div3-left p{
    font-family: "Mulish", sans-serif;
    font-weight: 350; 
    color: black;
}

.div3-right{
    width: 50%;
    height: 50px;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    font-size: 30px;
}

/* ------------------------- D I V   4 ----------------------------- */

.div4{
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 23px;
    margin-bottom: 13px;

    height: auto;
}

.div4-container{
    width: 86.5%;
}

.card-container{
    width: 100%;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4.2%;
}

.card{
    width: 380.3px;
    height: 430px;
    background-color: #ffffff;
    
    overflow: hidden;
    /*box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);*/
}
/*
.div4 #card-centrale{
    margin-right: 5.2%;
    margin-left: 5.2%;
}
*/
.card .img-container {
    width: 370px;      /* Larghezza desiderata */
    height: 200px;     /* Altezza desiderata */
    overflow: hidden;  /* Nasconde le parti in eccesso */

}

.card .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ritaglia e centra l'immagine senza deformarla */

    border-radius: 8px;
}

.card-content{
    padding-top: 16px;
    text-align: center;
}

.card-content h3{
    font-size: 25px;
    margin-bottom: 12px;
    font-weight: 400;
    font-family: "Mulish", sans-serif;
    text-align: left;
}

.card-content p{
    color: #666;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.3;
    text-align: left;
}

.card-content .btn-card{
    font-family: "Mulish", sans-serif;
    display: inline-block;
    padding-top: 12px;
    padding-bottom: 12px;
    width: 97%;
    
    background-color: #f3f3f3;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    color: #4d4d4d;
    border: 2px solid transparent;
    font-weight: 500;
    font-size: 18px;
    text-align: center;

    -webkit-transition: 0.2s;
    transition: 0.2s;    
}

.card-content .btn-card:hover{
    background-color: #e2e2e2;
}

/* ------------------ F O O T E R ----------------------- */

.footer {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    background-color: #131313;
    color: #fff;
    padding-top: 60px;
    

    font-family:"Mulish", sans-serif;
    font-style: normal;
}

.footer-container {
    width: 86.5%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 0px;

    gap: 10%;
}

.footer-container-copyright{
    width: 86.5%;
    height: 90px;
    background-color: #131313;

    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container-copyright p{
    color: #adadad;
    font-size: 18px;
}

/* Stile delle colonne nel footer */
.footer-column {
    flex: 1;
    min-width: 300px;
    margin-top: 15px;
}

.footer-column h3 {
    font-size: 25px;
    font-weight: 550;
    margin-bottom: 23px;
    color: #ffffff; /* Colore evidenziato per i titoli */
    text-align: left;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
    text-align: left;

    font-size: 19px;
    font-weight: 300;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    
}

/* Stile per la sezione Social Media */
.social-media {
    display: flex;
    flex-direction: column;
}

.social-media li {
    margin-bottom: 8px;
}

.footer #scritta-logo-foot-a{
    font-family: 'Times New Roman', Times, serif; 
    letter-spacing: 7px; 
    font-size: 18px;
    color: white;
    font-weight: 400;

    margin-left: 22px;
    
}

.footer-row-container{
    display: flex;
    align-items: center;
    flex-direction: row;
}

.footer-row-container li a button{
    background-color: white;
    color: #131313;
    cursor: pointer;
    padding: 13px;
    padding-left: 22.2px;
    padding-right: 22.2px;
    text-decoration: none;
    border: 1px solid rgb(210, 210, 210);
    border-radius: 7px;

    font-size: 18px;
    font-weight: 500; 
    font-family:"Mulish", sans-serif; 

    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.footer-row-container li a button:hover{
    background-color: #dddddd;
}

.footer .footer-community-li{
    font-size: 17px;
    color: #adadad;
}

.footer .footer-community-li #footer-tasto-qui{
    text-decoration: underline; 
    color: #adadad;
}

.footer .footer-community-li #footer-tasto-qui:hover{
    color: white;
}

/* ------------------ R E S P O N S I V E ----------------------- */

@media(max-width: 840px){
    .hideOnMobile{
        display: none;
    }
    .menu-button{
        display: block;
    }

    .div1-left{
        display: none;
    }
    .div1-right{
        width: 100%;
    }
}

@media(max-width: 525px){
    .div3-left{
        font-size: 25px;
    }
    .div3-right{
        font-size: 20px;
    }
    #scritta-logo-nav{
        letter-spacing: 6px; 
        font-size: 16.5px;
    }
    nav a{
        margin-left: 25px;
    }
}

@media(max-width: 425px){
    .sidebar{
        width: 100%;
    }

    .div2-container ul{
        font-size: 15px;
    }
    .div2-container a{
        padding-top: 13px;
        padding-bottom: 13px;
        padding-left: 20px;
        padding-right: 20px;
        
        letter-spacing: 0.3px;
    }
}

@media(max-width: 400px){
    .div2-container ul{
        font-size: 14.5px;
    }
    .div2-container a{
        padding-top: 12.5px;
        padding-bottom: 12.5px;
        padding-left: 19px;
        padding-right: 19px;
        
        letter-spacing: 0.3px;
    }
}

@media(max-width: 385px){
    .div3-left{
        font-size: 20px;
    }
    .div3-right{
        font-size: 15px;
    }
    #scritta-logo-nav{
        letter-spacing: 5px; 
        font-size: 15px;
    }
    nav a{
        margin-left: 20px;
    }
}

@media(max-width: 375px){
    .div2-container ul{
        font-size: 14px;
    }
    .div2-container a{
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 18px;
        padding-right: 18px;
        
        letter-spacing: 0.3px;
    }
}

@media(max-width: 360px){
    .div2-container ul{
        font-size: 13px;
    }
    .div2-container a{
        padding-top: 11px;
        padding-bottom: 11px;
        padding-left: 16px;
        padding-right: 16px;
        
        letter-spacing: 0.3px;
    }
}

@media(max-width: 340px){
    #scritta-logo-nav{
        letter-spacing: 4px; 
        font-size: 14px;
    }
}

@media(max-width: 330px){
    .div2-container ul{
        font-size: 12px;
    }
    .div2-container a{
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 14px;
        padding-right: 14px;
    
        letter-spacing: 0.3px;
    }
}

@media(max-width: 315px){
    .div3-left{
        font-size: 16px;
    }
    .div3-right{
        font-size: 12px;
    }

    #scritta-logo-nav{
        letter-spacing: 3.5px; 
        font-size: 13px;
    }
}

@media(max-width: 300px){
    #scritta-logo-nav{
        display: none;
    }

    .div2-container ul{
        font-size: 10px;
    }
    .div2-container a{
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 12px;
        padding-right: 12px;
        
        letter-spacing: 0.2px;
    }
}

@media(max-width: 1430px){
    nav{
        background-image: none;
        background-color: white;
    }
    nav a{
        color: rgb(62, 62, 62);
    }
    nav a:hover{
        color: #000;
    }
    nav #scritta-logo-nav-a{
        color: rgb(37, 36, 150);
    }
    nav .btn-chisiamo-nav{
        background-color: rgb(224, 133, 56);
        color: white;
    }
    nav .btn-chisiamo-nav:hover{
        background-color: rgb(207, 121, 51);
    }
    nav #icon-freccia-nav{
        color: #bebebe;
    }
}

@media(min-width: 1445px){
    nav{
        background-image: none;
        background-color: white;
    }
    nav a{
        color: rgb(62, 62, 62);
    }
    nav a:hover{
        color: #000;
    }
    nav #scritta-logo-nav-a{
        color: rgb(37, 36, 150);
    }
    nav .btn-chisiamo-nav{
        background-color: rgb(224, 133, 56);
        color: white;
    }
    nav .btn-chisiamo-nav:hover{
        background-color: rgb(207, 121, 51);
    }
    nav #icon-freccia-nav{
        color: #bebebe;
    }
}