@charset "utf-8";
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-pro-v21-latin-regular.eot');
    src: local(''),
        url('../fonts/source-sans-pro-v21-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'),
        url('../fonts/source-sans-pro-v21-latin-regular.woff') format('woff'),
        url('../fonts/source-sans-pro-v21-latin-regular.ttf') format('truetype'),
        url('../fonts/source-sans-pro-v21-latin-regular.svg#SourceSansPro') format('svg');
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/source-sans-pro-v21-latin-700.eot');
    src: local(''),
        url('../fonts/source-sans-pro-v21-latin-700.eot?#iefix') format('embedded-opentype'),
        url('../fonts/source-sans-pro-v21-latin-700.woff2') format('woff2'),
        url('../fonts/source-sans-pro-v21-latin-700.woff') format('woff'),
        url('../fonts/source-sans-pro-v21-latin-700.ttf') format('truetype'),
        url('../fonts/source-sans-pro-v21-latin-700.svg#SourceSansPro') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1em/1.5em 'Source Sans Pro', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 490px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #141F48;
    overflow: hidden;
}
:is(h1, h2, strong) {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: 1.5rem 0;
    padding-left: 2rem;
    font-size: 1.313em;
    line-height: 1.3;
    background: url('../images/icon_bg.jpg') no-repeat 0 2px;
}
h1 span {
    font-size: 1rem;
}
h2 {
    font-size: 1.385em;
    line-height: 1.3;
    background: #FBDC60;
    color: #171F48;
    width: fit-content;
    border-radius: 0 32px 32px 0;
    padding: 0.25rem 2.25rem 0.25rem 0.5rem;
    margin-bottom: -10px;
    position: relative;
}
.ct {
    border-radius: 32px;
    padding: 0.25rem 1.5rem;
}
.mg {
    margin: 0 0 0.35rem -1rem;
}
ul {
    list-style: none;
    background: #FFFFFF;
    padding: 1rem 1rem 0.5rem 0.5rem;
    border-radius: 0 20px 20px 0;
}
li {
    padding: 0 0 0 1.5rem;
    background: url('../images/icon_bg_list.jpg') no-repeat 0 2px;
    color: #171F48;
    position: relative;
    z-index: 9999;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
header {
    padding: 1rem 2rem 1rem 3rem;
    display: flex;
    justify-content: flex-end;
    flex-flow: row-reverse;
    gap: 0 2rem;
}
.pb {
    padding-bottom: 0.125rem;
}
.hl {
    background: #0954A4;
    padding: 0.5rem;
    border-radius: 4px;
    margin: 0 1rem 1rem;
    text-align: center;
    font-size: 1.313em;
    line-height: 1.3;
}
.box {
    margin: 0 2rem 0.5rem -1rem;
}
article {
    padding: 0 1rem;
}
footer {
    border-bottom: 30px solid #FADB5F;
}
footer>figure {
    position: absolute;
    left: 10.5rem;
    bottom: 0.25rem;
    z-index: 999;
}
.img {
    position: absolute;
    right: 0;
    bottom: 0;
}
.social {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 1.5rem;
    bottom: 1rem;
    z-index: 999;
}
.social p {
    font-size: 0.7em;
    text-align: center;
    padding-bottom: 0.25rem;
}
.sociallink {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
figure {
    margin: 0;
}
@media only screen and (max-width:489px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    :is(p, li) {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    header {
        padding: 1rem;
    }
    .box {
        margin-right: 0;
    }
    .social, .img, footer>figure {
        position: static;
    }
    footer>figure {
        display: flex;
        justify-content: center;
        margin: 1rem;
    }
    .img {
        display: flex;
        justify-content: flex-end;
    }
    h2{
        font-size: 1.313em;
    }
}