@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/noto-sans-v39-latin-regular.eot');
    src: url('../fonts/noto-sans-v39-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/noto-sans-v39-latin-regular.woff2') format('woff2'), url('../fonts/noto-sans-v39-latin-regular.woff') format('woff'), url('../fonts/noto-sans-v39-latin-regular.ttf') format('truetype'), url('../fonts/noto-sans-v39-latin-regular.svg#NotoSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/noto-sans-v39-latin-700.eot');
    src: url('../fonts/noto-sans-v39-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/noto-sans-v39-latin-700.woff2') format('woff2'), url('../fonts/noto-sans-v39-latin-700.woff') format('woff'), url('../fonts/noto-sans-v39-latin-700.ttf') format('truetype'), url('../fonts/noto-sans-v39-latin-700.svg#NotoSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: 'Noto Sans', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    background: url("../images/bg.jpg") no-repeat top center #eee;
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

#wrapper {
    position: relative;
    max-width: 54rem;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem;
}

:is(a:link, a:visited, a:active) {
    color: #005eaa;
    text-decoration: underline dotted 1px;
    white-space: nowrap;
}


a:hover {
    color: inherit;
    text-decoration: underline;
}

p {
    margin: 0 0 1.25rem;
}

article .box:last-of-type p {
    margin-bottom: .5rem;
}

h1 {
    font-size: 1.625rem;
    line-height: 1.4;
    margin: 0 0 1rem;
    color: #005eaa;
}

h2 {
    font-size: 1.25rem;
    line-height: 1.4;
    padding: 1rem 0;
    color: #005eaa;
}

ul {
    padding: 0 0 0.875rem 1rem;
}

header {
    border: 1px dashed #333;
    box-shadow: 0 0 26px rgba(0, 0, 0, .44);
    margin: 0 0 1rem;
    background-color: #fff;
    display: flex;
    padding: 1.25rem 1.625rem;
}

.box {
    background: #ffffff;
    border: 1px dashed #333;
    box-shadow: 0 0 26px rgba(0, 0, 0, .44);
    margin: 1rem 0;
    padding: .75rem 1.625rem;
}

footer p:last-of-type {
    margin: 0
}

footer .box {
    margin-bottom: 0;
}

.button {
    display: flex;
    margin: 2rem 0;
}

.button a {
    padding: 8px 20px;
    border: 2px solid #005eaa;
    background-color: #005eaa;
    color: #fff;
    border-radius: 2px;
    transition: .3s;
    text-decoration: none;
}

.button a:hover {
    background-color: transparent;
    color: #005eaa;
    text-decoration: none;
}

.slider {
    position: relative;
    border: 1px dashed #333;
    box-shadow: 0 0 26px rgba(0, 0, 0, .44);
    background-color: #fff;
}

.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;
    }
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    border: 1px dashed #333;
    box-shadow: 0 0 26px rgba(0, 0, 0, .44);
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media only screen and (max-width: 53.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

}

@media only screen and (max-width: 50rem) {
    #wrapper {
        padding: 1rem;
    }

    body {
        background: #eee;
    }

    header {
        justify-content: center;
    }

}

@media only screen and (max-width: 40rem) {
    #wrapper {
        padding: .5rem;
    }

    header {
        margin-bottom: .5rem;
    }

    h1 {
        text-align: center;
    }

    .box {
        padding: 1rem 1rem 0;
        margin: .5rem 0;
    }

    p {
        margin-bottom: 1rem;
    }

    h2 {
        padding: 0 0 .5rem 0;
    }

    .button {
        margin: 1.25rem 0;
        justify-content: center;
    }

}