/* CSS Document */
/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%; /* Imposta la dimensione del font di base */
}


/* Rimuovi stili predefiniti per alcuni elementi */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal; /* Rimuove il grassetto predefinito */
}

ul, ol {
    list-style: none; /* Rimuove i punti elenco */
}

a {
    text-decoration: none; /* Rimuove la sottolineatura dai link */
    color: inherit; /* Mantiene il colore del testo ereditato */
}

img {
    max-width: 100%; /* Assicura che le immagini non escano dai loro contenitori */
    height: auto; /* Mantiene le proporzioni delle immagini */
}



html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.container {
    box-sizing: content-box;
}



body {
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: white;
    color: white;
    font-family: Helvetica, sans-serif;
    font-size: 15px;
}


.title-container {
display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #f2f2f2;
    padding-bottom: 16px;
}

h1 {
    color: transparent;
    -webkit-text-stroke: 1px white;
    text-stroke: 1px white;
    font-size: 4.5em;
    font-family:times, sans-serif;
    letter-spacing: 1.5px;
    margin: 10px 0 0 0;
    text-align: center;
}

@media only screen and (max-width: 900px) {
h1
{font-size:2.9em;margin-top:5px;/* margin-bottom: 0; */}
}

.transparent-text {
    color: black;
    -webkit-text-stroke: black;
    text-stroke: 1px white;
}

.invisible-link {
    color: black;
    text-decoration: none;
}

h2 {
    font-size: 1.3em;
    text-align: center;
    font-weight: normal;
    font-style: italic;
    margin: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


@media only screen and (max-width: 900px) {
h2
{
font-size:1.0em;
}
}


h3 {
    font-size: 1.0em;
    color: #1dcf92;
    text-align: center;
    letter-spacing: 0px;
    margin-top: 10px;
    margin-bottom: 0;
    width: 100%;
}

@media only screen and (max-width: 900px) {
h3
{
font-size:0.6em;
}
}

h4 {
    font-size: 1.1em;
    text-align: left;
    letter-spacing: 0px;
    margin-top: 10px;
    margin-bottom: 5px;
    width: 100%;
}


/* --- STILE BASE MENU (Desktop) --- */
.navbar {
    margin-top: 20px; /* Spazio sotto il sottotitolo */
    text-align: center;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 25px; /* Spazio tra le voci */
}

.nav-menu li a {
    text-decoration: none;
    color: #333 !important; /* Forza il colore scuro per vederlo su bianco */
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #007bff !important; /* Un colore al passaggio del mouse */
}

/* Nascondi il sandwich su desktop */
.menu-toggle {
    display: none;
}

/* --- MOBILE E TABLET (Sotto 900px) --- */
@media screen and (max-width: 900px) {
    .nav-menu {
        display: none; /* Nascondi menu di base */
        flex-wrap: wrap; /* Permette di andare su più righe */
        justify-content: center;
        background: #f9f9f9;
        padding: 20px;
        border: 1px solid #ddd;
        margin-top: 10px;
    }

    /* Quando il menu è attivo, lo mostriamo */
    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        width: 45%; /* Crea una griglia a 2 colonne invece di una riga lunga */
        margin: 5px;
        text-align: center;
    }

    /* Mostra il sandwich */
    .menu-toggle {
        display: block;
        cursor: pointer;
        margin: 10px auto; /* Centrato sotto il sottotitolo */
        width: 30px;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: #333;
    }
}


#container-main-image
{
    width: 100%;
    border: none;
    float: left;
    padding: 10px;
    background: transparent;
    text-align: center;
}

.image-home
{
    width: 60%;
    max-width:800px;

}

@media only screen and (max-width: 900px) {
.image-home
{
    width: 95%;
    max-width:900px;

}
}

#container-socials-buttons
{
    /* margin-left: 20%; */
    /* max-width: 800px; */
    width: 100%;
    /* float: left; */
    display: inline-block;
    /* margin: auto; */
    /* color: white; */
    /* font-weight: normal; */
    /* border: none; */
    /* float: inline-end; */
    /* padding: 5px 10px; */
    background: transparent;
    text-align:center;
}

.intro-social-button
{
    width:100%;
    color: black;
    /* clear: both; */
    font-weight: bold;
    border: none;
    /* border-bottom: 1px solid #7c7b7b; */
    float:left;
    padding: 9px 10px;
    background: transparent;
    text-align:center;
    margin-top: 11px;
}
@media only screen and (max-width: 900px) {
.intro-social-button
{
font-size:18px;
color:black;

}
}

.center-container
{
    display:flex;
    text-align:center;
    width: 80%;
    margin: 0 auto;
    padding-top: 6px;
    max-width: 800px;
    justify-content:center;
    /* flex-wrap: wrap; */
    /* gap:30px; */
    /* border: 1px solid red; */
    border-top: 1px solid #727272;
}
@media only screen and (max-width: 900px) {
.center-container
{
    clear:both;
    /* float: left; */
    display: block;
    width: 95%;
    margin: 0 auto;
    max-width: 273px;
}
}


.generic-social-button
{
    width:100%;
    color: #2d2b2b;
    font-weight: normal;
    border: none;
    float:left;
    padding: 9px 10px;
    background: transparent;
    text-align:center;
}

@media only screen and (max-width: 900px) {
.generic-social-button
{
    clear:both;
    width: 100%;
    max-width:900px;

}
}


#container-privacy
{
    width: 100%;
    color: black;
    font-weight: normal;
    border: none;
    float: left;
    padding: 20px 40px;
    font-size: inherit;
    background: transparent;
    text-align: left;
}

#container-privacy p, #container-privacy li
{

    font-weight: normal;
    font-size:1em;
    margin-bottom:12px;

}
footer {

}

#container-footer 
{
    float: left;
    width: 100%;
    font-weight: normal;
    background-color: #262626;
    color: white;
    text-align: center;
    margin-top: 16px;
    border: none;
    padding: 5px 10px;
}
.footer-contact
{
    width:100%;
    color: white;
    font-size:0.9em;
    font-weight: normal;
    border: none;
    float:left;
    padding: 9px 10px;
    background: transparent;
    line-height:1.6;
    text-align:center;
}

@media only screen and (max-width: 900px) {
.footer-contact
{
    font-size: 1.00em;  
        line-height:1.7;
    }
}

#overlay 
{
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgb(0 0 0 / 64%);
            z-index: 2;
}



#accept-all 
{
    background: #338ab6;
    display:inline-block;
    color: white;
    font-weight: bold;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: inherit;
    font-family:Helvetica, sans-serif;
}

.subfooter-container
{
    width: 100%;
    color: white;
    font-weight: normal;
display:inline-block;
margin:auto;
    padding: 20px 40px;
    font-size: inherit;
    background: transparent;
    text-align: center;
}


.subfooter-align
{
display:inline-block;
}

#accept-cookies, #accept-analytics, #close-banner 
{
    background: #338ab6;
        display:inline-block;
    color: white;
    /* font-weight: bold; */
    border: none;
    padding: 5px 10px;
    font-family:Helvetica, sans-serif;
    cursor: pointer;
    font-size: 1.1em;
    background: transparent;
    color: #338ab6;
    padding: 0;
}
@media only screen and (max-width: 900px) {
#accept-cookies, #accept-analytics, #close-banner 
{
 /*   font-size: 1.0.5em;*/
  
    }
}

a.info-link {
    color: #338ab6;
    text-underline-offset: 2px;
    font-family:Helvetica, sans-serif;
}

a.social-link {
    color: #6d6d6d;
    text-decoration: none;
    font-family:Helvetica, sans-serif;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid #6d6d6d;
    display: inline-block;
    width: 190px;
    height: 38px;
    line-height: 38px;
    padding: 0;
    border-radius: 18px;
}
@media only screen and (max-width: 900px) {
a.social-link
{
    width: 230px;
  
    }
}


a.social-link:visited {

    text-decoration:none;
    cursor:pointer;
}

a.social-link.spotify {
    color: #1dcf92;
    border: 2px solid #1dcf92;
    margin-bottom:10px;
}
a.social-link.apple {
    color: #b91d11;
    border: 2px solid #b91d11;
    margin-bottom:10px;
}
a.social-link.deezer {
    color: #00aace;
    border: 2px solid #00aace;
    margin-bottom:10px;
}
a.social-link.amazon {
    color: rgb(37, 209, 218);
    border: 2px solid rgb(37, 209, 218);
    /* margin-bottom:10px; */
}

@media only screen and (max-width: 900px) {
a.social-link {
˙   ? 
    }
}


.contact-text
{
    color: white;
    font-weight:normal;
    /* display: inline-block; */
    line-height: 23px;
    /* max-width: 600px; */
    font-size:1.1em;
    text-align: center;
    margin-bottom: 7px;
}

@media only screen and (max-width: 900px) {
    .contact-text {
        font-size: 1.1em !important; 
    }
}

.show-subscription-form {
    color: #338ab6;

    text-underline-offset: 2px;
    font-size:1.2em;
    padding: 5px;
    font-weight:bold;
        border-radius:5px;
    cursor:pointer;

}
@media only screen and (max-width: 900px) {
    ..show-subscription-form {
    /* color:pink; */
    font-size: 1.2em !important;
    }
}


.show-link {
    color: #338ab6;

    text-underline-offset: 2px;
    font-size:1.2em;
    padding: 5px;
    font-weight:bold;
    border-radius:5px;
    cursor:pointer;

}
@media only screen and (max-width: 900px) {
    .show-link {
    /* color:pink; */
    font-size: 1.2em !important;
    }
}


#email
{
    color: white;
    font-weight:normal;
    line-height: 23px;
    font-size:1.3em;
    margin-bottom: 7px;
}
@media only screen and (max-width: 900px) {
    #email
    {
        font-size: 1.3em !important; 
        
    }

}
              


.alert alert-success
{
    float: left;
    color: red;

}

/* STILI RESOURCES */

.container-resources 
{
background:none;
max-width: 1250px;
margin: 0 auto 30px;
padding: 20px;
}

    .page-title {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 30px;
      font-weight:bold;
      margin-top:15px;
      color: #222;
    }
    .shop-title {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 14px;
      font-weight:bold;
      margin-top:30px;
      color: #222;
    }
 @media only screen and (max-width: 900px) {
        .page-title, .shop-title 
    {
      font-size: 1.6rem;
        
    }

}    
    

    .shop-intro {
      text-align: center;
      font-size: 1rem;
      margin-bottom: 16px;
      font-weight:normal;
      margin-top:14px;
      color: black;
    }    
    
    .resource {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 20px;
      padding: 16px;
      margin-bottom: 20px;
      background: #fff;
      border-radius: 8px;
      border: 1px solid #666;
    }
    .resource-preview {
      flex: 0 0 220px;
    }
    .resource-preview img {
      width: 100%;
      min-width:300px;
      border-radius: 6px;
      border: 1px solid #ddd;
    }
    
@media only screen and (max-width: 900px) {
    .resource-preview img
    {
        min-width:200px;
        
    }

}    
    
    
    
    .resource-content {
      flex: 1;
    }
    
    @media only screen and (max-width: 500px) {
    .resource-content
    {
    flex: none;
     width:100%;
        
    }

}  

 
    
    .resource-title {
      font-size: 1.15rem;
      margin-bottom: 6px;
      font-weight: 600;
    }
    .resource-desc {
    font-weight:bold;
      font-size: 1.1rem;
      color: #666;

      margin-bottom: 10px;
    }
    
        
    
     .resource-sub-desc {
    font-weight:normal;
      font-size: 0.85rem;
      color: #666;
      margin-bottom: 10px;
    }
    .resource-btn {
      display: inline-block;
      padding: 9px 16px;
      font-size: 0.95rem;
      background-color: #0077cc;
      color: #fff;
      border: none;
      border-radius: 6px;
      text-decoration: none;
      transition: filter 0.3s ease;
    }
    
    .green-background {

background-color: #1c954f;
    padding: 15px 46px;
    }
    
    .green-font {

    color: #1c954f;
    }
    
    
    .resource-btn:hover {
      background-color: #005fa3;
    }
    
        .resource-btn.green-background:hover {
      background-color: #25814b;
    }
    
    
/* 1. Assicuriamoci che l'icona non superi mai le dimensioni del bottone */
.kofi-icon {
  width: 25px;            
  height: auto;           
  vertical-align: middle; 
  margin-right: 10px;     
  display: block;         /* Cambiato da inline-block a block */
  flex-shrink: 0;         /* Impedisce all'immagine di rimpicciolirsi o deformarsi */
  max-width: 100%;        /* Sicurezza extra per il mobile */
}

/* 2. Assicuriamoci che il bottone stesso gestisca bene il contenuto */
.visit-shop-btn {
  display: inline-flex;   
  align-items: center;    
  justify-content: center;
  padding: 9px 16px;
  font-size: 0.95rem;
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;    /* Impedisce al testo di andare a capo spezzando il bottone */
}

/* 3. Pulizia del contenitore per il mobile */
.more-content {
  display: flex;          /* Moderno, gestisce tutto meglio */
  justify-content: center; /* Centra il bottone */
  width: 100%;             /* Occupa tutta la larghezza disponibile */
  padding: 0 15px;         /* Spazio laterale su mobile */
  box-sizing: border-box;  /* Fondamentale per non far sbordare il contenitore */
  margin: 20px 0;          /* Spazio sopra e sotto */
}

.visit-shop-btn:hover {
  background-color: #005fa3;
}

.page-title h1 {
    /* 1. Reset Strutturale */
    all: unset; /* Questo comando azzera TUTTE le proprietà ereditate dal browser */
    display: inline; /* Lo riporta a comportarsi come testo semplice */
    
    /* 2. Ripristino stili desiderati */
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 2rem !important; /* Usa il valore REM che avevi prima */
    font-weight: bold !important; /* Bold forza il grassetto standard */
    color: inherit; /* Prende il colore dal div .page-title */
    
    /* 3. Pulizia spazi parassiti */
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: normal !important; /* Azzera quel 1.5px che vedi apparire */
    line-height: normal !important;
}

/* Reset e stile per i titoli dei brani (ex paragrafi) */
h2.resource-desc {
    /* 1. Reset totale degli stili predefiniti del browser */
    all: unset; 
    display: block; /* Essendo un titolo di un blocco, deve occupare la sua riga */
    
    /* 2. Ripristino dello stile che avevi prima */
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 1.1rem !important; /* Regola questo valore per farlo uguale a prima */
    font-weight: bold !important; /* O 700 se preferisci */
    color: #333; /* Il colore scuro che usavi */
    
    /* 3. Spaziature precise */
    margin: 0 0 8px 0 !important; /* Un po' di margine solo sotto, per distanziarlo dalla descrizione */
    padding: 0 !important;
    line-height: 1.3 !important; /* Per evitare che le righe siano troppo attaccate se il titolo va a capo */
    letter-spacing: normal !important; /* Fondamentale per togliere spaziature strane */
    
    /* 4. Opzionale: se vuoi che il cursore indichi che è un testo (visto che unset toglie tutto) */
    cursor: default;
}



#cookie-banner {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 95% !important;
    max-width: 850px !important; /* Più largo per stare su una riga su PC */
    background: #ffffff !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    z-index: 2147483647 !important;

}

.cookie-inner h3 {
    margin: 0 0 15px 0 !important;
    font-family: sans-serif !important;
    font-size: 18px !important;
    color: #333 !important;
    text-align: center !important;
}

.cookie-inner p {
    font-family: sans-serif !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #444 !important;
    text-align: center !important;
    margin-bottom: 25px !important;
}

.cookie-inner a {
    color: #2b82ad !important;
    text-decoration: underline !important;
    display: inline-block !important;
    margin-top: 10px !important;
}

/* BOX BOTTONI */
.cookie-buttons {
    display: flex !important;
    flex-direction: column !important; /* Mobile: verticale */
    gap: 15px !important;
    justify-content: center !important;
    align-items: center !important;
}

.c-btn {
    width: 100% !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    transition: 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Verde Modartt per il consenso totale */
.c-btn.primary {
    background: #5cb85c !important;
    color: #fff !important;
}

/* Grigio/Blu per Analytics */
.c-btn.secondary {
    background: #6c8db3 !important;
    color: #fff !important;
}

/* Reject come pulsante neutro */
.c-btn.outline {
    background: #fff !important;
    border: 1px solid #999 !important;
    color: #666 !important;
}

.c-btn .icon { margin-right: 8px; font-size: 16px; }

/* --- DESKTOP: In riga --- */
@media (min-width: 768px) {
    .cookie-buttons {
        flex-direction: row !important; /* Orizzontale */
        gap: 20px !important;
    }
    .c-btn {
        width: auto !important;
        min-width: 180px !important;
    }
}
