@charset "utf-8";

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/raleway-v28-latin-700.eot');
    src: local(''), url('../fonts/raleway-v28-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/raleway-v28-latin-700.woff2') format('woff2'), url('../fonts/raleway-v28-latin-700.woff') format('woff'), url('../fonts/raleway-v28-latin-700.ttf') format('truetype'), url('../fonts/raleway-v28-latin-700.svg#Raleway') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font: 400 1em/1.3em Arial, sans-serif;
}

#wrapper {
    position: relative;
    max-width: 740px;
    margin: 1rem auto;
    outline: 10px solid #CE4027;
    border: 5px solid #EE1F2B;
    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: 2.7rem 0 2.7rem;
    font-family: Calibri, sans-serif;
    font-size: 1.6em;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.background {
    background: #fff;
    text-align: center;
    padding: 0.5rem 0.75rem;
    margin: 0 -0.75rem 0.75rem;
}

.flex, .title {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

header p {
    text-align: center;
    position: absolute;
    left: 22%;
    bottom: 15rem;
}

main {
    display: flex;
    justify-content: space-between;
    background: #FAC9C6;
    align-items: flex-end;
    padding: 0.5rem 0.75rem;
    position: relative;
}

main:before {
    position: absolute;
    right: 32.1%;
    top: 0;
    height: 100%;
    width: 2px;
    content: "";
    background: #fff;
}

header {
    background: #fff;
    padding: 1rem 1rem 1rem 1.5rem;
}

article {
    width: 470px;
}

footer {
    padding: 0.5rem 0;
    width: 210px;
}

footer p small {
    display: block;
    line-height: 1.2;
}

footer p {
    text-align: center;
}

@media only screen and (max-width:739px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p {
        hyphens: auto;
        text-align: center;
    }

    p a, span {
        display: inline-block;
    }

    header p {
        position: static;
    }

    header br, article br, main::before,.hide_m {
        display: none;
    }

    header {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        padding: 0.5rem 0.75rem 0;
    }

    main {
        flex-direction: column;
    }

    article, footer {
        width: 100%;
    }

    @media only screen and (max-width:440px) {
        .title {
            justify-content: center;
            padding-bottom: 1rem;
        }

        h1 {
            margin: 0 0 1rem;
        }

    }
