@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #FFF;
    font: 1em/1.3em '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 2rem;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 0 0 0.5rem;
    font-size: 1.5em;
    line-height: 1.1;
}
h2 {
    font-size: 3em;
    line-height: 1;
    margin-bottom: 1rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #5788AB;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
header{
    position: absolute;
    top: 3rem;
    right: 3rem;
}
 article figure{
    display: none;
 }
 footer{
    display: flex;
    justify-content: start;
    gap: 0 1rem;
    align-items: flex-end;
 }
 footer p{
    font-size: 1.2em;
    line-height: 1.3em;
    padding-bottom: 0;
 }
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
        background: linear-gradient(to bottom, #C7DDE8, #A3BED1);
    }
    p :is(a,span){
        display: inline-block;
    }
    header{
        position: static;
        display: flex;
        justify-content: center;
    }
    article figure{
        display: flex;
        justify-content: center;
        margin: 1rem -1rem;
    }
    footer{
        justify-content: center;
    }
    br{
        display: none;
    }
    h2{
        font-size: 1.8em;
    }
}