@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: url("../images/lines.png")102% 60% no-repeat, url("../images/bg.png")0 0/cover no-repeat;
    padding: 1rem;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

p {
    padding-bottom: 1rem;
}

h1 {
    font-size: 1.3rem;
    text-align: center;
    padding-bottom: 1.5rem;
}

h2 {
    font-size: 1.1rem;
    text-align: center;
    padding-bottom: 1rem;
}

h3 {
    font-size: 1rem;
    font-weight: normal;
    padding-bottom: 1rem;
}

ul {
    padding: 0 0 1rem 1rem;
}

header {
    display: flex;
    align-items: end;
    gap: 1rem 2rem;
}

article {
    padding: 1.5rem 1rem 5rem;
}

footer {
    position: absolute;
    bottom: 5rem;
    right: 1.5rem;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
        background: url("../images/bg.png")0 0/cover no-repeat;

    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    header {
        flex-direction: column-reverse;
        align-items: center;
    }

    article br {
        display: none;
    }

    article {
        padding: 1.5rem 1rem 0;
    }

    footer {
        position: static;
        padding: 0 1rem;
    }
}

@media only screen and (max-width: 30rem) {
    article {
        padding: 1.5rem 0 0;
    }

    footer {
        padding: 0;
    }
}