html {
    scroll-padding-top: 90px; /* height of sticky header */
}

body {
    margin: 0;
    font-family: system-ui;
}

#bottom {
    height: 100%;
}

.header {
    height: 90px;
    background-color: white;
    position: fixed;
    width: 100%;
    border-bottom: 1px solid #209A8D ;
}

.header a {
    text-decoration: none;
    color: #333;
}

.menu-item a:hover {
    color: #A8A3C3;
}

.active a {
    color: #A8A3C3;
}

.menu {
    float: right;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 10px;
}

.mobile-only {
    display: none;
}

.logo {
    height: 100%;
    float: left;
    text-align: center;
}

.logo-img {
    height: 100%;
    padding: 0 10px;
}

.header ul {
    list-style-type: none; /* Remove bullets */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margins */
}

.menu-item {
    float: left;
    padding: 0 15px;
}

.sezione-chi-sono, .sezione-policy {
    padding-top: 90px;
}

.sezione-chi-sono h1 {
    color: #209A8D;
}

.chi-sono {
    display: flex;
    align-items: flex-start;
    width: 70%;
    margin-left: 15%;
}

.img-chi-sono {
    flex: 1;
    align-self: center;
}

.img-chi-sono img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.descrizione-chi-sono {
    flex: 2;
    padding: 0 0 0 10%;
}

h1 {
    text-align: center;
}

.h1 {
    padding-left: 10px;
    padding-right: 10px;
}

.sezione {
    padding-top: 10px;
    margin-top: 30px;
}

.sezione-colorata {
    background-color: rgba(156, 216, 216, 0.5); 
}

.sezione-colorata-lilla {
    background-color: rgba(168, 163, 195, 0.3); 
}

h3 {
    text-align: center;
}

.card-container {
    display: flex;
    width: 70%;
    padding-left: 15%;
    justify-content: space-between;
    margin-top: 60px;
    padding-bottom: 7%;
}

.card {
    background-color: white;
    width: 40%;
    text-align: center;
    padding: 1% 3% 1% 3%;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
}

#attivita {
    padding-top: 10px;
}

.address-contact {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.img-contact {
    width: 40px;
}

.address-content {
    margin: 0;
    margin-block: 0;
    margin-inline: 0;
}

.address-contact-in {
    margin-right: 30px;
}

.footer {
    background-color: #A8A3C3;
    padding: 20px 1px 20px 1px;
    color: black;
}

.footer-in {
    height: 100%;
}

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

.footer a {
    color: black;
    text-decoration: underline;
}

.sezione-testo {
    padding: 10px 5% 10px 5%;
}

.padding-left-right-20 {
    padding-left: 20px;
    padding-right: 20px;
}

.sezione-testo h1, .sezione-testo h4 {
    display: unset;
}


@media screen and (max-width: 750px) {
    
    .mobile-only {
        display: block;
    }

    .no-mobile {
        display: none;
    }

    .hamburger-menu {
        height: 100%;
        float: right;
        margin-right: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hamburger-menu img {
        height: 40px;
        cursor: pointer;
    }

    .menu-blocker {
        top: 91px;
        display: block;
        position: fixed;
        left: 0;
        background: grey;
        opacity: .4;
        width: 100%;
        height: 100%;
    }

    .menu-mobile {
        max-width: 862px;
        max-height: 754px;
        top: 90px;
        left: 0px;
        float: none ! important;
        position: absolute;
        background-color: #fff;
        width: 100%;
        height: auto;
        overflow-y: auto;
        display: table;
    }

    .menu-item-mobile {
        text-align: center;
        padding: 1px;
        border: 1px solid #A8A3C3;
    }

    .sfondo-img {
        margin-top: 90px;
    }

    .chi-sono {
        display: inline;
    }
   
    .card-container {
        display: block;
        width: 80%;
        margin-left: 10%;
        padding-left: 0;
        margin-top: 0;
    }

    .card {
        width: auto;
        margin-top: 50px;
        padding: 1% 10% 1% 10%;;
    }

    .img-chi-sono {
        width: 60%;
        margin-left: 20%;
    }

    .descrizione-chi-sono {
        padding: 0 10% 0 10%;
    }

    .footer {
        font-size: 9px;
    }

    .flex-center {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .line-first {
        flex: 1 0 50%;
    }

    .line-second {
        flex: 0 1 50%;
    }

    .padding-left-right-20 {
        padding: 10px 0px 10px 0px;
    }
}