a{
    text-decoration: none;
    color: inherit;
}

a:hover{
    text-decoration: underline;
}

a img {
    border: none;
    transition: opacity 0.3s ease;
}
a img:hover {
    opacity: 0.7;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

html{
    scroll-behavior: smooth;

}

body{
    padding: 0;
    margin: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

nav{
    height: fit-content;
    color: rgb(28, 98, 74);
    background-color: mediumaquamarine;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    display: flex;
    border-bottom: 3px solid  rgb(28, 98, 74) ;
    scroll-behavior: smooth;
    overflow-x: auto; /* Permette lo scorrimento orizzontale */
    white-space: nowrap; /* Impedisce il wrapping degli elementi */
}

.nav ul {
    display: flex; /* Disposizione in linea degli elementi */
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav li {
    display: inline-block; /* Mantiene gli elementi in linea */
}

.nav a {
    display: block;
    padding: 14px 20px;
    text-align: center;
    text-decoration: none;
}

.nav a:hover {
    background-color: #575757;
}

.logo{
    border-radius: 44px;
    height: 40px;
    width: 40px;
    margin: 10px;
}

.navlink{
    list-style: none;
    width: 1000px;
    min-width: 700px;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 20px;
}

h1{
    color: rgb(28, 98, 74);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 50px;
    text-align: center;
}

h2{
    color: rgb(28, 98, 74);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 32px;
    text-align: center;
}

h3{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 30px;
    text-align: left;
    margin-left: 10%;
    margin-top: 7%
}

.acca3{
    display: flex;
    border-bottom: 1px solid  black;
    
}

.oldh5{
    font-size: 18px;
    margin-bottom: 15px;
    margin-right: 15px;
}

h6{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 15px;
    text-align: left;
}

.citazione{
        height: fit-content;
        display:flex;
        justify-content: center;
        align-items: center;
}

.boxcitazione{
    max-width: 920px;
    background-color: mediumaquamarine;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: rgb(28, 98, 74);
    margin-top: 15px;
    margin-left: 8px;
    margin-right: 12px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.4);
}

.testocitazione{
    color: rgb(28, 98, 74);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 38px;
    text-align: left;
    margin: 35px;
}

.winnicot{
    display: left;
    align-items: left;
    margin-left: 35px;
}

.hrcit {
    border: none; /* Rimuove il bordo predefinito */
    height: 2px; /* Altezza della linea */
    background-color: rgb(28, 98, 74); /* Colore della linea */
    margin: 20px 0; /* Spaziatura sopra e sotto la linea */
    margin-left: 35px;
    margin-right: 85%;
}

.fasce{
    list-style: none;
}

.servizi{
    list-style: none;
    font-size: 15px;
}

.headerhome{
    min-height: 90vh;
    background: url(media/background2phone.png);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.headerservizi{
    min-height: 35vh;
    background: url(media/background2phone.png);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;

}

.titoloservizi{
    color: rgb(28, 98, 74);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 45px;
    margin: 35px;
}


.CVphoto{
    height: 300px;
    width: 300px;
    margin-bottom: 30px;
    margin-top: 10px;
    border: 10px solid  whitesmoke ;
    border-radius: 12px;

}


.social{
    width: 100%;
    background-color: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.linksocial{
    height: 35px;
    width: 35px;
    margin: 10px;
    border-radius: 3px;
}

.articles{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.article1{
    width: 80%;
    margin-top: 8%;
    max-width: 800px;
}

.contatti{
    min-height: 85vh;
    background: url(media/background1-2phone.png);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contatti1{
    background-color: none;
    max-width: 400px;
    margin-left: 20px;
    margin-right: 20x;
}

.FAQ{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.FAQ1{
    flex: 1 1 45%; /* Due colonne con spaziatura */
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 1%;
    padding-bottom: 5%;
    box-sizing: border-box;
}

.imgservizi{
    width: 320px;
    height: 240px;
}

@media (max-width: 800px) {
    .FAQ1 {
        flex: 1 1 100%; /* Una colonna quando la larghezza è inferiore a 800px */
    }
}

footer{
    height: 5%; /* Altezza proporzionale all'altezza della finestra */
    color: rgb(28, 98, 74);
    font-size: 10px;
    background-color: mediumaquamarine;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2%; /* Spaziatura laterale */
}

/* Media query per dispositivi mobili */
@media screen and (max-width: 768px) {
    footer {
        height: 8%; /* Aumenta un po' l'altezza sui dispositivi mobili */
        font-size: 8px; /* Riduce leggermente la dimensione del font */
        padding: 0 4%; /* Spaziatura laterale più ampia */
    }
}

.footerfaq{
    height: 20px;
    color: rgb(28, 98, 74);
    font-size: 10px;
    background-color: mediumaquamarine;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

@media only screen and (max-width: 768px) {
    header, main {
        margin: 0;
        padding: 10px;
    }

    header h1 {
        font-size: 1.9em;
    }

    .navlink {
        font-size: 1em;
    }

    .testocitazione {
        font-size: 1.5em;
    }

    .titoloservizi {
        font-size: 1.8em;
    }

    header h2 {
        font-size: 1.5em;
    }
}

