@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #222222;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 940px;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 3px 3px 11px 2px #939095;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 16px;
    text-align: justify;
    hyphens: auto;
}

.nowrap {
    white-space: nowrap;
}

.bolder,
a.bolder {
    font-weight: 900;
}

h1 {
    font-size: 29px;
    text-align: center;
    margin: 16px 0;
}

h2 {
    font-size: 17px;
    margin: 0 16px;
    padding-right: 16px;
    border-right: solid 1px #000000;
}

.logo {
    display: flex;
    position: absolute;
    padding: 40px 30px;
}

.resp {
    display: none;
}

article {
    padding: 20px 38px 40px;
}

footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
    background: #f51f2f;
    color: #fff;
    padding: 60px 70px 16px;
    clip-path: polygon(0 50%, 100% 0%, 100% 100%, 0% 100%);
}

footer p {
    margin: 0;
}

.qr {
    padding: 5px;
    background: #fff;
}

@media only screen and (max-width: 939px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        text-align: left;
    }

    .logo {
        padding: 16px 0;
    }

    article {
        padding: 16px;
    }

    footer {
        padding: 70px 16px 16px;
    }
}

@media only screen and (max-width: 680px) {
    header > img {
        display: none
    }

    .resp {
        display: block;
    }

    .logo {
        position: static;
        justify-content: center;
        border-bottom: solid 16px #f51f2f;
        gap: 20px;
    }

    footer {
        clip-path: none;
        padding: 16px;
        justify-content: center;
    }
}

@media only screen and (max-width: 490px) {

    footer,
    .logo {
        flex-direction: column;
        align-items: center;
    }

    footer p {
        text-align: center;
    }

    a.wrap {
        white-space: normal;
    }

    h2 br {
        display: none;
    }

    h2 {
        border-right: none;
        padding: 0;
        margin: 0;
    }
}
