@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #333333;
    font: 400 1em/1.3em 'Roboto Condensed', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 600px;
    margin: 1rem auto;
    border: 2px solid #007E3D;
    background: #50311B url('bg.jpg') no-repeat;
    background: cover;
    overflow: hidden;
}
:is(h1, h2, strong) {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: 0.75rem 0 1.5rem;
    font-size: 3em;
    line-height: 1.1;
    color: #627179;
     font-family: "Caveat", cursive;
}
h1 span {
    font-size: 1rem;
}
h2 {
    font-size: 1.188em;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}
h3 {
    color: #007E3D;
    font-size: 1.25em;
    line-height: 1.3;
    margin-bottom: 1rem;
}
ul {
    padding: 0 0 0.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;
}
main {
    display: block;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 2rem 1rem;
    margin: 0.5rem 2.5rem;
}
.flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 1rem;
}
article {
    padding: 0;
}
footer {
    padding: 0 0.5rem 0.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
@media only screen and (max-width:599px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    :is(p, li) {
        hyphens: auto;
    }
    p :is(a, span) {
        white-space: nowrap;
    }
    .hide_m {
        display: none;
    }
    h1{
        font-size: 2.3em;
    }
    main{
        margin: 0.5rem;
        padding: 0.5rem;
    }
}
