@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 0.875em/1.3em 'Open Sans', sans-serif;
}
#wrapper {
    position: relative;
    max-width: 930px;
    min-width: 250px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff url('bg.jpg') no-repeat 306px 90px;
}
p {
    padding-bottom: 1rem;
}
:is(h1, h2, h3, h4) {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
}
a u {
    color: #0000ff;
}
h1 {
    margin: 0 0 0.5rem;
    padding: 16px 20px 0 36px;
    font-size: 1.7em;
    line-height: 1.1;
    position: absolute;
    top: 99px;
    left: 333px;
}
h2 {
    font-size: 1.2em;
    line-height: 1.3;
    margin: 0 -1rem 1rem -3rem;
    padding: 0.2rem 1rem 0.2rem 6.5rem;
    background: #FBBA00;
}
h3 {
    font-size: 1.188em;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
h4 {
    padding: 0.5rem;
    position: absolute;
    top: 155px;
    left: 316px;
    margin-bottom: 1rem;
}
a {
    color: #0000FF;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
li {
    padding-left: 1.5rem;
}
ul li:before {
    content: "#";
    font-size: 1.2em;
    float: left;
    margin: -2px 0 0 -1.5rem;
}
header {
    padding: 5rem 6rem 4rem;
}
article {
    padding: 0 1rem 0 3rem;
}
article>p:last-of-type {
    padding: 0 0 1rem;
}
article>p:last-of-type span {
    display: block;
    text-align: center;
    padding-right: 6rem;
}
footer {
    padding: 0.9rem 6rem 1rem;
    background: #000;
}
footer p {
    text-align: justify;
    hyphens: auto;
}
footer :is(p, p a, h3) {
    color: #fff;
}
footer p {
    font-size: 0.938em;
    line-height: 1.3;
}
footer p:last-of-type {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    text-align: right;
}
@media only screen and (max-width:914px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        height: auto;
        background: #fff;
    }
    article br {
        display: none;
    }
    p, footer p {
        text-align: left;
    }
    h1,h4 {
        margin: 0 auto 0.5rem;
        padding: 0.5rem 1.5rem;
        text-align: center;
        background: #FAB900;
        position: static;
        width: fit-content;
    }
 
    h2 {
        margin: 0 -1rem 0.7rem;
        padding: 0.2rem 1rem;
    }
    header {
        padding: 1rem;
    }
    article {
        padding: 0 1rem;
    }
    article>p:last-of-type span {
        padding: 0;
        display: inline;
    }
    footer {
        padding: 1rem;
    }
    footer p:last-of-type {
        padding-bottom: 0;
    }
    footer p:last-of-type{
        position: static;
        text-align: left;
    }
}