@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 700px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #385B83 url('../images/bg.jpg') top left no-repeat;
    overflow: hidden;
    padding: 0;
}
p {
    padding-bottom: 0.75rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: underline;
}
img {
    max-width: 100%;
    vertical-align: middle;
    height: auto;
}
h1 {
    margin: 0.5rem -0.5rem 1rem;
    font-size: 1.625em;
    line-height: 1.3em;
    padding: 1rem;
    width: fit-content;
    text-transform: uppercase;
    border-radius: 0.75rem;
    color: #1A3A58;
}
h2 {
    font-size: 1em;
    line-height: 1.3em;
    margin-bottom: 0;
}
ul {
    padding: 0 0 0.5rem;
    list-style: none;
    font-weight: bold;
}
li {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1rem;
}
article {
    padding: 0 3.5rem;
    margin: -2.8rem 0 2.5rem;
    position: relative;
    z-index: 2;
}
article p {
    font-size: 1.5em;
}
.ups {
    text-transform: uppercase;
}
footer {
    display: flex;
    justify-content: center;
    gap: 1rem 2rem;
    align-items: flex-start;
    padding: 1rem 1rem 0.5rem;
    flex-wrap: wrap;
}
footer figure{
    margin-top: -1.5rem;
}
footer figure img{
    opacity: -1;
}
.flex {
    gap: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
footer p {
    color: #254E77;
    padding: 0;
    font-size: 0.8em;
    line-height: 1.3em;
}
@media only screen and (max-width:699px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }
    p {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
    article {
        padding: 1rem;
        margin: 0;
        background: linear-gradient(to right, #2A4767, #fff);
    }
    footer {
        padding: 1rem;
        margin: 0;
        background: #D3D9E3;
    }
      footer figure{
        margin: 0;
      }
    footer figure img{
         opacity: 1;
    }
    h1{
        background: #D3D9E3;
        padding: 1rem;
        width: auto;
        text-align: center;
    }
}
@media only screen and (max-width:480px) {
    h1 {
        font-size: 1.25em;
        line-height: 1.3;
    }
}