@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: 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: 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 {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 16px;
    font-size: 13px;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background: #fff url(../images/background.jpg) no-repeat;
    height: 1117px;
    padding: 63px;
}

header {
    display: none;
}

article {
    padding: 96px 0 0;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 24.55rem 0 22px 14px;
    font-size: 48px;
    line-height: 62px;
    color: #FFF;
}

h2 {
    font-size: 14px;
    margin: 1rem -12px 0 82px;
    line-height: 19px;
    text-align: center;
    color: #FFF;
    background: #000;
    padding: 0 12px;
}

h3 {
    font-size: 17px;
    margin: 1rem 0;
    line-height: 1.3;
    color: #FFF;
    padding: 0 16px;
}

h4 {
    font-size: 18px;
    line-height: 21px;
    margin: 28px 18px;
    font-weight: normal;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
}

article section {
    padding: 0 0 0 423px;
}

article section p span {
    margin: 0 0 0 17px;
}

.center {
    text-align: center;
    margin: 0 0 0 -48px;
}

.center span {
    display: block;
}

.center span:nth-of-type(1) {
    margin: 0 0 0 23px;
}

.center span:nth-of-type(2) {
    margin: 0 0 0 31px;
}

.center span:nth-of-type(3) {
    margin: 0 0 0 53px;
}

.center span:nth-of-type(4) {
    margin: 0 0 0 -16px;
}

.center span:nth-of-type(5) {
    margin: 0 0 0 12px;
}

.logo {
    margin: 10px 34px 0 0;
}

@media all and (max-width:799px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul, h1) {
        hyphens: auto;
        text-wrap: pretty;
    }

    article section {
        margin-right: -1%;
    }

    h2 {
        margin-left: 66px;
    }
}

@media all and (max-width:780px) {
    #wrapper {
        height: auto;
        background: #051A15;
        padding: 0;
    }

    header {
        display: flex;
        justify-content: center;
    }

    header img {
        width: 100%;
    }

    article {
        padding: 0;
    }

    article section {
        position: absolute;
        top: 2%;
        right: 2rem;
        background: #FFF;
        width: 300px;
        padding: 1rem;
    }

    article section p {
        text-align: center;
    }

    :is(article section p span, .center, .center span) {
        margin: 0 !important;
    }

    h1 {
        margin: 1rem;
    }

    h2 {
        margin: 1rem 0 0;
        padding: 2px 16px;
    }

    h4 {
        background: #FFF;
        padding: 1rem;
    }

    .title {
        margin-top: -17%;
        background: #051A15;
        position: relative;
        padding: 1rem 0;
    }
}

@media all and (max-width:620px) {
    article section {
        position: static;
        width: 100%;
    }

    .title {
        margin-top: 0;
    }

    .center span {
        display: inline;
    }

    article br {
      display: none;
    }
}

@media all and (max-width:479px) {
    footer {
        justify-content: center;
        padding: 0 1rem 1rem;
    }

    :is(h1, h3, h4) {
        text-align: center;
    }

    .logo {
        margin: 1rem 0 0;
    }
}