@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #3e8678;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

#wrapper {
    max-width: 550px;
    margin: 16px auto;
    border: 1px solid #cbcbcb;
    background-color: #fff;
}

article {
    padding: 8px 16px;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px 32px;
}

footer {
    background: #74a398;
    padding: 8px 16px 6px;
}

footer p {
    color: #fff;
}

.font {
    color: #b2d1c7;
    font-size: 10px;
}

:is(p, h1) {
    text-align: center;
}

h1 {
    margin: 14px -16px 14px;
    font-weight: 700;
    font-size: 52px;
    line-height: 1;
    background: #eff5f3;
    padding: 10px 16px;
    letter-spacing: 2px;
}

h1 small {
    color: #5d5e5f;
    display: block;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: 0;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

@media all and (max-width: 548px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    span {
        white-space: nowrap;
    }

    h1 {
        letter-spacing: 0;
        font-size: 40px;
        line-height: 1.1;
    }

    article br {
        display: none;
    }
}

@media all and (max-width: 424px) {
    .flex {
        flex-direction: column;
    }

    h1 {
        font-size: 32px;
    }
}