@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: 700;
    font-size: 20px;
    line-height: 26px;
    color: #fff;
    text-align: center;
}

#wrapper {
    margin: 1rem auto;
    max-width: 620px;
    background: #fff url(background.jpg) no-repeat left top;
    border: solid thin #cbcbcb;
    height: 745px;
}

header {
    display: none;
}

article {
    padding: 558px 15px 0;
}

strong {
    font-weight: 700;
}

h1 {
    font-size: 35px;
    margin: 0 0 3px;
    font-weight: 400;
    line-height: 1.2;
    font-family: "Atma", system-ui;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
}

img {
    max-width: 100%;
}

footer {
    padding: 0 89px 0 103px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

@media screen and (max-width: 619px) {
    #wrapper {
        border: none;
        margin: 0;
        background: #3797c9;
        height: auto;
    }

    header{
        display: block;
    }

    article{
        padding: 1rem;
    }

    :is(h1, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    footer{
        padding: 10px 1rem;
        background: #85c1e3;
    }

    .footer-flex{
        justify-content: center;
    }
}