@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');
}

body {
    font-family: 'Hind', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    color: #231f20;
    font-weight: 400;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#wrapper {
    margin: 16px auto;
    border: 3px #231f20 solid;
    max-width: 610px;
    position: relative;
    background: #FFF;
}

header {
    padding: 9px 0 0;
    background: url('../images/line.jpg') 0 0 no-repeat;
    background-size: 100%;
}

.banner {
    position: relative;
}

article {
    padding: 40px 30px 12px;
    position: relative;
}

.text-center {
    text-align: center;
    font-weight: 600;
    margin: 0 0 6px;
}

hr {
    border: none;
    border-bottom: 1px solid #231f20;
    margin: 0 0 6px;
}

footer {
    padding: 0 30px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

p {
    margin-bottom: 10px;
}

:is(strong, h1, h2, h3, h4) {
    font-weight: 700;
}

h1 {
    font-size: 35px;
    position: absolute;
    bottom: -24px;
    left: 30px;
    right: 30px;
    padding: 8px 16px;
    text-align: center;
    background: #4a5eab;
    color: #fff;
    line-height: 1.1;
}

h1 small {
    display: block;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    margin: 6px 0 0;
}

h1 strong {
    font-size: 28px;
}

h2 {
    font-size: 20px;
    margin: 0 0 10px;
    position: relative;
    display: inline-block;
}

h2 span {
    position: relative;
    z-index: 9;
}

h2:after {
    content: '';
    background: #bcbfe0;
    height: 14px;
    position: absolute;
    bottom: 0;
    left: -5px;
    right: -5px;
    border-radius: 10px;
}

h3 {
    font-size: 41px;
    line-height: 1.2;
    margin: 12px 30px 16px;
}

h3 em {
    font-style: normal;
    color: #d2232a;
}

h3 span {
    position: relative;
    display: inline-block;
}

h3 strong {
    position: relative;
    z-index: 9;
}

h3 span:before {
    content: '';
    display: block;
    position: absolute;
    height: 18px;
    left: -6px;
    bottom: 12px;
    right: -6px;
    background: #999dcf;
    border-radius: 20px;
}

h3 span:nth-child(1):before {
    background: #d1d2ea;
}

h4 {
    font-size: 23px;
    line-height: 1.3;
    background: #4a5eab;
    color: #fff;
    padding: 14px 10px;
    display: inline-block;
    position: absolute;
    left: 30px;
    bottom: 75px;
}

h4 span {
    font-weight: 400;
    font-size: 87%;
}

:is(a, a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

ul {
    list-style: none;
    margin: 0 0 14px;
}

ul li {
    padding-left: 20px;
    margin-bottom: 6px;
}

li:before {
    content: "\25A0";
    float: left;
    font-size: 15px;
    text-indent: -20px;
    margin-top: -1px;
}

@media only screen and (max-width:608px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    article {
        padding: 40px 16px 12px;
    }

    footer {
        padding: 0 16px 16px;
    }

    :is(h1, h2, h3, h4, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h1 {
        left: 16px;
        right: 16px;
    }

    h1 br {
        display: none;
    }

    h3 {
        font-size: 7.9vw;
    }

    h4 {
        left: 16px;
        bottom: 130px;
    }

    span:not(h3 span) {
        white-space: nowrap;
    }
}

@media only screen and (max-width:560px) {
    h2 {
        font-size: 19px;
    }

    h3 {
        text-align: center;
        margin: 16px;
    }
}

@media only screen and (max-width:520px) {
    article {
        padding-top: 16px;
    }

    footer {
        flex-direction: column;
    }

    :is(h1, h4) {
        position: static;
    }

    h1 {
        font-size: 28px;
    }

    h1 small {
        font-size: 18px;
    }

    h4 {
        padding: 10px 16px;
        width: 100%;
        text-align: center;
    }

    h3 span:before {
        bottom: 0;
    }
}