@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1em/1.5em Segoe, "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 625px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #007848;
    overflow: hidden;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 0.5rem 0;
    font-size: 2.55em;
    line-height: 1.1;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
}
h3 {
    font-size: 1.4em;
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 1rem;
}
ul {
    padding: 0 0 1.5rem;
    list-style: none;
}
li {
    padding: 0 0 0 0.7rem;
    position: relative;
}
li:before {
    content: "\2022";
    font-size: 1rem;
    position: absolute;
    left: 0;
    top: 0;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.flexbox {
    background: #80C13F;
    display: flex;
    gap: 0 5rem;
    padding: 1rem 3rem;
    position: relative;
}
.flexbox p {
    font-size: 1.188em;
    line-height: 1.2;
    padding-bottom: 0.5rem;
}
.flexbox>p {
    font-size: 1.5em;
    line-height: 1.2;
}
.title {
    position: relative;
}
.title:before {
    content: '';
    position: absolute;
    top: 0;
    right: -39px;
    width: 4px;
    height: 100%;
    background: #fff;
}
main {
    display: flex;
    justify-content: space-between;
}
article {
    padding: 1.5rem 1rem 0 3rem;
    width: 400px;
}
footer {
    padding: 0.5rem 1rem 1rem;
    margin: 0.5rem 0;
    width: 220px;
    background: #F9A21C;
}
figure {
    margin: 0;
    display: flex;
    justify-content: center;
}
@media only screen and (max-width:624px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p a, span {
        display: inline-block;
    }
    .title:before {
        display: none;
    }
    .flexbox {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    .flexbox :is(p, h1), footer :is(p, h3) {
        text-align: center;
    }
    main {
        flex-direction: column;
    }
    article, footer {
        padding: 1rem;
        width: auto;
        margin: 0;
    }
    h1 {
        font-size: 2em;
    }
}