@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/noto-sans-v42-latin-regular.eot');
    src: url('../fonts/noto-sans-v42-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/noto-sans-v42-latin-regular.woff2') format('woff2'), url('../fonts/noto-sans-v42-latin-regular.woff') format('woff'), url('../fonts/noto-sans-v42-latin-regular.ttf') format('truetype'), url('../fonts/noto-sans-v42-latin-regular.svg#NotoSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/noto-sans-v42-latin-600.eot');
    src: url('../fonts/noto-sans-v42-latin-600.eot?#iefix') format('embedded-opentype'), url('../fonts/noto-sans-v42-latin-600.woff2') format('woff2'), url('../fonts/noto-sans-v42-latin-600.woff') format('woff'), url('../fonts/noto-sans-v42-latin-600.ttf') format('truetype'), url('../fonts/noto-sans-v42-latin-600.svg#NotoSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/noto-sans-v42-latin-700.eot');
    src: url('../fonts/noto-sans-v42-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/noto-sans-v42-latin-700.woff2') format('woff2'), url('../fonts/noto-sans-v42-latin-700.woff') format('woff'), url('../fonts/noto-sans-v42-latin-700.ttf') format('truetype'), url('../fonts/noto-sans-v42-latin-700.svg#NotoSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    color: #333333;
    font: 400 0.875em/1.43 'Noto Sans', Arial, sans-serif;
    background: linear-gradient(180deg, rgba(239, 239, 239, 0.3) 300px, rgba(239, 239, 239, 1) 800px), url("../images/bg.jpg") no-repeat top center;
}

#wrapper {
    position: relative;
    max-width: 830px;
    margin: 1rem auto;
    overflow: hidden;
}

p {
    margin-bottom: 1.125rem;
}

p,
li {
    hyphens: auto;
}

h1 {
    margin: 0 0 1.625rem;
    font-size: 1.625rem;
    line-height: 1.4;
}

h1 span {
    display: block;
    padding-top: .3rem;
    font-size: 1.063rem;
    font-weight: normal;
}

h2 {
    font-size: 1.0625rem;
    line-height: 1.3;
    padding: 0.875rem 1.625rem 0.625rem;
    background: #eee;
}

h1,
h2 {
    color: #0C2577;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #0C2577;
    white-space: nowrap;
    text-decoration: underline 1px dotted #0C2577;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    padding: 0;
    margin-bottom: 1.125rem;
    list-style: none;
}

li {
    padding: 0 0 0 1.125rem;
    margin-bottom: 0.5rem;
}

ul li:before {
    content: "\2022";
    font-size: 1.3em;
    float: left;
    margin: -1px 0 0 -1.125rem;
}

header {
    border-radius: 3px;
}

header section {
    display: flex;
    padding-bottom: 1rem;
}

.slider {
    position: relative;
    border: 1px solid #DFDFDF;
    box-shadow: 0 0 26px rgba(0, 0, 0, .125);
    border-radius: 3px;
    margin-bottom: 1rem;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s linear infinite 0s;
}

.slider>img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider>img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider>img:nth-of-type(3) {
    animation-delay: 12s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
}

section {
    background: #fff;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.125);
    box-shadow: 0 0 26px rgba(0, 0, 0, .125);
    border-radius: 3px;
}

:is(section, footer) div {
    padding: 1rem 1.625rem 0;
}

.link {
    text-align: center;
}

.link a {
    display: inline-block;
    margin: 1.625rem 0 3rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.5s;
    border: 2px solid #0C2577;
    background-color: #0C2577;
    color: #fff;
    font-size: 1.063rem;
    line-height: 1.5;
    padding: 0.5rem 5.75rem;
    border-radius: 5px;
    text-transform: uppercase;
}

.link a:hover {
    color: #0C2577;
    background-color: transparent;
}

@media only screen and (max-width: 829px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 0.5rem;
    }

    p,
    li {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    body {
        background: #eee;
    }
}

@media only screen and (max-width: 480px) {
    header section {
        justify-content: center;
    }

    section,
    .slider {
        margin-bottom: 0.5rem;
    }

    :is(section, footer) div {
        padding: 1rem 1rem 0;
    }

    .link a {
        margin: 1rem 0 0;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        padding: 0.875rem 1rem 0.625rem;
    }
}