@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #6D6F70;
    font: bold 1.5em/1.13em Calibri, Arial, sans-serif;
}
h2, h3, strong {
    font-weight: 700;
}
h1, footer strong {
    font-weight: 900;
}
#wrapper {
    position: relative;
    max-width: 930px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #D3E3EB;
    overflow: hidden;
    padding: 2rem;
}
p {
    padding-bottom: 1rem;
    text-align: center;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
h1 {
    font-size: 1.75em;
    line-height: 1.35;
    position: absolute;
    top: 3.75rem;
    left: 20.5rem;
    color: #fff;
    text-indent: -2rem;
}
article p span {
    background: #F8F7F7;
    color: #4F4942;
    padding: 0 0.5rem;
    -webkit-box-decoration-break: clone;
    -o-box-decoration-break: clone;
    box-decoration-break: clone;
}
a.apply {
    font-weight: 900;
    color: #fff;
    background: #344da0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-transform: uppercase;
    font-size: 1.3125em;
    line-height: 1.3;
    display: block;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    position: absolute;
    bottom: 4rem;
    left: 16rem;
}
.mgt {
    margin: -18rem auto 0;
}
.flex {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.flex p:first-of-type {
    margin-right: 18rem;
}
.flex p {
    padding: 0.5rem;
    background: #F8F7F7;
}
.left {
    text-align: left;
}
figure {
    transform: rotate(-90deg);
    position: absolute;
    top: 25rem;
    left: 1rem;
}
@media only screen and (max-width:929px) {
    body {
        font-size: 1em;
    }
    #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;
    }
    h1 {
        position: static;
        font-size: 1.5em;
        line-height: 1.3;
        background: #374DA0;
        text-align: center;
        text-indent: 0;
        margin-bottom: 1rem;
        padding: 0.5rem 1rem;
    }
    br {
        display: none;
    }
    .mgt {
        margin: 0 0 2rem;
        width: auto;
    }
    .flex p:first-of-type {
        margin: 0;
    }
    a.apply {
        position: static;
        margin-bottom: 2rem;
    }
    figure {
        position: static;
        transform: none;
        background: #8BBCB9;
        padding: 0.5rem;
        display: flex;
        justify-content: center;
        gap: 0.5rem;
    }
}
@media only screen and (max-width:780px) {
    #wrapper {
        padding: 1rem;
    }
    .left {
        text-align: center;
    }
    .abs {
        position: static;
        margin: 0 auto 1rem;
    }
    h1 {
        text-align: center;
    }
    .flex {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}