@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: 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: 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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 500px;
    margin: 1rem auto;
    border: 1px solid #2D4295;
    overflow: hidden;
    background-color: #fff;
}

header {
font-size: 22px;
line-height: 1.2;
padding: 27px 0 0;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: #DF463A;
}

header::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 100%;
    height: 7px;
    background: #374D96;
}

article {
    padding: 8px 1.25rem 14px;
    display: flex;
    justify-content: center;
    color: #2D4295;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

article p {
    text-align: left;
    font-weight: bold;
    margin: 0;
}

footer {
 padding: 0 1rem 15px;
 font-weight: bold;
 color: #2D4295;
}
footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: #374D96;
}

footer::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;background: #DF463A;
    height: 7px;
    
}
:is(strong, h1, h2) {
    font-weight: 700;
}

h1 {
    margin: 1rem 0;
    font-size: 31px;
    line-height: 1;
    text-align: center;
}

h1 small {
    font-size: 1.375rem;
}

h2 {
    font-size: 18px;
    margin: 1rem 0;
    line-height: 22px;
}


p {
    margin: 0 0 0.75rem;
    text-align: center;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #2D4295;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
}



@media all and (max-width:499px) {
    #wrapper {
        margin: 0 auto;
        border: none;

    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

}