@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1em/1.4em "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: url('../images/bg.jpg') no-repeat top left;
    overflow: hidden;
    padding: 2rem 2rem 3rem;
}
p {
    padding-bottom: 1rem;
}

h1 {
    margin: 0 0 0.5rem;
    font-size: 3.192em;
    line-height: 1.1;
    color: #2C6982;
}
h1 span {
    font-size: 0.6em;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0 0 2rem;
    list-style: none;
}
ul li {
    padding-left: 0.625rem;
}
ul li:before {
    content: "•";
    float: left;
    margin: 0 0 0 -0.625rem;
}
figure{
    display: none;
}
.bottom{
    padding-bottom: 3rem;
}
.task{
    width: 380px;
}
.flex {
    display: flex;
    justify-content: start;
    gap: 0 1rem;
    align-items: flex-end;
    margin-top: -0.2rem;
}
.flex p {
    padding-bottom: 0.5rem;
}
.pss p {
    text-align: right;
    font-size: 1.1em;
    line-height: 1.3em;
    color: #fff;
}
.pss {
    margin: -14rem 0 5rem;
}
footer {
  display: flex;
  justify-content: end;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem 1rem 0;
        background: #CED9EC;
    }
    .bg-res {
        background: #005E9E;
    }
    footer {
        background: #FFF;
        position: static;
        display: flex;
        justify-content: center;
    }
    footer, .bg-res {
        margin: 0 -1rem;
        padding: 1rem;
    }
    .pss {
        margin: 0;
    }
    .bg-res p {
        text-align: center !important;
        color: #fff;
    }
    .flex {
        justify-content: center;
    }
    p :is(span, a) {
        display: inline-block;
    }
    :is(ul,h1) br,.hide_m {
        display: none;
    }
    h1{
        font-size: 2em;
    }
    h1+p,ul{
        padding-bottom: 1rem;
    }
    figure{
        display: block;
        margin-bottom: 0.7rem;
    }
    .task{
        width: 100%;
    }
}