@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/noto-sans-v27-latin-500.eot');
    src: url('../fonts/noto-sans-v27-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/noto-sans-v27-latin-500.woff2') format('woff2'), url('../fonts/noto-sans-v27-latin-500.woff') format('woff'), url('../fonts/noto-sans-v27-latin-500.ttf') format('truetype'), url('../fonts/noto-sans-v27-latin-500.svg#NotoSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/noto-sans-v27-latin-800.eot');
    src: url('../fonts/noto-sans-v27-latin-800.eot?#iefix') format('embedded-opentype'), url('../fonts/noto-sans-v27-latin-800.woff2') format('woff2'), url('../fonts/noto-sans-v27-latin-800.woff') format('woff'), url('../fonts/noto-sans-v27-latin-800.ttf') format('truetype'), url('../fonts/noto-sans-v27-latin-800.svg#NotoSans') format('svg');
}

@font-face {
    font-family: 'Caveat';
    src: url('../fonts/Caveat-Regular.eot');
    src: url('../fonts/Caveat-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Caveat-Regular.woff2') format('woff2'),
        url('../fonts/Caveat-Regular.woff') format('woff'),
        url('../fonts/Caveat-Regular.ttf') format('truetype'),
        url('../fonts/Caveat-Regular.svg#Caveat-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    color: #233C5B;
    font: 500 1em/1.5em 'Noto Sans', Arial, sans-serif;
}

#wrapper {
    position: relative;
    max-width: 780px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff;
    overflow: hidden;
    padding: 0;
}

:is(h1, h2, h3, h4, strong) {
    font-weight: 800;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

p {
    padding-bottom: 1rem;
}

.center {
    text-align: center;
}

.text,
.text1,
.text2,
.text3 {
    font-family: 'Caveat', Arial, sans-serif;
    font-weight: 400;
    color: #FF5757;
}

.text1 {
    display: block;
}

h1 {
    margin: 0 0 3rem;
    font-size: 2.1em;
    line-height: 1.1;
    text-transform: uppercase;
    width: fit-content;
    text-align: center;
}

h1 span {
    font-size: 1rem;
    text-transform: none;
    font-weight: 500;
    display: block;
    padding-top: .3rem;
}

h2 {
    font-size: 1.5em;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h2.center {
    font-size: 1.7em;
    text-transform: none;
}

h3 {
    font-size: 2em;
    line-height: 1.2;
}

h4 {
    font-size: 1.4em;
    line-height: 1.3;
    margin-bottom: 1rem;
}

ul {
    list-style: none;
    padding-bottom: 1rem;
}

ul li {
    padding: 0 0 0 3rem;
}

ul li:before {
    content: url("../images/icon_bg.png");
    float: left;
    margin-left: -3rem;
}

ul ul {
    padding: 1rem 0;
}

ul ul li {
    padding: 0 0 0 1.5rem;
}

ul ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
    font-size: 1.3rem;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

header {
    padding: 2rem;
    background: #1F3C5A;
    display: flex;
    justify-content: center;
}

.block {
    display: block;
    margin-top: 1rem;
}

.mb {
    margin-bottom: 2rem;
}

.mgb {
    margin-bottom: 1rem;
}

.mr {
    margin-right: .5rem;
}

.small {
    font-size: .75rem;
}

.flex1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.text {
    font-size: 3.6em;
    line-height: 1;
    transform: rotate(-8deg);
    text-indent: -4rem;
    margin-top: 1rem;
}

.text1 {
    font-size: 1.9em;
    line-height: 1;
}

.text2 {
    font-size: 2em;
    line-height: 1;
    transform: rotate(-4deg);
    margin: -1rem 0 0 15rem;
}

.text3 {
    font-size: 2.5em;
    line-height: 1;
    transform: rotate(-4deg);
    text-decoration: underline;
    margin: -1rem 0 2rem 3rem;
    color: inherit;
}

.img {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 1rem;
    margin: 1rem 0 2rem;
}

.apply {
    position: absolute;
    right: 6rem;
    bottom: 27rem;
}

.apply p {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    color: #fff;
    background: #233C5B;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    hyphens: none;
}

.logos {
    position: absolute;
    right: 2rem;
    top: 25rem;
}

.avt {
    display: flex;
    justify-content: center;
    gap: 0 2rem;
    margin-top: 1rem;
}

.avt div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.avt p {
    text-align: center;
}

main {
    display: block;
    background: #fff url('../images/bg.jpg') repeat-y;
    padding: 2rem 4.5rem 1.5rem;
    position: relative;
}

footer {
    text-align: center;
}

figure {
    margin: 0;
}

@media only screen and (max-width:779px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    :is(p, li) {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    main {
        padding: 2rem;
        background: #fff;
    }

    h1 {
        margin-bottom: 2rem;
    }

    .flex1 {
        padding-left: 0;
        flex-direction: column;
    }

    .text {
        transform: none;
    }

    .logos {
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .apply {
        right: 2rem;
    }

    :is(h1, ul) br,
    .hide_m {
        display: none;
    }
}

@media only screen and (max-width:700px) {

    .text2,
    .text3 {
        transform: none;
        margin: 0.5rem 0 0;
        padding-bottom: 2rem;
        text-align: left;
    }

    .apply {
        position: static;
        margin-bottom: 1rem;
    }
}

@media only screen and (max-width:480px) {
    main {
        padding: 1rem;
    }

    .text {
        font-size: 3em;
    }

    h1,
    h3 {
        font-size: 1.5em;
    }

    h2,
    h2.center {
        font-size: 1.3em;
    }

    ul li {
        padding: 0 0 0 2rem;
    }

    ul li:before {
        margin-left: -2rem;
    }

    .text2 {
        font-size: 2em;
    }

}