@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #FFF;
    font:1em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 750px;
    min-width: 250px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: url('bg.jpg') no-repeat top left;
    overflow: hidden;
    padding: 0;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 0 0 1rem;
    font-size: 1em;
    line-height: 1.3;
    font-weight: normal;
}
h1 span {
    font-size: 0.7em;
}
h2 span{
    color: #FFF100;
}
h2 {
    font-size: 1.3em;
    line-height: 1.3;
    margin-bottom: 0;
    text-transform: uppercase;
}
a {
    color: #FFF;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
header figure{
    position: absolute;
    top: 2rem;
    right: 2rem;
}
article{
    padding: 0 2.5rem 1.5rem ;
}
.flex{
    display: flex;
    justify-content: start;
    gap: 0 1rem;
    align-items:  flex-end;
}
.flex p{
    padding-bottom: 0;
}
footer{
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
}
@media only screen and (max-width:749px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        height: auto;
        background: #3D3939;
    }
    p {
        text-align: left;
    }
    h1{
        text-align: center;
        margin: 1rem 0;
    }
    br{
        display: none;
    }
}
@media only screen and (max-width:590px){
    header figure{
        width: 170px;
    }
    footer{
        position: static;
        padding: 0 1rem 1rem;
    }
    h2{
        text-align: center;
    }
    .flex{
        align-items:  center;
        justify-content: center;
    }
}
@media only screen and (max-width:400px){
    header figure{
        width: 130px;
        top: 1rem;
        right: 1rem;
    }
}