p {font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    font-weight: 200;
    width: 100%;
    line-height: 125%;
    width:100%;
    color:#ffffff;
}

#piede p {font-family: 'Nunito Sans', sans-serif;
    font-size: 13px;
    font-weight: 200;
    width: 100%;
    line-height: 125%;
    width:100%;
    color:#ffffff;
}


p .titolo {font-family: "Goldman", sans-serif;
    font-size: 55px;
    font-weight: 400;
    width: 100%;
    text-align: left;
    line-height: 75%;
    letter-spacing: 1%;
}

p .sottotitolo {font-family: "Goldman", sans-serif;
    font-size: 25px;
    font-weight: 400;
    width: 100%;
    text-align: left;
    line-height: 120%;
    letter-spacing: 1%;
}

h1 {font-family: "Goldman", sans-serif;
    font-size: 45px;
    font-weight: 400;
    width: 100%;
    text-align: left;
    line-height: 90%;
    color:#E6511E;
    text-shadow:
    -2px -2px 0 #fff, 2px -2px 0 #fff,
    -2px  2px 0 #fff, 2px  2px 0 #fff,
    -3px -3px 0 #fff, 3px -3px 0 #fff,
    -3px  3px 0 #fff, 3px  3px 0 #fff,
     0   -3px 0 #fff, 0    3px 0 #fff,
    -3px  0   0 #fff, 3px  0   0 #fff;
    text-transform: uppercase;
}
 

h2 {font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    width: 100%;
    text-align: left;
    line-height: 130%;
    letter-spacing: 1%;
    color:#ffffff;
}

h3 {font-family: 'Nunito Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    width: 100%;
    line-height: 100%;
    width:100%;
    color:#ffffff;
    
}

.outline {
    text-shadow: 
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff; /* contorno bianco */
}
.avonde {font-family: 'Montserrat', sans-serif; font-weight: 600;}
.filo {font-family: 'Bebas Neue', sans-serif; font-size: 50px;  font-weight: 600; letter-spacing: 1px; line-height: 100%;}
.spazio {display: block; height: 2%;}
.spazio2 {display: block; height: 5%;}
h4 {font-family: 'Bebas Neue', sans-serif;
    font-size: 50px;
    font-weight: 500;
    width: 100%;
    text-align: left;
}

h5 {font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 105%;
    width: 100%;
    text-align: left;
}

h5 .fine {font-weight: 400;}
h5 .medio {font-weight: 600;}

h6 {font-family: 'Montserrat', sans-serif;
    font-size: 150px;
    font-weight: 500;
    line-height: 95%;
    width: 100%;
    text-align: left;
}

/*-- Specifiche testo --*/

small {font-size: 75%;}
strong {font-weight: 800;}
.mai {text-transform: uppercase; font-weight: 700;}

.text80 {font-size: 95%;}
.meno25 {width:25%;}
.alignsx {text-align: left;}
.aligndx {text-align: right;}
.aligncx {text-align: center;}
i {font-style: italic;}

/* TESTO BOX OROLOGIO */
#orologio p {font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    line-height: auto;
    font-weight: 400;
    color: #ffffff;
    padding-top:20px;
    padding-bottom:20px;
    text-align: center;
    background-color: #323e48;
}

#orologio li {height:110px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 25px;
    line-height: 130%;
    font-weight: 500;
    color: #323e48;
    padding-top:70px;
    padding-left: 5%;
    text-align: left;
}

#orologio li strong {font-weight: 700;}



/*-- Testo sopra l'immagine --*/
.caption {
    float:left;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.caption img {
    float: left;
    margin: 0;
    padding: 0;
    border: none;
}
.caption span {
    float: left;
    margin: 0;
    width: 90%;
    height:100%;
    color: #ffffff;
    position: absolute;
    padding-left:5%;
    padding-right:5%;
    left: 0%;
    bottom: 50%;
    align-content: center;
    align-items: center;
    vertical-align: middle;
    transform: translate(0%, 50%);
    display: flex;
    flex-direction: column;   /* ⬅️ QUESTA È LA CHIAVE */
    justify-content: center;  /* opzionale: centra in verticale */
}

#testo-sopra .caption span {
    position: absolute;
    top: 15%;                /* parte dall’alto a 3% */
    left: 50%;              /* centrato in orizzontale */
    transform: translateX(-50%);  /* correzione per centratura */

    width: 90%;
    margin: 0;
    color: #ffffff;
    padding: 0 5%;

    display: flex;
    flex-direction: column;
    align-items: center;        /* centra orizzontalmente i contenuti */
    justify-content: flex-start;/* i contenuti partono dall’alto */
}
#testo-sotto .caption span {
    float: left;
    margin: 0;
    width: 90%;
    height:100%;
    color: #ffffff;
    position: absolute;
    padding-left:5%;
    padding-right:5%;
    left: 0%;
    bottom: 30%;
    align-content: center;
    align-items: center;
    vertical-align: middle;
    transform: translate(0%, 50%);
    display: flex;
    flex-direction: column;   /* ⬅️ QUESTA È LA CHIAVE */
    justify-content: center;  /* opzionale: centra in verticale */
}


/* RESPONSIVE */

@media(max-width:1440px){
   p {font-size: 18px;}
    h1 {font-size: 35px;}
    h2 {font-size: 24px;}
    h3 {font-size: 20px;}
}

@media(max-width:1366px){
    p {font-size: 17px;}
    h1 {font-size: 33px;}
    h2 {font-size: 24px;}
    h3 {font-size: 19px;}  
}

@media(max-width:1280px){
    p {font-size: 16px;}
    h1 {font-size: 30px;}
    h2 {font-size: 24px;}
    h3 {font-size: 18px;}   
}

@media(max-width:1024px){
    p {font-size: 14px;}
    h1 {font-size: 22px; 
    text-shadow:
    -1px -1px 0 #fff, 1px -1px 0 #fff,
    -1px  1px 0 #fff, 1px  1px 0 #fff,
    -1px -1px 0 #fff, 1px -1px 0 #fff,
    -1px  1px 0 #fff, 1px  1px 0 #fff,
     0   -1px 0 #fff, 0    1px 0 #fff,
    -1px  0   0 #fff, 1px  0   0 #fff;
    }
    h2 {font-size: 24px;}
    h3 {font-size: 16px;} 
    #testo-sopra .caption span {top: 9%; }
}

@media(max-width:991px){
    p {font-size: 12px;}
    h1 {font-size: 16px;}
    h2 {font-size: 24px;}
    h3 {font-size: 14px;}
}

@media(max-width:800px){
    
}

@media(max-width:600px){
p {font-size: 18px;}
    h1 {font-size: 45px;}
    h2 {font-size: 24px;}
    h3 {font-size: 21px;}

}

@media(max-width:480px){
p {font-size: 16px;}
    h1 {font-size: 40px;}
    h2 {font-size: 21px;}
    h3 {font-size: 19px;}
}

@media(max-width:350px){
p {font-size: 16px;}
    h1 {font-size: 45px;}
    h2 {font-size: 21px;}
    h3 {font-size: 19px;}
}

@media(max-width:375px){

}


