@font-face {
    font-display: swap;
    font-family: 'Hind';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/hind-v16-latin-regular.eot');
    src: url('../fonts/hind-v16-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-v16-latin-regular.woff2') format('woff2'), url('../fonts/hind-v16-latin-regular.woff') format('woff'), url('../fonts/hind-v16-latin-regular.ttf') format('truetype'), url('../fonts/hind-v16-latin-regular.svg#Hind') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Hind';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/hind-v16-latin-600.eot');
    src: url('../fonts/hind-v16-latin-600.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-v16-latin-600.woff2') format('woff2'), url('../fonts/hind-v16-latin-600.woff') format('woff'), url('../fonts/hind-v16-latin-600.ttf') format('truetype'), url('../fonts/hind-v16-latin-600.svg#Hind') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Hind';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/hind-v16-latin-700.eot');
    src: url('../fonts/hind-v16-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-v16-latin-700.woff2') format('woff2'), url('../fonts/hind-v16-latin-700.woff') format('woff'), url('../fonts/hind-v16-latin-700.ttf') format('truetype'), url('../fonts/hind-v16-latin-700.svg#Hind') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #fff;
    font-family: 'Hind', Arial, sans-serif;
    font-size: 20px;
    line-height: 26px;
    font-weight: 400;
}

#wrapper {
    max-width: 557px;
    height: 716px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: url('../images/background.jpg') no-repeat;
}

.container {
    padding: 40px 45px;
}

.logo {
    display: flex;
    justify-content: flex-start;
}

article {
    padding: 20px 0 30px;
}

footer {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

footer a {
    font-size: 16px;
}

p:not(:first-of-type) {
    margin-top: 5px;
}

h1 {
    font-size: 21px;
    line-height: 27px;
    margin: 10px 0 0;
}

h2 {
    font-size: 20px;
    line-height: 22px;
    font-weight: 400;
    margin-top: 12px;
}

h3 {
    font-size: 21px;
    line-height: 24px;
    display: flex;
    gap: 15px;
    margin: 40px 0 0 -45px;
    flex-direction: column;
    align-items: flex-start;
    color: #000;
}

h3 span {
    border-left: 52px solid #fbb900;
    background: #fff;
    padding: 5px 15px;
}

.font {
    font-size: 20px;
    line-height: 22px;
}

ul {
    list-style: none
}

ul li {
    padding-left: 19px;
    margin-top: 5px;
}

li:before {
    content: "\2022";
    color: #fbb900;
    float: left;
    font-size: 28px;
    text-indent: -19px;
    margin-top: 2px;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, h3, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

@media only screen and (max-width:557px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    .container {
        padding: 20px 16px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }

    :is(p, ul) span {
        white-space: nowrap;
    }

    br:not(footer br) {
        display: none;
    }

    h3 {
        margin: 20px 0 0 -16px;
    }
}

@media only screen and (max-width:490px) {
    #wrapper {
        height: auto;
        background: url('../images/background-responsive.jpg') no-repeat;
        background-size: cover;
    }

    .container {
        background: rgba(0, 0, 0, 0.48);
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    footer p {
        text-align: center;
    }
}

@media only screen and (max-width:405px) {
    h3 span {
        border-left: 40px solid #fbb900;
        font-size: 19px;
    }

    .link {
        white-space: normal !important;
    }
}