@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');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/roboto-v30-latin-900.eot');
    src: url('../fonts/roboto-v30-latin-900.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-900.woff2') format('woff2'), url('../fonts/roboto-v30-latin-900.woff') format('woff'), url('../fonts/roboto-v30-latin-900.ttf') format('truetype'), url('../fonts/roboto-v30-latin-900.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 17px;
    line-height: 23px;
    font-weight: 400;
}

#wrapper {
    max-width: 800px;
    margin: 16px auto;
    border: 10px solid #d4dc55;
    background-color: #fff;
    padding: 35px 35px 30px;
    overflow: hidden;
}

:is(header, .flex) {
    display: flex;
    justify-content: space-between;
}

.font {
    font-size: 17.5px;
    color: #f1aa29;
    display: flex;
    animation: c;
    gap: 11px;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 22px 0 0;
}

footer div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

footer div p {
    text-align: right;
    font-size: 13px;
    line-height: 18px;
}

.button {
    display: flex;
    justify-content: center;
    margin: 16px 0 0;
}

.button a {
    display: inline-block;
    padding: 10px 26px;
    background: #d4dc55;
    font-weight: 700;
}

.title {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 20px 0 0;
}

.span {
    letter-spacing: 1px;
    font-size: 21px;
}

.link {
    font-weight: 900;
    font-size: 39px;
    line-height: 1.25;
}

.background {
    background: #d4dc55;
    padding: 16px 26px;
    font-size: 19px;
}

.margin {
    margin: 0 3px;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 16px;
    font-weight: 700;
    font-size: 35px;
    line-height: 1;
    background: #d4dc55;
    padding: 10px 16px;
    display: inline-block;
    transform: rotate(3deg);
}

h1 span {
    font-size: 22px;
}

h2 {
    font-weight: 700;
    font-size: 29px;
    line-height: 1;
    background: #a6b8c5;
    display: inline-block;
    color: #fff;
    padding: 10px 16px;
    transform: rotate(-3deg);
    margin: -5px 0 0;
}

h3 {
    margin: 0 0 32px -36px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    background: #d4dc55;
    display: inline-block;
    padding: 10px 20px 8px 36px;
    transform: rotate(-3deg);
    letter-spacing: 3px;
}

h4 {
    margin: 0 0 36px;
    font-weight: 900;
    font-size: 72px;
    line-height: 68px;
    color: #f1aa29;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 25px;
    margin: 0 0 15px;
}

li:before {
    content: '\2713';
    float: left;
    font-size: 20px;
    text-indent: -25px;
}

img {
    max-width: 100%;
}

@media all and (max-width: 798px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media all and (max-width: 767px) {
    #wrapper {
        padding: 16px;
    }

    header {
        display: block !important;
    }

    header br {
        display: none;
    }

    .title {
        justify-content: center;
        align-items: center;
    }

    h4 {
        text-align: center;
        margin: 0 0 16px;
    }

    h1 {
        transform: none;
        text-align: center;
    }

    h2 {
        transform: none;
        margin: 0;
        line-height: 1.3;
        text-align: center;
    }

    h3 {
        margin: 20px 0 22px;
        transform: none;
        padding: 10px 16px;
        letter-spacing: 0;
    }
}

@media all and (max-width: 712px) {
    :is(.flex, footer) {
        display: block !important;
    }

    footer div {
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 16px 0 0;
    }

    footer p {
        text-align: center !important;
    }

    .link {
        font-size: 36px;
    }
}

@media all and (max-width: 374px) {
    .link {
        font-size: 30px;
    }

    .font {
        font-size: 15px;
    }

    h4 {
        font-size: 60px;
        line-height: 1;
    }
}