@charset "utf-8";
@font-face {
    font-display: swap;
    font-family: 'Anton';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/anton-v27-latin-regular.eot');
    src: url('../fonts/anton-v27-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/anton-v27-latin-regular.woff2') format('woff2'), url('../fonts/anton-v27-latin-regular.woff') format('woff'), url('../fonts/anton-v27-latin-regular.ttf') format('truetype'), url('../fonts/anton-v27-latin-regular.svg#Anton') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #3E3E3F;
    font: 400 1em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff;
    overflow: hidden;
    padding: 0;
}
p {
    padding-bottom: 0.5rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
h1 {
    font: 400 4em/1.2 'Anton', Arial, sans-serif;
    text-align: center;
    position: relative;
}
h1 span {
    position: absolute;
    padding: 0.125rem 0.375rem;
    border: 1px dashed #3E3E3F;
    font-size: 1.125rem;
    border-left: 0;
    border-radius: 0 2rem 2rem 0;
    bottom: 0.75rem;
    left: 18.5rem;
    white-space: nowrap;
}
h2 {
    font-size: 1.75em;
    line-height: 1.3em;
    text-align: center;
}
article {
    padding: 1rem 4rem;
}
.color, h1 {
    color: #C9313A;
}
.flex {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    margin: -1rem 0 1rem;
}
.logo {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.midle {
    vertical-align: middle;
}
.logo p {
    font-size: 0.9375rem;
    line-height: 1.3;
}
.abs {
    transform: rotate(-90deg);
    position: absolute;
    font-size: 0.75rem;
    line-height: 1.3;
    right: -1.25rem;
    bottom: 5rem;
}
figure {
    margin-left: 7rem;
}
figure a {
    position: relative;
    z-index: 2;
}
figcaption {
    width: 183px;
    height: 98px;
    background: url('../images/bg.jpg');
    font-size: 2em;
    line-height: 1.2;
    text-align: center;
    color: #fff;
    transform: rotate(-5deg);
    padding: 0.25rem;
    margin: 0 2.5rem -0.5rem -7rem;
}
footer p {
    padding: 0.5rem 4rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: #CA343B;
    color: #fff;
    font-size: 1.3125em;
    line-height: 1.3;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
    .flex, .logo {
        flex-direction: column;
        align-items: center;
    }
    .flex {
        margin: 1rem 0;
    }
    .logo p {
        text-align: center;
    }
    .abs {
        position: static;
        transform: none;
        text-align: center;
    }
}
@media only screen and (max-width:480px) {
    h1 {
        font-size: 3em;
        line-height: 1.3;
    }
    h1 span {
        position: static;
        border-left: inherit;
        border-radius: 2rem;
    }
    article {
        padding: 1rem;
    }
}