@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-slab-v34-latin-regular.eot');
    src: url('../fonts/roboto-slab-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-slab-v34-latin-regular.woff2') format('woff2'), url('../fonts/roboto-slab-v34-latin-regular.woff') format('woff'), url('../fonts/roboto-slab-v34-latin-regular.ttf') format('truetype'), url('../fonts/roboto-slab-v34-latin-regular.svg#RobotoSlab') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-slab-v34-latin-700.eot');
    src: url('../fonts/roboto-slab-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-slab-v34-latin-700.woff2') format('woff2'), url('../fonts/roboto-slab-v34-latin-700.woff') format('woff'), url('../fonts/roboto-slab-v34-latin-700.ttf') format('truetype'), url('../fonts/roboto-slab-v34-latin-700.svg#RobotoSlab') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font: 400 1em/1.3em 'Roboto Slab', 'Times New Roman', serif;
}

#wrapper {
    position: relative;
    max-width: 830px;
    margin: 1rem auto;
    border: solid 10px #CFAF79;
    background: #fff url('../images/bg.jpg') no-repeat bottom 130px right 20px;
    overflow: hidden;
    padding: 2.5rem;
}

p {
    padding-bottom: 1rem;
}

h1 {
    margin: 0 0 0.375rem;
    font-size: 1.55em;
    line-height: 1.1em;
}

h1 span {
    font-size: 1rem;
    font-weight: normal;
}

h2 {
    font-size: 1em;
    line-height: 1.3em;
}

h1,
h2,
strong {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    padding: 0 0 1rem;
    list-style: none;
}

li {
    padding-left: 0.5rem;
}

ul li:before {
    content: "\2022";
    font-size: 1em;
    float: left;
    margin: -1px 0 0 -0.5rem;
}

header {
    padding: 0 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-right: -0.5rem;
    gap: 1rem 2rem;
}

header p {
    flex: 1;
    text-align: justify;
    hyphens: auto;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.flex div {
    width: 47%;
}

.flex div:first-of-type {
    width: 50%;
}

.wid {
    width: 73%;
    position: relative;
    z-index: 2;
}

footer p {
    text-align: center;
}

@media only screen and (max-width: 829px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
    }

    header p {
        text-align: left;
        width: auto;
    }

    header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    br {
        display: none;
    }

    span {
        display: inline-block;
    }

    p,
    li {
        hyphens: auto;
    }.wid {
        width: auto;
    }
}

@media only screen and (max-width: 780px) {
    #wrapper {
        padding: 2rem;
    }

    .flex {
        display: block;
    }

    .flex div,.flex div:first-of-type {
        width: auto;
    }
}

@media only screen and (max-width: 480px) {
    #wrapper {
        padding: 1rem;
    }
}