@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: 0.938rem;
    line-height: 1.5;
    font-weight: 400;
    background: linear-gradient(180deg, rgba(239, 239, 239, 0.3) 18.75rem, rgba(239, 239, 239, 1) 50rem), url("../images/bg.jpg") no-repeat top center;
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}


a:hover {
    text-decoration: underline;
}

p {
    margin: 0 0 1.25rem;
}

a.tel {
    color: inherit;
}


h1 {
    font-size: 1.625rem;
    line-height: 1.4;
    margin: 1.625rem 0 0
}

h1 span {
    font-weight: normal;
}

h2 {
    font-size: 1.25rem;
    padding: 0 0 1.25rem 0;
    color: #222;
}

ul {
    padding: 0 0 0 1rem;
}


header {
    border: 1px dashed #000000;
    box-shadow: 0px 0px 20px -12px rgba(0, 0, 0, 1);
    margin: 0 0 1.25rem;
    background-color: #fff;
    display: flex;
    flex-direction: column;

}

header a {
    margin: 1.25rem 2rem;
    align-self: start;
}

.box {
    background: #ffffff;
    border: 1px dashed #000000;
    box-shadow: 0px 0px 20px -12px rgba(0, 0, 0, 1);
    margin: 0 0 20px;
    padding: 2rem 1.625rem;
}

footer p:last-of-type {
    margin: 0
}

footer .box {
    margin-bottom: 0;
}

.button {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.button a {
    padding: 8px 70px;
    border: 2px solid #222;
    background-color: #222;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    font-size: 17px;
    border-radius: 5px;
    display: inline-block;
    transition: .3s;
}

.button a:hover {
    background-color: transparent;
    color: #222;
    text-decoration: none;
}

.slider {
    position: relative;
}

.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;
    }
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: .5rem;
    }

    header,
    .box {
        margin-bottom: .5rem;
    }

    header {
        text-align: center
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    body {
        background: #c8c8c8;
    }
}

@media only screen and (max-width: 40rem) {
    header a {
        align-self: center;
    }

    h1 {
        margin-bottom: 1rem;
        text-align: center;
    }

    .box {
        padding: 1rem
    }

    p {
        margin-bottom: 1rem;
    }

    h2 {
        padding: 0 0 .5rem 0;
    }

    .button {
        margin: 1rem 0;
    }
}