@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/ubuntu-v20-latin-regular.eot');
    src: url('../fonts/ubuntu-v20-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-v20-latin-regular.woff2') format('woff2'), url('../fonts/ubuntu-v20-latin-regular.woff') format('woff'), url('../fonts/ubuntu-v20-latin-regular.ttf') format('truetype'), url('../fonts/ubuntu-v20-latin-regular.svg#Ubuntu') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/ubuntu-v20-latin-700.eot');
    src: url('../fonts/ubuntu-v20-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-v20-latin-700.woff2') format('woff2'), url('../fonts/ubuntu-v20-latin-700.woff') format('woff'), url('../fonts/ubuntu-v20-latin-700.ttf') format('truetype'), url('../fonts/ubuntu-v20-latin-700.svg#Ubuntu') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    color: #1c1600;
    font-family: 'Ubuntu', Arial, sans-serif;
    font-size: 14px;
    line-height: 19px;
    font-weight: 400;
}

#wrapper {
    max-width: 910px;
    margin: 16px auto;
    border: 1px solid #1c1600;
    background: #d8dbdd;
    position: relative;
}

header {
    position: relative;
}

article {
    padding: 16px 25px 173px;
}

footer {
    position: absolute;
    z-index: 3;
    right: 74px;
    bottom: 21px;
}

strong {
    font-weight: 700;
}

h1 {
    padding: 10px 30px;
    font-weight: 700;
    font-size: 35px;
    line-height: 41px;
    width: 88%;
    background: #fde210;
}

h2 {
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 24px;
    line-height: 26px;
}

h3 {
    margin: 0 0 0 22px;
    padding: 20px;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    width: 320px;
    color: #fff;
    border-radius: 20px 20px 0 0;
    background: rgba(0, 0, 0, 0.5);
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #1c1600;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 14px;
    position: relative;
    margin-top: 8px;
}

li:before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #1c1600;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 7px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

:is(.left, .right) {
    width: 48.5%;
}

.left {
    background: #fde210;
    padding: 14px 20px;
    border-radius: 20px;
}

.background {
    background: #65676a;
    padding: 14px 20px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.background:nth-of-type(2) {
    background: #fff;
}

.right .background:nth-of-type(2) ul li::before {
    background: #1c1600;
}

.background:nth-of-type(2) :is(h2, ul) {
    color: #1c1600
}

.right :is(h2, ul) {
    color: #fff;
}

.right ul li::before {
    background: #fff;
}

.flexbox {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px 1%;
    margin-top: 20px;
}

.position {
    width: 45%;
    position: absolute;
    bottom: 22px;
    left: 26px;
}

.item {
    width: 23%;
}

.item div {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
}

.item p {
    text-align: center;
    font-size: 11px;
    line-height: 15px;
}

.box {
    margin-top: -179px;
    position: relative;
    z-index: 3;
}

h1 span {
    font-weight: 400;
}

article>p {
    padding: 0 20px;
    font-size: 17px;
    line-height: 22px;
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px 0;
    margin: 20px 0 0;
    align-items: flex-start;
}

h2.margin {
    margin: 0 0 0 18px;
}

footer h2 {
    text-align: left;
    font-size: 23px;
}

footer p {
    text-align: left;
}

@media all and (max-width: 909px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    :is(ul, p) {
        hyphens: auto;
    }

    article {
        padding: 16px 16px 254px;
    }

    footer {
        right: 16px;
    }
}

@media all and (max-width: 767px) {
    .box {
        margin-top: 0;
    }

    h1 {
        width: 100%;
        padding: 8px 16px;
        font-size: 28px;
        line-height: 32px;
    }

    h2.margin {
        margin-top: 16px;
    }

    h3 {
        margin: 0;
        width: auto;
        border-radius: 0;
        padding: 10px 16px;
    }

    p span {
        white-space: nowrap;
    }

    article {
        padding-bottom: 16px
    }

    article>p {
        padding: 0;
    }

    :is(.left, .right) {
        width: 100%;
    }

    footer {
        position: static;
        padding: 0 16px 16px;
    }

    footer h2 br {
        display: none
    }

    .position {
        width: auto;
        position: static;
    }

    .item {
        width: 98px;
    }

    .flexbox {
        gap: 10px;
    }

    footer h2 {
        text-align: left;
    }

    footer p {
        text-align: left;
    }
}

@media all and (max-width: 414px) {
    .flexbox {
        justify-content: space-between;
        gap: 10px 0;
    }

    .item {
        width: 48%;
    }
}