:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: #231f20;
}

#wrapper {
    margin: 1rem auto;
    max-width: 560px;
    background: #fff;
    border: 2px solid #d7016d;
    padding: 16px;
}

.text-center {
    text-align: center;
}

.margin-bottom {
    margin-bottom: 0;
}

:is(h1, strong) {
    font-weight: 700;
}

h1 {
    font-size: 20px;
    margin: 0 0 10px;
    line-height: 1.2;
}

p {
    margin-bottom: 8px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
}

img {
    max-width: 100%;
}

footer {
    margin: 10px 0 0;

}

.boxflex {
    display: flex;
    justify-content: flex-start;
    gap: 12px 20px;
    margin-bottom: 8px;
}

footer .boxflex>a {
    display: inline-block;
    margin-top: 6px;
}

@media screen and (max-width: 559px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }

    .boxflex {
        flex-direction: column;
        align-items: center;
    }

    :is(h1, p, footer p) {
        text-align: center;
    }
}