body {
  margin: 0;
  font-family: Arial, sans-serif;
}
.contenitore {
  /*display: flex; mantiene altezza uguale per tutti i box*/
  
  min-height: 200px; /* per altezza in base al contenuto */
  height: auto;
  
  flex-direction: column;
  gap: 20px;
  padding: 3px;
  flex-wrap: wrap;
}

.colonna {
  background-color: #fff;
  padding: 3px;
  margin: 3px;
  flex: 1 1 250px;
  box-sizing: border-box;
  border-radius: 8px;
  text-align: center;
  min-width: 200px;
}


/* Immagini per desktop */
/* Stile dell'immagine su mobile (dimensioni originali o adattate al 100%) 
.immagine {
  width: 50%;
  height: auto;
}*/

/* Regole che si applicano solo su desktop (schermi da 1024px in su) */
@media (min-width: 1024px) {
 
 .img-sp {
    max-width: 100%; /* Sostituisci con la larghezza desiderata */
    height: auto; /* Sostituisci con l'altezza desiderata */
    object-fit: cover; /* Utile per mantenere le proporzioni tagliando l'eccesso */
	margin:auto;
  }
  .immagine {
    width: 640px; /* Sostituisci con la larghezza desiderata */
    height: 511px; /* Sostituisci con l'altezza desiderata */
    object-fit: cover; /* Utile per mantenere le proporzioni tagliando l'eccesso */
	margin:auto;
  }
}


/* Collegamenti */
a:link {
	color: #FFF4DF;
	text-decoration: none;
}
a:visited {
	color: #FFF4DF;
	text-decoration: none;
}
a:hover {
	color: #FFF;
	text-decoration: underline;
}
a:active {
	color: #FFF4DF;
	text-decoration: none;
}


/* Inserimento webfonts */
@font-face {
    font-family: 'Parisienne-Regular';
    src:url('Parisienne-Regular.ttf.woff') format('woff'),
        url('Parisienne-Regular.ttf.svg#Parisienne-Regular') format('svg'),
        url('Parisienne-Regular.ttf.eot'),
        url('Parisienne-Regular.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}	
	

@font-face {
	font-family: 'TANTWINKLE';
    src:url('TANTWINKLE.woff2') format('woff2'),
        url('TANTWINKLE.svg#TANTWINKLE') format('svg'),
        url('TANTWINKLE.eot'),
        url('TANTWINKLE.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'ibarra-real-nova-latin-400-normal';
    src:url('ibarra-real-nova-latin-400-normal.woff2') format('woff2'),
        url('ibarra-real-nova-latin-400-normal.svg#TANTWINKLE') format('svg'),
        url('ibarra-real-nova-latin-400-normal.eot'),
        url('ibarra-real-nova-latin-400-normal.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}


h1 { 
   font-family: 'Parisienne-Regular';
   color: #6D8FBA;
   font-size: 2.0em;
   font-weight: normal;
   text-align: center;
   line-height: 0.92em;

    display: flex;
    justify-content: center; /* Centra orizzontalmente */
    align-items: center;     /* Centra verticalmente */
    height: auto;           /* Imposta l'altezza desiderata del box */
    border: 0px solid #ccc;  /* Bordo di riferimento (opzionale) */

    transform: rotate(-12deg); /* Ruota il testo di 90 gradi */
    margin: 0; /* Rimuove i margini predefiniti */
	padding-top: 0px; 
	padding-bottom: 0px;         
    white-space: nowrap;      /* Evita che il testo vada a capo */
	
	/* Minimo 24px, ideale 4vw (4% della larghezza), Massimo 48px */
  font-size: clamp(36px, 12vw, 240px);
  }
   

h2 { 
   font-family: 'TANTWINKLE';
   color: #6D8FBA;
   font-size: 1.15em;
   font-weight: bold;
   text-align: center;
   line-height: 1.5em;
   justify-content: center;
   
/* Minimo 16px, ideale 1.5vw, Massimo 22px */
  font-size: clamp(24px, 4vw, 48px);
  
}


p { 
   font-family: 'ibarra-real-nova-latin-400-normal';
   color: #6D8FBA;
   font-size: 0.85em;
   font-weight: normal;
   text-align: center;
   line-height: 1.25em;
   justify-content: center;
   
/* Minimo 16px, ideale 1.5vw, Massimo 22px */
  font-size: clamp(20px, 4vw, 36px); 

}

.inv { 
   font-family: 'ibarra-real-nova-latin-400-normal';
   color: #666;
   font-size: 0.85em;
   font-weight: normal;
   text-align: right;
   padding-right: 20px;
   line-height: 1.25em;
   justify-content: center;
   border-bottom: 1px solid #CCC
}

@media (min-width: 1024px) {	
.inv { 
   font-family: 'ibarra-real-nova-latin-400-normal';
   color: #666;
   font-size: 1.0em;
   font-weight: normal;
   text-align: right;
   padding-right: 100px;
   line-height: 1.25em;
   justify-content: center;
   border-bottom: 1px solid #CCC
}
}




/* Mappa responsive */

/* Il contenitore definisce le proporzioni della mappa */
.mappa-responsive {
  position: relative;
  padding-bottom: 75%; /* Rapporto 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.mappa-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Regole che si applicano solo su desktop (schermi da 1024px in su) */
/* @media (min-width: 1024px) {*/
/* .map-container {	
  position: relative;
  /*padding-bottom: 56.25%;  Proporzione 16:9 (9 diviso 16 * 100) */
 /*  padding-bottom: 75%; /* Proporzione 4:3  
  height: 0;
  overflow: hidden;
   width: 600px;
   max-width: 100%; 
   height: 100%;
	
}*/


/* Sfondo intestazione */
.box-responsive {
  width: 100%; /* Occupa tutto lo spazio a disposizione */
  max-width: 1200px; /* Evita che il box diventi troppo largo su schermi grandi */
  margin: 0 auto; /* Centra il box nella pagina */
  background-image: url('img/flwr-bgr2.png');
  background-repeat: no-repeat; /* Impedisce che l'immagine si duplichi */
  background-position: center center; /* Centra l'immagine nel box */
  background-size: contain; /* L'immagine si ingrandisce o rimpicciolisce per coprire tutto il box */
}

/* Regola l'altezza minima in base al dispositivo per mostrare bene l'immagine */
.contenuto-box {
  padding: 40px 20px;
  color: white;
}

/* Regole che si applicano solo su desktop (schermi da 1024px in su) */

@media (min-width: 1024px) {	
.contenuto-box {
  padding: 160px 20px;
  color: white;
}	
}
