@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/playfair-display-v37-latin-regular.eot');
    src: url('../fonts/playfair-display-v37-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/playfair-display-v37-latin-regular.woff2') format('woff2'), url('../fonts/playfair-display-v37-latin-regular.woff') format('woff'), url('../fonts/playfair-display-v37-latin-regular.ttf') format('truetype'), url('../fonts/playfair-display-v37-latin-regular.svg#PlayfairDisplay') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/playfair-display-v37-latin-700.eot');
    src: url('../fonts/playfair-display-v37-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/playfair-display-v37-latin-700.woff2') format('woff2'), url('../fonts/playfair-display-v37-latin-700.woff') format('woff'), url('../fonts/playfair-display-v37-latin-700.ttf') format('truetype'), url('../fonts/playfair-display-v37-latin-700.svg#PlayfairDisplay') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    font-size: 16px;
}

body {
    color: #212529;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #214C96;
    box-shadow: 0 0 0.625rem rgb(0 0 0 / 40%);
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #3864af;
    text-decoration: none;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: 1.8rem;
    line-height: 120%;
    color: #214C96;
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin: 1rem 0;
}

h2 {
    font-size: 1.1rem;
    color: #214C96;
    font-family: 'Playfair Display', serif;
}

p {
    margin-bottom: 1rem;
}

header {
    padding: 1rem 0;
    display: flex;
    justify-content: center;
}

article {
    padding: 1rem 3rem 0;
}

article section {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 0.25rem;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.center {
    text-align: center;
}

ul {
    margin: .5rem 0 0 1.1rem;
}

a.link {
    color: #000;
}

footer {
    display: flex;
    justify-content: start;
    padding: 1rem 3rem;
}

footer section {
    width: 50%;
}

.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;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 48rem) {

    article {
        padding: 1rem 2rem 0;
    }

    footer {
        padding: 1rem 2rem;
    }
}

@media only screen and (max-width: 30rem) {

    article {
        padding: 0 1rem;
    }

    article section {
        padding: 1rem;
    }

    footer {
        padding: 1rem;
        display: block;
        text-align: center;
    }

    footer section {
        width: 100%;
    }

}