body {
    width: 100%;
    margin: 0;
    /* imposta il margine del body a 0px per una maggiore coerenza e controllo del layout */
    /*background-color: #f2ae49;*/
    background: linear-gradient(to bottom, #fafa15, #FFA500);
}

/*importazione google font*/
@font-face {
    font-family: 'nunitoSans';
    src: url(/FONT/Nunito_Sans/NunitoSans-VariableFont_YTLC\,opsz\,wdth\,wght.ttf) format('truetype');
}

@font-face {
    font-family: 'dakdo';
    src: url(/FONT/dakdo-font/Dakdo-DOlRW.otf) format('opentype');
}

ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: transparent;
    border-bottom: 2px solid #FFA500;
    height: 30vh;
    position: fixed;
    z-index: 2;
}

li {
    float: left;
}

li a {
    display: block;
    font-family: dakdo, sans-serif;
    width: 100%;
    color: #FFA500;
    text-align: center;
    padding: 1vw 1vw;
    text-decoration: none;
    margin-right: 10vw;
    margin-top: 20vh;
    font-size: 195%;
    font-weight: bold;
    opacity: 0.8;
    /*effetto opaco */
    text-shadow: 2px 2px 4px #000000;
    /* effetto ombreggiatura */
    letter-spacing: 0.2vw;
}

li a:hover {
    color: #fafa15;
}

li img {
    width: 62%;
    height: auto;
    margin-left: 10%;
    margin-top: 6vh;
}

#imgbck {
    width: 100%;
    object-fit: cover;
    z-index: -1;
    position: relative;
}

/* formattazione titolo h1 */
#titolo1 {
    position: absolute;
    /*L’elemento sarà posizionato in base alle coordinate specificate dai seguenti attributi */
    top: 15%;
    /* l’elemento sarà spostato verso il 10% della distanza dall’alto rispetto al suo contenitore genitor */
    left: 57%;
    right: 4%;
    color: #fafa15;
    font-size: 900%;
    font-family: dakdo;
    font-weight: bolder;
    text-align: right;
    letter-spacing: 0.4vw;
    opacity: 0.90;
    text-shadow: 5px 5px 8px #000000;
    /* effetto ombreggiatura */
}

.descrizioneContatti h4 {
    
    font-size: 350%;
    font-family: dakdo;
    position: absolute;
    margin: 10px;
    padding: 5%;
    margin-bottom: 25%;
    letter-spacing: 0.2vw;
    
}

.descrizioneContatti p {
    text-align: justify;
    font-size: 150%;
    font-family: nunitoSans;
    position: absolute;
    margin: 10%;
}

.descrizioneContatti {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
    padding: 20%;
}



.linkMail {
    display: flex;
    justify-content: center;
    font-family: nunitoSans;
    color: #000000;
    font-size: 430%;
    border: 2px solid #000000;
    border-radius: 20vh;
    margin: 5%;
}

.linkMail:hover {
    background-color:rgb(254, 153, 44);
}

h5 {
    font-family: nunitoSans;
    font-size: 200%;
    text-align: center;
    margin-top: -4%;
}

footer {
    display: flex;
    align-items: center;
    background-color: #000000;
    height: auto;
    line-height: 1;
    width: 100%;
}

/* formattazione elemento h3 nel footer */
#newsletter h3 {
    font-size: 300%;
    font-family: dakdo;
    letter-spacing: 0.2vw;
    color: #fff;
}


/* formattazione paragrago newsletter */

#newsletter p {
    font-size: 150%;
    font-family: nunitoSans, sans-serif;
    font-weight: bold;
    color: #fff;
}

/* formattazione button submit */
#submitButt {
    background-size: cover;
    /*adatta l'immagine al button*/
    border: none;
    width: 18%;
    height: auto;
    margin-top: 3%;
    margin-left: 20%;
}

/* formattazione logo e-mail */
#logoMail {
    width: 30%;
    height: auto;
    margin-left: -60%;
    margin-bottom: 74%;
}

/* formattazione form */
#newsletter {
    margin-left: 10vw;
    margin-bottom: 4vw;
    margin-top: 4vh;
}

/* formattazione casella inserimento e-mail */
#eMail2 {
    height: auto;
    width: 60%;
}

/* formattazione elementi img presenti nei contatti */
#contatti img {
    height: auto;
    width: 12%;
    margin-bottom: 5%;
}

/* formattazione elemento address*/
#contatti address {
    font-family: nunitoSans;
    font-size: 100%;
    font-weight: bold;
    color: #fff;
}

/* selettore di fratelli adiacenti */
section+address {
    margin-top: -1vw;
}


#formAndWidget {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#formAndWidget #mapContainer {
    width: 45%;
}

#mapContainer {
    margin-right: 5%;
    margin-top: 4.5%;
    font-size: 100%;
}

#formAndWidget iframe {
    width: 100%;
    height: 300px;
}

#formAndWidget h2, #formAndWidget h3 {
    text-align: center;
    font-family: nunitoSans;
    font-size: 180%;
}


#formContatti {
   
    padding: 4%;
    width: 38%;
    
}

label {
    display: block;
    margin-bottom: 5px;
    font-family: nunitoSans;
    font-size: 120%;
}

#nome, #cognome, #telefono, #email, #messaggio {
    border: 1px solid #ddd;
    padding: 0.8%;
    width: 100%;
    font-family: nunitoSans;
    font-size: 120%;
}

textarea {
    height: 15vh;
}

button {
    background-color: #000000;
    color: #fff;
    cursor: pointer;
    font-size: 100%;
    font-family: nunitoSans;
    padding: 3% 8%;
    border: 0;
}

button:hover {
    background-color: #333;
}


/* Button Torna Su */
.back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: opacity 0.3s;
    background-size: cover;
}

.back-to-top-btn:hover {
    opacity: 0.8;
}