@font-face {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-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;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    color: #000;
}

#wrapper {
    margin: 1rem auto;
    max-width: 766px;
    background: #fff;
    border: solid thin #000;
    position: relative;
}

header {
    padding: 16px 16px 0;
}

header a{
    position: absolute;
}

header a:nth-of-type(1){
    top: 78px;
    left: 42px;
}

header a:nth-of-type(2){
    top: 78px;
    right: 41px;
}

article {
    padding: 0 16px 16px;
}

.text-center{
    text-align: center;
}

.margin-bottom{
    margin-bottom: 0;
}

:is(h1, strong){
    font-weight: 700;
}

h1 {
    font-size: 28px;
    line-height: 1.2;
}

h1 span {
    display: block;
    margin-top: 10px;
}

h1 small {
    font-size: 15px;
    font-weight: 400;
    display: block;
    margin-bottom: 10px;
}

p {
    margin-bottom: 8px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
}

footer {
    padding: 16px 45px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.footer-flex-content{
    width: 69%;
}

footer p{
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 6px;
}

@media screen and (max-width: 765px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    header{
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: center;
    }

    header a{
        position: static;
    }

    :is(h1, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br{
        display: none;
    }

    footer{
        padding: 16px
    }
}

@media screen and (max-width: 545px) {
    footer{
        flex-direction: column;
        align-items: center;
    }

    .footer-flex-content{
        width: 100% !important;
    }

    footer p{
        text-align: center;
    }
}