﻿
:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.25rem;
    font-size: 15px;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #262626;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 750px;
    margin: 1rem auto;
    border: 10px solid #268375;
    overflow: hidden;
    padding: 10px 30px;
    background-color: #E2E2E2;
}

header {
    display: flex;
    gap: 0;
}

header :is(p, p a) {
    color: #2b6f63 !important;
    font-weight: bold;
    font-size: 20px;
}

article {
    margin: 0 0 10px;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.flex {
    background: #F3F3F5;
    width: 48%;
    padding: 10px 10px 0;
}

.flex .green {
    position: absolute;
    top: 83px;
    right: -14px;
    font-size: 13px;
    text-align: center;
    -ms-transform: rotate(-9deg);
    -webkit-transform: rotate(-9deg);
    transform: rotate(-16deg);
}

footer {
    background: #F3F3F5;
    padding: 37px 1rem 10px;
    position: relative;
}

:is(strong, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 1rem 0 3px;
    font-size: 1rem;
    line-height: 21px;
    font-weight: 400;
}

h2 {
    font-size: 21px;
    margin: 1rem 0;
    line-height: 26px;
    text-align: center;
    color: #6a686c;
}

h2 a {
    color: #6a686c !important;
}

h3 {
    font-size: 18px;
    margin: 5px 0 1rem;
    line-height: 1.125rem;
}

h4 {
    font-size: 1rem;
    text-align: center;
    font-weight: normal;
    font-style: italic;
    color: #268375;
}

p {
    margin: 0 0 1rem;
}

.green {
    color: #268375;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #262626;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    margin: 0 0 1rem 10px;
    list-style: none;
}

.ul li {
    margin-bottom: 4px;
}

ul li {
    padding-left: 1.25rem;
}

ul li:before {
    content: "\2010";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 17px;
    text-indent: -1.25rem;
}

img {
    max-width: 100%;
}

.title {
    border: 2px solid #c1a867;
    padding: 0 1rem;
    margin: 0 0 1rem;
}

.color {
    color: #c1a867;
    font-style: italic;
}

.text {
    position: absolute;
    top: -100px;
    right: 0;
    background: #DCC387;
    width: 125px;
    height: 125px;
    display: flex;
    padding: 5px;
    align-items: center;
    border-radius: 100%;
    transform: rotate(15deg);
}

.text p {
    text-align: center;
    font-weight: bold;
    color: #FFF;
    margin: 0;
    line-height: 21px;
    font-size: 14px;
}

.partner {
    position: absolute;
    top: 5px;
    right: 26px;
}

@media all and (max-width:748px) {
    #wrapper {
        padding: 1rem;
        margin:0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    article {
        display: block;
    }

    .flex {
        width: 100%;
        padding: 10px;
    }

    .flex .green {
        position: static;
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    header {
        flex-wrap: wrap;
        column-gap: 1rem;
        row-gap: 0;
        justify-content: center;
    }

    .text {
        position: static;
        margin: 0 auto;
        transform: none;
    }

    .partner {
        position: static;
        display: flex;
        justify-content: center;
        margin: 1rem 0;
    }

    footer {
        padding-top: 16px;
    }

}

@media all and (max-width:480px) {
    footer p {
        text-align: center;
    }

}