@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: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 730px;
    margin: 16px auto;
    border: 2px solid #000;
    background-color: #fff;
}

header {
    padding: 32px 20px 20px;
    display: flex;
    justify-content: center;
}

article {
    padding: 0 0 6px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

footer {
    background: #566167;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 15px;
    flex-wrap: wrap;
    gap: 16px;
}

footer p {
    font-size: 14px;
    margin: 1px 0 0;
    line-height: 20px;
}

.icon {
    position: relative;
}

.icon a:nth-of-type(1) {
    position: absolute;
    top: 0;
    left: 2%;
    width: 25%;
    height: 100%;
    z-index: 1;
}

.icon a:nth-of-type(2) {
    position: absolute;
    top: 0;
    left: 29%;
    width: 22%;
    height: 100%;
    z-index: 1;
}

.icon a:nth-of-type(3) {
    position: absolute;
    top: 0;
    left: 54%;
    width: 22%;
    height: 100%;
    z-index: 1;
}

.icon a:nth-of-type(4) {
    position: absolute;
    top: 0;
    right: 0;
    width: 22%;
    height: 100%;
    z-index: 1;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

h1 {
    font-size: 21px;
    line-height: 28px;
    background: url('../images/background.jpg') no-repeat;
    min-width: 419px;
    height: 160px;
    padding: 16px 36px;
}

h1 span {
    display: block;
    font-weight: 400;
}

h2 {
    font-size: 52px;
    line-height: 1.2;
    color: #566167;
    text-align: center;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 729px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    header {
        padding: 16px;
    }

    article {
        flex-direction: column;
        padding: 0 16px 16px;
    }

    span {
        white-space: nowrap;
    }
}

@media all and (max-width: 682px) {
    footer {
        padding: 16px 0 0 16px;
        align-items: flex-end;
        justify-content: flex-end;
    }

    footer p {
        width: 100%;
        margin-right: 16px;
        text-align: center;
    }
}

@media all and (max-width: 460px) {
    h1 {
        min-width: auto;
        padding: 16px 29% 46px 16px;
        height: auto;
        background-size: cover;
    }
}