@charset "utf-8";
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''),
        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-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''),
        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;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1em/1.25em 'Roboto', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 725px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff url('../images/bg.jpg') no-repeat;
    overflow: hidden;
    padding: 2rem 3rem 6rem;
    height: 415px;
}
: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.35rem;
}
h1 {
    margin: 0 0 0.35rem;
    font-size: 1.7em;
    line-height: 1.1;
}
h1 span {
    font-size: 1rem;
}
h2 {
    font-size: 1.313em;
    line-height: 1.3;
    background: #DFEDF8;
    width: fit-content;
    padding: 0.5rem 1.25rem;
    border-radius: 16px;
    text-transform: uppercase;
    color: #159EDA;
}
ul {
    padding: 0 0 0.7rem 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
li {
    position: relative;
    font-weight: 700;
    background: #DCDDDF;
    padding: 0.35rem 0.75rem 0.35rem 1.25rem;
    border-radius: 10px;
    width: fit-content;
}
li:before {
    content: "\2022";
    font-size: 1rem;
    position: absolute;
    left: 0.5rem;
    top: 5px;
    color: #159EDA;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
header {
    padding: 0 0 0.25rem;
    display: flex;
    align-items: flex-end;
    gap: 0 4rem;
}
article>p:last-of-type{
    padding-left: 0.5rem;
}
footer {
    position: absolute;
    right: 2.5rem;
    bottom: 4.8rem;
}
figure {
    margin: 0;
}
@media only screen and (max-width:724px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
        height: auto;
        padding: 1rem;
        line-height: 1.3;
    }
    :is(p, li) {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    .hide_m{
        display: none;
    }
    header{
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    article>p:last-of-type{
        background: #DFEDF8;
        padding: 0.5rem;
        margin-bottom: 1rem;
    }
    footer{
        position: static;
        display: flex;
        justify-content: center;
    }
}
