@font-face {
    font-display: swap;
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/pt-sans-v17-latin-regular.eot');
    src: url('../fonts/pt-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-v17-latin-regular.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin-regular.woff') format('woff'), url('../fonts/pt-sans-v17-latin-regular.ttf') format('truetype'), url('../fonts/pt-sans-v17-latin-regular.svg#PTSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/pt-sans-v17-latin-700.eot');
    src: url('../fonts/pt-sans-v17-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-v17-latin-700.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin-700.woff') format('woff'), url('../fonts/pt-sans-v17-latin-700.ttf') format('truetype'), url('../fonts/pt-sans-v17-latin-700.svg#PTSans') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #fff;
    font-size: 15px;
    line-height: 18px;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: 400;
}

#wrapper {
    margin: 16px auto;
    border: 1px #231F20 solid;
    max-width: 910px;
    position: relative;
    background: #051E32 url('../images/background.jpg') top no-repeat;
    overflow: hidden;
}

:is(strong, h1, h2, h3, h4) {
    font-weight: 700;
}

p {
    padding-bottom: 19px;
}

h1 {
    margin: 40px 0 40px 10px;
    font-size: 39px;
    line-height: 1;
}

h1 small {
    font-size: 30px;
}

h2 {
    font-size: 32px;
    line-height: 32px;
    color: #FDB816;
    margin: 0 0 14px;
}

h3 {
    font-size: 29px;
    line-height: 32px;
    margin: 0 0 40px 0;
}

h3 span {
    margin: 0 0 0 53px;
    display: block;
}

h4 {
    font-size: 29px;
    line-height: 32px;
    margin: 0 0 40px 0px;
}

h4 span {
    margin: 0 0 0 13px;
    display: block;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.color {
    color: #FDB816 !important;
}

.text-center {
    text-align: center;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

ul {
    margin-bottom: 17px;
    list-style: none;
}

ul li {
    padding-left: 20px;
    position: relative;
}

ul li:before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 8px;
    left: 0;
}

:is(header, .flexbox, footer) {
    display: flex;
    justify-content: space-between;
}

header {
    padding: 46px 42px 38px 53px;
    align-items: center;
}

article {
    padding: 50px 30px 5px 50px;
}

.top {
    width: 52%;
    margin: 10px 0 0px;
    padding: 125px 35px 112px 0;
}

.line {
    text-decoration: underline;
    text-align: justify;
    padding-bottom: 25px;
    line-height: 19px;
    hyphens: auto;
}

:is(.item, .item2) {
    overflow: hidden;
}

:is(.item p:nth-of-type(1), .item p:nth-of-type(2), .item2 p:nth-of-type(1)) {
    float: left;
}

:is(.item p:nth-of-type(3), .item2 p:nth-of-type(2)) {
    float: right;
}

.item p:nth-of-type(1) {
    width: 40px;
    margin: 0 25px 0 0;
}

.item p:nth-of-type(2) {
    width: 145px;
}

.item p:nth-of-type(3) {
    width: 143px;
}

.item2 p:nth-of-type(1) {
    width: 211px;
}

.item2 p:nth-of-type(2) {
    width: 143px;
}

.text {
    line-height: 26px;
    padding: 42px 4px 24px 5px;
}

footer {
    padding: 0 50px 30px;
    align-items: center;
}

footer p:nth-of-type(1) {
    width: 240px;
    padding-bottom: 0;
}

footer p:nth-of-type(2) {
    width: 187px;
}

footer .big {
    font-size: 18px;
}

.link {
    font-size: 20px;
    line-height: 22px;
}

@media only screen and (max-width:906px) {
    #wrapper {
        border: none;
        height: auto;
        background: none;
        margin: 0;
    }

    h1 {
        font-size: 32px;
        line-height: 1.2;
        margin: 15px 0;
        text-align: center;
    }

    h1 small {
        font-size: 20px;
        display: block;
    }

    h2 {
        font-size: 15px;
        line-height: 18px;
        margin: 0 0 15px;
    }

    :is(h3, h4) span {
        margin: 0;
    }

    :is(h3, h4) {
        text-align: center;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    p span {
        white-space: nowrap;
    }

    h3 {
        font-size: 18px;
        line-height: 24px;
        margin: 0 0 15px;
    }

    h4 {
        font-size: 18px;
        line-height: 23px;
        margin: 0 0 15px;
    }

    :is(header, article, footer, .top) {
        padding: 16px;
    }

    :is(.item, .item2) p {
        float: none !important;
    }

    :is(.item, .item2) {
        display: flex;
        gap: 25px;
    }

    :is(article, footer) {
        background: #044783;
    }

    .top {
        background: #0361A9;
        margin: 16px 0;
        width: auto;
        border-radius: 10px;
    }

    .text {
        padding: 0;
    }

    .text p {
        text-decoration: underline;
    }

    .line {
        text-align: left;
        text-decoration: none;
    }

}

@media only screen and (max-width:500px) {
    header {
        flex-direction: column;
        gap: 15px
    }

    footer {
        flex-direction: column;
        gap: 16px;
    }

    footer p {
        text-align: center;
    }
    footer .line{text-align: center;}
}