@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 15px;
    line-height: 1.3;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid .062rem #000;
}
:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
p {
    margin: 0 0 .937rem;
}
ul {
    list-style: none;
    margin: 0 0 35px;
    padding: 0;
}
ul li {
    padding-left: 1.3rem;
}
ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .437rem;
    height: .437rem;
    background: #004F98;
    margin-left: -1.25rem;
    top: .375rem;
}
h1 {
    color: #004F98;
    margin: .937rem 0 35px;
    font-size: 33px;
    line-height: 1.3;
}
h1 span {
    font-size: 20px;
}
h2 {
    font-size: 1rem;
    color: #004F98;
    margin: 0 0 10px 0;
    font-weight: normal;
}
h3 {
    margin: 35px 0 10px;
    font-size: 1.125rem;
}
header p {
    background: #004F98;
    color: #fff;
    padding: .625rem 2.5rem;
}
article {
    padding: 10px 40px;
    background: url('../images/background.jpg') right 50% / auto no-repeat;
}
.flex {
    display: flex;
    justify-content: space-between;
}
.flex div {
    flex: 48%
}
.flex1 {
    display: flex;
    align-items: flex-end;
    column-gap: 1.562rem;
}
footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
footer p {
    background: #004F98;
    padding: 12px 40px 25px;
    margin: 0;
    color: #fff;
    width: 73%
}
@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 0;
    }
    header p {
        padding: 16px;
    }
    article {
        padding: 0 16px;
        background: #fff;
    }
    .flex1 {
        flex-flow: wrap;
        align-items: center;
    }
    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}
@media only screen and (max-width: 699px) {
    .flex {
         flex-direction: column;
    }
    .res{
         margin-bottom: 0;
    }
    footer p, .flex div {
        width: 100%
    }
    .flex1,footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    h1, h3 {
        text-align: center;
    }
    footer {
        gap: 20px;
    }
    footer p {
        padding: 10px 16px;
        text-align: center
    }
}
@media only screen and (max-width: 400px) {
    #wrapper {
        padding: .5rem;
    }
    ul {
        margin-bottom: .937rem;
    }
    h3 {
        margin-top: 0;
    }
}