@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 0.938rem;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 60rem;
    margin: 1rem auto;
    overflow: hidden;
    background: url("../images/bg.jpg")0 0 /100% 100% no-repeat;
    padding: 3rem 3rem 1rem 2rem;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}


p {
    padding-bottom: 1rem;
}

p,
ul {
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    text-align: justify;
}

h1 {
    font-size: 2rem;
    line-height: 1.2;
    color: #0072b1;
    padding-bottom: 1rem;
}

h2 {
    font-size: 0.938rem;
    padding-bottom: .5rem;
}

ul {
    padding: 0 0 1rem 3rem;
}

header {
    display: flex;
    gap: 1rem;
}

header>a {
    flex: 0 0 215px;
}

.flex {
    display: flex;
    gap: 1rem;
}

.flex>div:first-of-type {
    flex: 0 0 10rem;
}

footer {
    border-top: 1px solid #000;
    display: flex;
    padding: .5rem 0;
}

footer p {
    padding-bottom: 0;
    font-size: .875rem;
}

footer>div:first-of-type {
    color: #0072b1;
    flex: 0 0 16rem;
}

.line {
    width: 1px;
    background-color: #000;
    margin: 0 1.5rem;
}

@media only screen and (max-width: 59.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
        padding: 1.5rem;
    }

    p,
    ul {
        text-align: left;
    }

}

@media only screen and (max-width: 50rem) {
    #wrapper {
        padding: 1rem;
    }

    header {
        flex-direction: column-reverse;
        align-items: center;
    }

    .flex,
    footer {
        display: block;
    }

    h1 br,
    .line {
        display: none;
    }

    footer>div:first-of-type {
        padding-bottom: .5rem;
    }
}

@media only screen and (max-width: 35rem) {
    h1 {
        text-align: center;
    }
}