@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000000;
    font: 400 1em/1.4em "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 600px;
    margin: 1rem auto;
    background: #fff url('../images/bg.jpg') top left no-repeat;
    overflow: hidden;
    padding: 0;
    height: 678px;
}
p {
    padding-bottom: 0.5rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
h1, h2 {
    margin: 0 0 0.5rem;
    font-size: 1.85em;
    line-height: 1.1em;
    position: absolute;
    top: 13rem;
}
h1 {
    text-align: right;
    left: auto;
    right: 2rem;
    width: 195px;
    top: 11.5rem;
}
:is(h1, h2) span {
    color: #FFF327;
}
ul {
    padding: 0 0 0.5rem;
    list-style: none;
}
li {
    padding-left: 1.75rem;
}
li:before {
    content: url('../images/icon.jpg');
    float: left;
    margin: -1px 0 0 -1.75rem;
}
header {
    opacity: 0;
}
article {
    padding: 0 2rem;
}
.flex {
    display: flex;
    gap: 1rem;
}
footer {
    position: absolute;
    bottom: 0.25rem;
    right: 0.5rem;
}
@media only screen and (max-width:599px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        height: 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;
    }
    h1, h2 {
        text-align: center;
        width: auto;
        position: static;
        margin-bottom: 1rem;
    }
    :is(h1, h2) br {
        display: none;
    }
    header {
        opacity: 1;
    }
    .flex {
        flex-direction: column;
        align-items: center;
    }
    footer {
        position: static;
        display: flex;
        justify-content: center;
        padding: 1rem;
    }
}