:root {
    font-size: 16px;
}

@font-face {
    font-display: swap;
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/mulish-v13-latin-regular.eot');
    src: url('../fonts/mulish-v13-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/mulish-v13-latin-regular.woff2') format('woff2'), url('../fonts/mulish-v13-latin-regular.woff') format('woff'), url('../fonts/mulish-v13-latin-regular.ttf') format('truetype'), url('../fonts/mulish-v13-latin-regular.svg#Mulish') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/mulish-v13-latin-700.eot');
    src: url('../fonts/mulish-v13-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/mulish-v13-latin-700.woff2') format('woff2'), url('../fonts/mulish-v13-latin-700.woff') format('woff'), url('../fonts/mulish-v13-latin-700.ttf') format('truetype'), url('../fonts/mulish-v13-latin-700.svg#Mulish') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Nothing You Could Do';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/nothing-you-could-do-v19-latin-regular.eot');
    src: url('../fonts/nothing-you-could-do-v19-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/nothing-you-could-do-v19-latin-regular.woff2') format('woff2'), url('../fonts/nothing-you-could-do-v19-latin-regular.woff') format('woff'), url('../fonts/nothing-you-could-do-v19-latin-regular.ttf') format('truetype'), url('../fonts/nothing-you-could-do-v19-latin-regular.svg#NothingYouCouldDo') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mulish', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #231F20;
    font-weight: 400;
}

#wrapper {
    margin: 16px auto;
    border: 1px #777 solid;
    max-width: 1076px;
    position: relative;
    background: #FFFFFF;
    overflow: hidden;
}

article {
    padding: 0 30px 100px;
    background: url('../images/background-bottom.jpg') bottom right no-repeat;
    margin: -30px 0 0;
}

.flexbox {
    display: flex;
    justify-content: space-between;
}

.column {
    width: 45%;
}

.column:nth-of-type(1) {
    width: 55%;
}

.column:nth-of-type(1) h4 {
    margin-left: -30px;
    padding-left: 30px;
}

.position {
    position: absolute;
    top: 25%;
    right: 10px;
    background: url('../images/background.png') 0 0 no-repeat;
    width: 337px;
    height: 336px;
    color: #fff;
    text-align: center;
    padding: 70px 30px 31px 34px;
    font-size: 16px;
    line-height: 17px;
}

.position p {
    padding-right: 6px;
    margin-left: -30px;
    font-size: 20px;
    line-height: 1.2;
    transform: rotate(9deg);
}

.font {
    font-size: 19px;
}

section {
    background: #F6F6F6;
    padding: 30px 30px 10px;
    margin: 0 -30px 16px
}

footer {
    background: #941a1d;
    padding: 10px 30px 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

footer div {
    width: 485px;
}

footer div:nth-of-type(2) {
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

footer p {
    color: #fff !important;
}

.link {
    background: #ff8900;
    display: block;
    padding: 6px 32px 6px 16px;
    margin: 18px -30px 0 0;
    font-size: 18px;
}

footer p img {
    margin-right: 5px;
    vertical-align: middle;
}

p {
    padding-bottom: 15px;
}

p span {
    white-space: nowrap;
}

:is(strong, h1, h3, h5, h6) {
    font-weight: 700;
}

h1 {
    margin: 0 0 15px;
    font-size: 29px;
    line-height: 1.3;
    color: #961914;
}

h1 small {
    background: #d06a28;
    color: #fff;
    font-size: 10px;
    padding: 1px 4px;
    position: relative;
    top: -20px;
}

h1 span {
    display: block;
    font-size: 21px;
    margin: 6px 0 8px;
}

h2 {
    font-size: 39px;
    line-height: 1;
    font-family: 'Nothing You Could Do', Arial, cursive;
    font-weight: 400;
    margin-bottom: 22px;
    transform: rotate(9deg);
}

h3 {
    margin: 0 0 8px;
    font-size: 24px;
    color: #961914;
}

h3 span {
    display: block;
    font-size: 20px;
}

h4 {
    background: #941a1d;
    color: #fff;
    font-size: 19px;
    line-height: 1.3;
    font-weight: normal;
    padding: 6px 8px;
    display: inline-block;
    width: 218px;
    margin-bottom: 16px;
}

h5 {
    font-size: 20px;
    line-height: 25px;
    color: #fff;
}

h5 img {
    vertical-align: middle;
    margin-left: 5px;
}

h6 {
    font-size: 26px;
    line-height: 1.4;
    margin: 4px 0 16px;
    text-align: right;
    color: #fff;
}

h6 span {
    display: block;
    font-weight: normal;
    font-size: 17px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

ul {
    margin-bottom: 15px;
    list-style: none;
}

ul li {
    padding-left: 14px;
    position: relative;
}

ul li:before {
    content: "\25A0";
    color: #620303;
    font-size: 13px;
    position: absolute;
    top: 2px;
    left: 0;
    font-family: Arial, Helvetica, sans-serif;
}

@media only screen and (max-width:1074px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    article {
        padding: 0 16px 100px;
        margin: 0;
    }

    section {
        margin: 0 -16px 20px;
        padding: 30px 16px 10px;
    }

    footer {
        padding: 16px;
    }

    .position {
        top: 23%;
    }

    .flexbox div {
        width: 48% !important;
    }

    h1 {
        font-size: 26px;
        line-height: 1.4;
    }

    h1 span {
        font-size: 20px;
    }

    h4 {
        margin-left: 0 !important;
        padding: 8px 16px !important;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    li br {
        display: none;
    }
}

@media only screen and (max-width:990px) {
    .position {
        position: static;
        margin: 0 auto 10px;
    }

    section {
        padding-top: 16px;
    }

    .flexbox {
        display: block;
    }

    :is(.flexbox, footer) div {
        width: 100% !important;
    }

    footer {
        flex-direction: column;
    }

    :is(footer, footer div:nth-of-type(2)) {
        align-items: center;
    }

    .link {
        margin: 18px 0 0;
        padding: 6px 16px;
    }

    :is(h1, .font, footer :is(h5, h6, p), .link) {
        text-align: center;
    }

    h1 small {
        top: -10px;
    }
}

@media only screen and (max-width:374px) {
    .position {
        width: 288px;
        height: 288px;
        background-size: 100%;
        padding: 70px 30px 1px;
    }

    .position p {
        font-size: 16px;
        line-height: 1.3;
    }

    h2 {
        font-size: 30px;
    }

    footer a {
        white-space: normal !important;
        word-break: break-all;
    }
}