@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #2A7FBB;
    font: 400 1.125em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 595px;
    margin: 1rem auto;
    border: none;
    background: #fff;
    overflow: hidden;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: 0 0 0.5rem;
    font-size: 1.4em;
    line-height: 1.1;
    position: relative;
}
h1 span {
    font-size: 1.125rem;
    font-weight: 400;
}
h1:before {
    content: "\2022";
    font-size: 1.5rem;
    padding-right: 0.5rem;
    color: #EE6730;
}
h2 {
    font-size: 1.125em;
    line-height: 1.3;
    color: #fff;
}
h3 {
    font-size: 1.4em;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
main {
    display: block;
    border: 2px solid #D8E2EF;
    border-top: none;
    padding: 0.75rem 2rem;
}
header {
    padding: 1rem 2rem;
    background: #2A7FBB;
}
.text {
    background: #D8E2EF;
    padding: 0.5rem 1.5rem 0.5rem 2rem;
    margin: 0 0 0.5rem -2rem;
    width: fit-content;
}
.apply {
    width: fit-content;
    background: #EE6730;
    color: #fff;
    padding: 0.5rem;
    border: 2px solid #fff;
    font-weight: 700;
    transform: rotate(-5deg);
    position: absolute;
    left: 14rem;
    bottom: 1.25rem;
    box-shadow: 3px 4px 4px 1px #B7B6B6;
}
footer {
    position: absolute;
    right: 2rem;
    bottom: 1.5rem;
}
@media only screen and (max-width:594px) {
    #wrapper {
        margin: 0 auto;
    }
    :is(p, li) {
        hyphens: auto;
    }
    p, h1, h2, h3 {
        text-align: center;
    }
    p a, span {
        display: inline-block;
    }
    main {
        padding: 1rem;
        border: none;
    }
    .apply {
        margin: 0.5rem auto 1rem;
    }
    footer, .apply {
        position: static;
        display: flex;
        justify-content: center;
    }
    .text {
        padding: 0.5rem 1rem;
        margin: 0 -1rem 0.5rem;
        width: auto;
    }
}