#rettangolo_fixed {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color:#F0D5C0;
    z-index: 1;
    width: 100%;
    height: 80px;
    left: 0px;
    top: 0px;
}

* {
    font-family: 'Tinos', serif;
    line-height: 1.3em
}


#link_test {
    display: none;
}

.logo {
    width: auto;
    height: 80px;
}

.tasti {
    background-color: transparent;
    border: 2px solid #305663;
    border-radius: 15px;
    font: 1.5em bolt;
    color: #305663;
    padding: 0.5em; 
    font-family: Inter,sans-serif;
    margin-right: 10px; 
}

.navigazione_rettangolo {
    width: 33%;
    display: flex;
    justify-content: space-between;
}

.indirizzamento_rettangolo {
    color: #305663;
    font: 1.5em bolt;
    font-family: Inter,sans-serif;
    text-decoration: none; 
}

body {
    padding-top: 130px;
    background-color: white;
    padding-left: 5%;
    padding-right: 5%;
}

.menu_tendina{
    display: none;
    font-size: 2em;
}



/* Carattere */
/* cyrillic-ext */
@font-face {
    font-family: 'Tinos';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/tinos/v24/buE4poGnedXvwjX2fmRR8Q.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  }
  /* cyrillic */
  @font-face {
    font-family: 'Tinos';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/tinos/v24/buE4poGnedXvwjX_fmRR8Q.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }
  /* greek-ext */
  @font-face {
    font-family: 'Tinos';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/tinos/v24/buE4poGnedXvwjX3fmRR8Q.woff2) format('woff2');
    unicode-range: U+1F00-1FFF;
  }
  /* greek */
  @font-face {
    font-family: 'Tinos';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/tinos/v24/buE4poGnedXvwjX4fmRR8Q.woff2) format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
  }
  /* hebrew */
  @font-face {
    font-family: 'Tinos';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/tinos/v24/buE4poGnedXvwjX5fmRR8Q.woff2) format('woff2');
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
  }
  /* vietnamese */
  @font-face {
    font-family: 'Tinos';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/tinos/v24/buE4poGnedXvwjX0fmRR8Q.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
    font-family: 'Tinos';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/tinos/v24/buE4poGnedXvwjX1fmRR8Q.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Tinos';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/tinos/v24/buE4poGnedXvwjX7fmQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

  
  div.benvenutoindex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

p.benvenutoindex{
    font-size: 2em;
    /*font-weight: bold;*/
    text-align: center;
    margin:0px;
    font-family: 'Comic Sans MS';
}


p.benvenutoindex:last-of-type {
    font-size: 1.5em;
    font-weight: bold;
    font-family: 'Dancing Script';
    text-align: center;
    margin:0px;
    margin-bottom: 1.5em;
}
  

@media screen and (max-width: 900px) {

    .navigazione_rettangolo {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0px;
        background-color:#F0D5C0;
        width: 100%;
        text-align: center;
    }

    .navigazione_rettangolo a {
        display: block;
        padding: 10px;
        font-size: 1em;
    }

    .menu_tendina{
        display: block;
        font-size: 2em;
    }

    .navigazione_rettangolo.active {
        display: flex;
    }

    #tasto_test {
        display: none; 
    }

    #link_test {
        display: block;
    }


}

img.presentazione {
    max-width: 500px;
}

p.presentazione {
    font-size: 20px;
    font-family: 'Comic Sans MS';
}

h1.presentazione {
    font-size: 2em;
    margin-top: 0px;
    font-family: 'Dancing Script';
}

img.servizi {
    max-width: 500px;
}

p.servizi {
    font-size: 20px;
}

h1.servizi {
    font-size: 3em;
    margin-top:50px
}

li {
    margin-top: 2em;
}



@media (min-width: 1250px) {
    .container {
        display: flex;
        align-items: center;
    }
    .container img, .container p {
        margin-right: 20px;
    }
    
}

@media screen and (max-width: 500px) {
    .tasti {
        background-color: transparent;
        border: 2px solid #305663;
        border-radius: 12px;
        font: 1em bolt;
        color: #305663;
        padding: 0.8em; 
        font-family: Inter,sans-serif;
        margin-right: 10px; 
    }

    .navigazione_rettangolo a {
        display: block;
        padding: 10px;
        font-size: 0.8em;
    }

    .menu_tendina{
        display: block;
        font-size: 1.5em;
    }
    
    p.benvenutoindex{
        font-size: 1.5em;
        font-weight: bold;
        text-align: center;
        margin:0px;
    }
    
    p.benvenutoindex:last-of-type {
        font-size: 2em;
        font-weight: bold;
        text-align: center;
        margin:0px;
        margin-top: 0.8em;
        margin-bottom: 1em;
    }

    img.presentazione {
        max-width: 100%;
    }

    h1.presentazione {
        font-size: 2em;
        margin-top: 0px;
    }

    img.servizi {
        max-width: 100%;
    }

    h1.servizi {
        font-size: 2em;
    }
    

}

img {
    max-width: 100%;
    height: auto;
}

img.benvenutoindex {
    margin:auto;
  /*  max-width: 100%; */
}

h1::before {
    content: "";
    display: block;
    height: 90px; /* Altezza dello spazio invisibile */
    margin: -100px 0 0; /* Sposta lo spazio invisibile verso l'alto */
}


.contatti2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.contatti {
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: #f2f2f2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    flex: 1 0 200px;
    max-width: 600px;
}

#contattimappa {
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: #f2f2f2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    flex: 1 0 200px;
    max-width: 800px;
    min-width: 700px;
}

.contatti h1 {
    color: #333;
    font-size: 1.5em;
}

.contatti p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
}

.contatti img.foto_contatti {
    width: auto;
    max-height: 200px;
    height: auto;
    display: block;
    margin: auto;
}

.contatti a {
    color: #3498db;
    text-decoration: none;
    font-size: 1.2em;
}

.contatti iframe {
    width: 100%;
    height: 300px;
    border: none;
}

@media screen and (max-width: 980px) {
    .contatti2 {
        flex-direction: column;
    }
    .contatti {
        margin: 10px;
    }

    #contattimappa {
        margin: 20px;
        padding: 20px;
        border-radius: 10px;
        background-color: #f2f2f2;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
        flex: 1 0 200px;
        max-width: 800px;
        min-width: 0px;
    }
    
}