@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

html {
    box-sizing: border-box
}

*,
*:before,
*:after {
    box-sizing: inherit
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    width: 100%;
    font-family: 'Public Sans', sans-serif;
}

header,
main,
footer {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

header {
    padding-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: #ADB5BD 1px solid;
    padding-bottom: 20px;
}

/* img {
    max-width: 100%;
} */

.image {
    border: #ADB5BD solid 1px;
    max-width: 40%;
    
}

a {
    color: #9B1818;
    font-weight: 600;
}

a:hover {
    color: #495057;
}

h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 400;
    font-size: 36px;
    color: #495057;
}

h3 {
    font-family: 'Public Sans', sans-serif;
    font-weight: 200;
    font-size: 140%;
}

h5 {
    font-weight: 600;
    font-size: 100%;
}

.fontGrigioAzzurroScuro {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    color: #495057;
}

.card {
    margin-bottom: 20px;
    border-bottom: #ADB5BD 1px solid;
    padding-bottom: 20px;
}

b,
strong {
    font-weight: 700;
}

footer {
    background-color: #DEE2E6;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
    margin-top: 70px;
    border-top: #ADB5BD 1px solid;
    border-left: #ADB5BD 1px solid;
    border-right: #ADB5BD 1px solid;
}

footer img {
    width: 30px;
    height: auto;
    cursor: pointer;
}

footer img:hover {
    opacity: 0.6;
}

footer p {
    margin-bottom: 40px;
}

footer div {
    display: inline-block;
    padding-left: 5px;
}


@media screen and (max-width: 1024px) {

    header,
    main,
    footer {
        width: 85%;
    }
}