@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    font: 1em/1.3em "Roboto", serif;
    color: #000;
}

#wrapper {
    position: relative;
    margin: 1rem auto;
    overflow: hidden;
    max-width: 855px;
    border: solid 4px #BED630;
    background: #fff url('bg.jpg') no-repeat top;
    padding: 1rem 1.5rem 0;
}

p {
    padding-bottom: 1rem;
}

section p span {
    display: block;
}

h1 {
    margin: 1rem 0 8px;
    font-size: 3.4em;
    line-height: 1.1em;
    font-weight: 800;
}

h1 span {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.3;
    float: right;
    margin-top: 2rem;
}

h2 {
    font-size: 1em;
    line-height: 1.3;
    text-decoration: underline;
    padding-bottom: 3px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

ul {
    padding: 0 0 1rem;
    list-style: none;
}

li {
    padding: 0 0 0 16px;
    line-height: 1.1;
}

ul li:before {
    content: "\2022";
    font-size: 1em;
    margin: 0 0 0 -16px;
    float: left;
    color: #BED630;
}

header {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
}

article>.right {
    text-align: right;
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-left: 160px;
    padding-bottom: 0.5rem;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-end;
    padding-top: 5rem;
}
.left {
    width: 50%;
}
.right {
    width: 384px;
}
article {
    padding: 0;
}
.lts {
    letter-spacing: -0.3px;
}
.small {
    font-size: 0.9375em;
    letter-spacing: -0.7px;
}
footer {
    position: absolute;
    right: 1rem;
    top: 19.75rem;
    width: 373px;
    font-size: 0.95em;
}

footer p {
    padding-bottom: 0.5rem;
    text-align: justify;
    text-align-last: justify;
    line-height: 1.3;
}
footer :is(span, a) {
    display: inline-block;
}
img {
    max-width: 100%;
    height: auto;

}

@media only screen and (max-width:854px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
        padding: 1rem 1rem 0;
    }


    p :is(a, span) {
        display: inline-block;
    }

    .flexbox {
        padding: 0;
    }

    .hide_m {
        display: none;
    }
    .inl {
        display: inline;
    }
    .small, .lts {
        font-size: 1em;
        letter-spacing: 0;
    }
    h1 {
        text-align: center;
        font-size: 1.875em;
    }
    h1 span {
        margin: 0;
        float: none;
    }

    header {
        display: flex;
        justify-content: center;
        padding-bottom: 1rem;
        position: static;
    }

    article>.right {
        text-align: center;
    }

    article section {
        background: #BED630;
        padding: 1rem 1rem 0;
    }

    .flex {
        padding: 0 0 1rem;
        text-align: center;
    }
    .left, .right {
        width: auto;
    }

    footer {
        position: static;
        background: #BED630;
        padding: 1rem 1rem 0;
        width: auto;
    }
    footer p {
        text-align: left;
        text-align-last: left;
    }
}

@media only screen and (max-width:365px) {
    .flex {
        flex-direction: column-reverse;
    }
}