@charset "utf-8";

@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-slab-v24-latin-700.eot');
    src: local(''), url('../fonts/roboto-slab-v24-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-slab-v24-latin-700.woff2') format('woff2'), url('../fonts/roboto-slab-v24-latin-700.woff') format('woff'), url('../fonts/roboto-slab-v24-latin-700.ttf') format('truetype'), url('../fonts/roboto-slab-v24-latin-700.svg#RobotoSlab') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    font: 700 1.063em/1.4em "Segoe UI", Arial, sans-serif;
    color: #fff;
}

#wrapper {
    position: relative;
    margin: 1rem auto;
    overflow: hidden;
    max-width: 580px;
    border: solid 4px #2DBCA3;
    background: #9F1C51 url('../images/bg.jpg') bottom right no-repeat;
}

p {
    padding-bottom: 0.5rem;
}

h1 {
    margin: 0.5rem 0 0.5rem 1rem;
    font-size: 1.1em;
    line-height: 1.3;
}

h1:before {
    content: "\2022";
    font-size: 1em;
    margin: -1px 0 0 -1rem;
    float: left;
}

:is(h3, .link, h2 span) {
    font-family: 'Roboto Slab', "Time New Roman", serif;
    font-weight: 700;
}

h2 span, h3 {
    text-transform: uppercase;
}

h2 {
    font-size: 1.188em;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

h3 {
    font-size: 1.7em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

header {
    position: relative;
}

.link {
    color: #FFDA00;
    font-size: 0.875em;
    line-height: 1.3;
}

.left {
    padding-bottom: 0;
}

.flex {
    display: flex;
    flex-wrap: wrap;
   margin-top: -0.5rem;
}

.flex span {
    padding-right: 0.7rem;
}

header img {
    display: block;
}

article {
    padding: 0 1rem;
}

footer {
    position: absolute;
    right: 0.75rem;
    bottom: 0.5rem;
}

figure {
    display: flex;
    justify-content: center;
}

img {
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width:579px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }

    header::before {
        display: none;
    }

    .hide_m {
        display: none;
    }

    article {
        background-image: none;
    }

    footer {
        position: static;
        background: #F47921;
        padding: 1rem 1rem 0.75rem;
    }

    footer p {
        text-align: center;
    }
}