body {
    font-family: Georgia;
    font-size: 16px;
    padding: 20px;
    margin: 0;
    background-color: #eee;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header, #pre-header, #post-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 0;
}

header {
    gap: 10px;

    border-top: 6px double black;
    border-bottom: 6px double black;

    > img:first-child,
    > img:last-child {
        width: min(15%, 150px);
    }

    > img:nth-child(2) {
        width: min(50%, 450px);
    }
}

#post-header {
    > span {
        text-transform: uppercase;
        font-size: clamp(16px, 6svw, 2em);
    }
    border-bottom: 6px double black;
}

#pre-header {
    padding: 5px 0;
    > span {
        text-transform: uppercase;
        font-size: clamp(14px, 4svw, 1.1em);
    }
}

.fliph {
    transform: scaleX(-1);
}

main {
    max-width: 40em;
    font-size: 1.2em;

    & p { text-align: justify; }
}

.cappello { font-weight: bold; font-size: .9em; margin-top: 20px; margin-bottom: -10px; }
.cadenasso { font-weight: bold; margin-top: -10px; margin-bottom: 20px; }
.autô { font-size: .9em; font-variant: small-caps; }

a { color: black; text-decoration: underline; }
a:hover { text-decoration: none; }

nav {
    margin-top: 10px;
    margin-bottom: 30px;
    font-weight: bold;
}

img.icon {
    display: inline-block;
    height: 1em;
    width: fit-content;
    vertical-align: bottom;
}

figure {
    & a {
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        > img {
            width: 200px;
            max-width: 70%;
        }
    }
    & a:hover { text-decoration: underline; }
}