@font-face {
    src: url("font/Brother1816-Book.ttf") format("truetype");
    font-family: "BrotherRegular";
}

@font-face {
    src: url("font/Brother1816-Bold.ttf") format("truetype");
    font-family: "BrotherBold";
}

* {
    margin: 0;
    padding: 0;
}

b, h1, h2, h3, h4 {
    font-weight: normal;
}

b {
    font-family: "BrotherBold", "Arial", sans-serif;
}

body {
    font-family: "BrotherRegular", "Arial", sans-serif;
    padding-top: 100px;
    background-color: #fafafa;
    color: #333;
    font-size: 1rem;
}

nav {
    position: fixed;
    width: 100%;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    top: 0;
    left: 0;
}

footer {
    background-color: #004384;
    padding-top: 60px;
    padding-bottom: 60px;
    color: white;
    margin-top: 100px;
}

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

footer .riga-finale {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 20px;
}

.container {
    margin: auto;
    width: 80%;
    max-width: 900px;
}

footer .logo-attendiamoci {
    height: 90px;
    margin-right: 20px;
}

a {
    color: inherit;
}

nav .logotipo {
    height: 60px;
    margin: auto;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

footer h2 {
    font-size: 1.5rem;
    padding-bottom: 10px;
    font-family: "BrotherBold", sans-serif;
}

footer p {
    line-height: 1.8rem;
}

h1 {
    color: #0F4280;
    font-size: 1.7rem;
    text-align: center;
    font-family: "BrotherBold", sans-serif;
    padding-top: 70px;
    padding-bottom: 20px;
}

p.discorso {
    color: #333;
    line-height: 1.8rem;
}

.centra-testo {
    text-align: center;
}

button.main-cta {
    text-transform: uppercase;
    color: white;
    border: none;
    margin: auto;
    display: block;
    padding: 17px;
    padding-bottom: 12px;
    padding-left: 50px;
    padding-right: 50px;
    font-family: "BrotherBold", sans-serif;
    background: linear-gradient(to bottom right, #ffb93e, #d97903);
    border-radius: 10px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    margin-bottom: 40px;
    font-size: 1rem;
    cursor: pointer;
}

button.main-cta:hover {
    background: linear-gradient(to bottom right, #ffbb68, #f88c04);
}

.foto-lead {
    margin: auto;
    width: 80%;
    display: block;
    margin-bottom: 130px;
}

h2 {
    font-family: "BrotherBold", sans-serif;
    font-size: 1.5rem;
    text-align: center;
}

.box-cosa-fa-donazione {
    background-color: #0F4280;
    color: white;
    padding-top: 80px;
    padding-bottom: 50px;
    margin-bottom: 100px;
}

.riga-flex {
    display: flex;
    justify-content: space-between;
}

.box-cosa-fa-donazione .riga-flex > div {
    width: 46%;
}

.box-cosa-fa-donazione h2 {
    padding-bottom: 20px;
}

.box-cosa-fa-donazione .riga-flex > div {
    display: flex;
    justify-content: start;
    align-items: center;
    padding-bottom: 40px;
}

.box-cosa-fa-donazione .riga-flex img {
    width: 40px;
    padding-right: 20px;
}

h2.progetto-da-sostenere {
    padding-bottom: 10px;
    color: #F3921E;
}

.grigia-testo {
    color: #666;
}

.box-progetto {
    width: 31%;
    border-radius: 8px;
    background: linear-gradient(to bottom right, #FAC440, #F3921E);
    padding: 15px;
    padding-bottom: 25px;
    margin-top: 30px;
    text-align: center;
    color: white;
    box-sizing: border-box;
}

.box-progetto h3 {
    font-family: "BrotherBold", sans-serif;
    font-size: 1.2rem;
    padding-bottom: 10px;
}

.box-progetto img {
    width: 75%;
    margin-bottom: 30px;
    margin-top: 20px;
}

.box-progetto p {
    min-height: 100px;
}

.box-progetto button {
    border-radius: 20px;
    padding: 13px;
    padding-bottom: 8px;
    width: 80%;
    border: none;
    background-color: white;
    font-size: 1rem;
    font-family: "BrotherBold", sans-serif;
    color: #F3921E;
    margin-top: 20px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.box-progetto button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

h3.nome-progetto {
    margin-top: 120px;
    text-align: center;
    font-family: "BrotherBold", sans-serif;
    font-size: 1.3rem;
    color: rgba(15, 66, 128, 0.5);
}

h2.titolo-progetto {
    color: #0F4280;
    width: 60%;
    padding-bottom: 20px;
}

.box-feature {
    background-color: white;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.box-feature h3 {
    font-family: "BrotherBold", sans-serif;
    color: #F3921E;
    font-size: 1.2rem;
    padding-bottom: 5px;
}

.coda-progetto {
    padding-top: 30px;
}

.coda-progetto div {
    color: #0f4280;
    font-family: "BrotherBold", sans-serif;
    text-transform: uppercase;
}

.box-feature img {
    height: 35px;
    margin-bottom: 5px;
}

.hero-donazione {
    background-image: url("img/sfondo-modulo-donazione.png");
    background-size: cover;
    background-position: center;
    height: 500px;
    margin-top: 160px;
}

.margine-negativo-donazione {
    margin-top: -200px;
}

.testo-hero-donazione {
    text-align: center;
    color: white;
    font-size: 1.3rem;
    font-family: "BrotherBold", sans-serif;
    padding-bottom: 10px;
}

.box-dati-donazione {
    background-color: white;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    border-radius: 8px;
    color: #0f4280
}

.box-dati-donazione h3 {
    text-align: center;
    font-size: 1.1rem;
    padding-top: 15px;
    padding-bottom: 4px;
    font-family: "BrotherBold", sans-serif;
}

.riga-pulsanti {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.riga-pulsanti button {
    flex: 1;
    margin-left: 6px;
    margin-right: 6px;
    border: solid 2px #0f4280;
    border-radius: 5px;
    background-color: white;
    padding: 8px;
    padding-top: 13px;
    font-size: 1rem;
    color: #0f4280;
    font-family: "BrotherBold", sans-serif;
    text-transform: uppercase;
    cursor: pointer;
}

.riga-pulsanti button:first-child {
    margin-left: 0;
}

.riga-pulsanti button:last-child {
    margin-right: 0;
}

.riga-pulsanti button:hover {
    opacity: 0.6;
}

.riga-pulsanti button.attivo {
    color: white;
    background-color: #0f4280;
}

.box-dati-donazione input[type="text"], .box-dati-donazione input[type="email"] {
    font-size: 1rem;
    font-family: inherit;
    padding: 13px;
    padding-bottom: 8px;
    width: 100%;
    box-sizing: border-box;
    border: solid 2px #0f4280;
    border-radius: 6px;
    margin-bottom: 10px;
}

.box-bene-confiscato {
    padding: 20px;
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: start;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.box-bene-confiscato img {
    width: 170px;
    border-radius: 5px;
    margin-right: 20px;
}

.box-bene-confiscato b {
    color: #0f4280;
    font-size: 1.1rem;
    display: block;
    padding-bottom: 5px;
}

h2.nel-caso-non-sapessi {
    padding-top: 140px;
    color: #F3921E;
}

.titoletto-faq {
    color: #0f4280;
    font-size: 1.1rem;
    padding-bottom: 5px;
    padding-top: 40px;
    font-family: "BrotherBold", sans-serif;
}

.container-social {
    margin-top: 140px;
    text-align: center;
}

.container-social a {
    text-decoration: none;
    display: inline-block;
    margin-left: 8px;
    margin-right: 8px;
    margin-top: 5px;
}

.container-social img {
    height: 55px;
}

.main-cta.dona-ora {
    margin-top: 30px;
    margin-bottom: -50px;
}

#txt-importo-altro {
    display: none;
}











@media screen and (max-width: 800px) {

    .riga-flex {
        display: block;
    }

    nav .logotipo {
        max-height: 50px;
        height: auto;
        max-width: 85%;
    }

    h1 {
        padding-top: 20px;
        font-size: 1.5rem;
    }

    .container {
        width: 90%;
    }

    button.main-cta {
        width: 90%;
        padding-top: 15px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    p.discorso {
        line-height: 1.7rem;
    }

    .foto-lead {
        width: 100%;
        margin-bottom: 80px;
    }

    .box-cosa-fa-donazione {
        padding-top: 40px;
        padding-bottom: 30px;
        margin-bottom: 60px;
    }

    .box-cosa-fa-donazione h2 {
        width: 90%;
        margin: auto;
    }

    .box-cosa-fa-donazione .riga-flex > div {
        width: 90%;
        margin: auto;
    }

    h2.progetto-da-sostenere {
        font-size: 1.4rem;
        width: 90%;
        margin: auto;
    }

    .box-progetto {
        width: 90%;
        margin: auto;
        margin-top: 20px;
    }

    .box-progetto img {
        width: 60%;
    }

    .box-progetto p {
        min-height: 0;
    }

    .box-progetto button {
        width: 90%;
    }

    h3.nome-progetto {
        font-size: 1.1rem;
    }

    h2.titolo-progetto {
        width: 90%;
        font-size: 1.4rem;
    }

    .box-bene-confiscato {
        display: block;
    }

    .box-bene-confiscato img {
        width: 100%;
        margin-bottom: 5px;
    }

    .hero-donazione {
        margin-top: 100px;
        height: 300px;
    }

    .riga-pulsanti {
        display: block;
    }

    .riga-pulsanti button {
        width: 100%;
        margin: auto;
        padding: 5px;
        padding-top: 10px;
        margin-bottom: 5px;
        margin-top: 3px;
    }

    footer .colonne-footer {
        display: block;
    }

    footer .logo-attendiamoci {
        margin: auto;
        margin-bottom: 40px;
        display: block;
    }

}
