@charset "utf-8";
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}
@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-slab-v24-latin-regular.eot');
    src: local(''), url('../fonts/roboto-slab-v24-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-slab-v24-latin-regular.woff2') format('woff2'), url('../fonts/roboto-slab-v24-latin-regular.woff') format('woff'), url('../fonts/roboto-slab-v24-latin-regular.ttf') format('truetype'), url('../fonts/roboto-slab-v24-latin-regular.svg#RobotoSlab') format('svg');
}

@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-slab-v24-latin-700.eot');
    src: local(''), url('../fonts/roboto-slab-v24-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-slab-v24-latin-700.woff2') format('woff2'), url('../fonts/roboto-slab-v24-latin-700.woff') format('woff'), url('../fonts/roboto-slab-v24-latin-700.ttf') format('truetype'), url('../fonts/roboto-slab-v24-latin-700.svg#RobotoSlab') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #324950;
    font: 400 1em/1.3em 'Roboto', Arial, sans-serif;
    background: url('../images/bg.jpg') top center no-repeat fixed;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff;
    overflow: hidden;
    padding: 1rem;
}
p {
    padding-bottom: 1rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
}
h1, h4 {
    margin: 0 0 1rem;
    font-size: 2.5em;
    line-height: 1.1em;
}
h2 {
    font-size: 1.25em;
    line-height: 1.3em;
    margin-bottom: 0.5rem;
    font-weight: 400;
}
h3 {
    font-size: 1.5em;
    line-height: 1.3em;
    text-align: center;
    margin-bottom: 2rem;
}
h1, h2, h3, h4, .font {
    font-family: 'Roboto Slab', "Time New Roman", serif;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
li {
    padding: 0 0 0.5rem 2rem;
}
li:before {
    content: url('../images/iconlist.svg');
    float: left;
    margin: 1px 0 0 -2rem;
}
h1, h4, .font {
    text-align: center;
}
.font {
    font-size: 1.125em;
    line-height: 1.3;
}
.mgb {
    margin-bottom: 2rem;
}
figure {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}
header {
    padding-bottom: 2rem;
}
.box {
    padding: 2rem;
    background: #EFEDEB;
}
.flex {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
a.apply {
    display: block;
    width: fit-content;
    text-decoration: none;
    text-transform: uppercase;
    margin: 2rem auto 1rem;
    border: 2px solid rgba(77, 152, 80, .5);
    border-radius: .125rem;
    color: #4d9850;
    padding: .8125rem 1.875rem;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p {
        text-align: left;
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
    header {
        display: flex;
        justify-content: center;
    }
}
@media only screen and (max-width:480px) {
    h1, h4 {
        font-size: 2em;
        line-height: 1.3;
    }
}