@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/playfair-display-v40-latin-700.eot');
    src: url('../fonts/playfair-display-v40-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/playfair-display-v40-latin-700.woff2') format('woff2'), url('../fonts/playfair-display-v40-latin-700.woff') format('woff'), url('../fonts/playfair-display-v40-latin-700.ttf') format('truetype'), url('../fonts/playfair-display-v40-latin-700.svg#PlayfairDisplay') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v44-latin-regular.eot');
    src: url('../fonts/open-sans-v44-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v44-latin-regular.woff') format('woff'), url('../fonts/open-sans-v44-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v44-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v44-latin-700.eot');
    src: url('../fonts/open-sans-v44-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v44-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v44-latin-700.woff') format('woff'), url('../fonts/open-sans-v44-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v44-latin-700.svg#OpenSans') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #444;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    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;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.26);
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #039bb9;
    text-decoration: underline dotted 1px;
}

a.link:hover {
    text-decoration: underline;
    color: #ec7007;
}

article p {
    padding-bottom: 1.625rem;
}

h1 {
    font-size: 1.625rem;
    line-height: 1.3;
    padding-bottom: 2rem;
}

h2 {
    font-size: 1.313rem;
    line-height: 1.3;
    color: #039bb9;
    padding-bottom: .5rem;
    font-family: 'Playfair Display';
}

ul {
    list-style: none;
    padding-bottom: 2rem;
}

ul li {
    padding: 0 0 0 1rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
    color: #039bb9;
}

.button {
    padding: 1rem 0 3rem;
    display: flex;
}

.button a {
    font-size: 0.938rem;
    padding: 8px 60px;
    background-color: #ec7007;
    border: 2px solid #ec7007;
    font-weight: 700;
    color: #fff;
    border-radius: 1px;
    letter-spacing: 2px;
    transition: .3s;
}

.button a:hover {
    background-color: #fff;
    color: #ec7007;
}

article {
    padding: 2.188rem 2.188rem 0;
}

footer {
    padding: 0 2.188rem 2.188rem;
}

.slider {
    position: relative;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 12s linear infinite 0s;
}

.slider>img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider>img:nth-of-type(2) {
    animation-delay: 6s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    body {
        background: #fff;
    }
}

@media only screen and (max-width: 48rem) {
    article {
        padding: 1rem 1rem 0;
    }

    footer {
        padding: 0 1rem;
    }
}

@media only screen and (max-width: 35rem) {
    article {
        padding: 1rem 0 0;
    }

    footer {
        padding: 0;
    }

    h1 {
        text-align: center;
    }

    h2 {
        font-size: 1.1rem;
        padding-bottom: .25rem;
    }

    article p,
    ul {
        padding-bottom: 1rem;
    }

    .button {
        justify-content: center;
        padding: .5rem 0 1.5rem;
    }
}