@charset "utf-8";

/* Standard */
:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    font: 1em/1.3em Arial, "Segoe UI", Calibri, sans-serif;
    color: #000;
}

#wrapper {
    position: relative;
    margin: 1rem auto;
    overflow: hidden;
    max-width: 565px;
    border: solid 4px #F5C8B7;
    background: #F5C8B7;
}

p {
    padding-bottom: 0.5rem;
}

h1 {
    margin: 0rem 0rem 0.6rem;
    font-size: 1.250em;
    line-height: 1.4;
}

h1+p {
    padding-bottom: 0.7rem;
}

h2 {
    font-size: 1em;
    line-height: 1.3;
    font-weight: 400;
}

li .color {
    color: #F08057;
}

.center {
    text-align: center;
    color: #F08057;
    font-size: 1.188em;
    line-height: 1.3;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

ol {
    padding: 0 0 0.5rem 1rem;
    margin: 0;
    font-weight: 700;
}

ol li span:first-of-type {
    width: 140px;
    display: inline-block;
}

header p {
    font-weight: 700;
    font-size: 1.063em;
    padding: 0.5rem 2rem;
    color: #F08057;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, -1px -1px 0 #fff, 1px 0px 0 #fff, 0px 1px 0 #fff, -1px 0px 0 #fff, 0px -1px 0 #fff;
}

article {
    padding: 0.5rem 2rem 0;
    position: relative;
    background: #fff;
}

figure {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
}

.big {
    font-size: 1.188em;
}

footer p span:first-of-type {
    display: block;
    font-size: 1.188em;
}

footer p {
    font-size: 1.375em;
    line-height: 1.3;
    padding: 0.5rem 2rem;
}

img {
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width:564px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    header p,
    footer p {
        padding: 0.5rem 1rem;
    }
    footer p{
        font-size: 1.125em;
        line-height: 1.3;
    }

    article {
        padding: 0.5rem 1rem;
    }

    article br {
        display: none;
    }

    figure {
        display: flex;
        justify-content: center;
        position: static;
        margin: 0 0 0.5rem;
    }

    p :is(span, a) {
        display: inline-block;
    }
}