@charset "utf-8";
@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-3-v19-latin-regular.eot');
    src: url('../fonts/source-sans-3-v19-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-3-v19-latin-regular.woff2') format('woff2'), url('../fonts/source-sans-3-v19-latin-regular.woff') format('woff'), url('../fonts/source-sans-3-v19-latin-regular.ttf') format('truetype'), url('../fonts/source-sans-3-v19-latin-regular.svg#SourceSans3') format('svg');
}
@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/source-sans-3-v19-latin-900.eot');
    src: url('../fonts/source-sans-3-v19-latin-900.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-3-v19-latin-900.woff2') format('woff2'), url('../fonts/source-sans-3-v19-latin-900.woff') format('woff'), url('../fonts/source-sans-3-v19-latin-900.ttf') format('truetype'), url('../fonts/source-sans-3-v19-latin-900.svg#SourceSans3') format('svg');
}
@font-face {
    font-display: swap;
    font-family: 'Dancing Script';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/dancing-script-v29-latin-regular.eot');
    src: url('../fonts/dancing-script-v29-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/dancing-script-v29-latin-regular.woff2') format('woff2'), url('../fonts/dancing-script-v29-latin-regular.woff') format('woff'), url('../fonts/dancing-script-v29-latin-regular.ttf') format('truetype'), url('../fonts/dancing-script-v29-latin-regular.svg#DancingScript') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1.0625em/1.35em 'Source Sans 3', Arial, sans-serif;
    text-align: center;
}
#wrapper {
    position: relative;
    max-width: 500px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #3E4E75 url('../images/bg.jpg') top left no-repeat;
    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;
    vertical-align: middle;
}
h1 {
    font-size: 2em;
    line-height: 1.3;
}
h1 span {
    font-weight: 400;
    font-size: 0.7em;
    display: inline-block;
}
h2 {
    font: 400 1.875em/1 'Dancing Script', cursive;
    transform: rotate(-6deg);
    position: absolute;
    bottom: 3.5rem;
    left: 2rem;
}
hr {
    border: 1px solid #fff;
    margin: 0 0 0.5rem;
}
main {
    padding: 1rem;
    margin: 0 1rem 1rem;
}
footer {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 1rem;
}
@media only screen and (max-width:499px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }
    p {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
    main {
        padding: 1rem;
        margin: 0;
    }
    .hide_m {
        display: none;
    }
    h2 {
        position: static;
        transform: none;
        line-height: 1.3;
    }
    footer {
        flex-direction: column;
        align-items: center;
    }
}