@charset "utf-8";

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-pro-v21-latin-regular.eot');
    src: local(''), url('../fonts/source-sans-pro-v21-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'), url('../fonts/source-sans-pro-v21-latin-regular.woff') format('woff'), url('../fonts/source-sans-pro-v21-latin-regular.ttf') format('truetype'), url('../fonts/source-sans-pro-v21-latin-regular.svg#SourceSansPro') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #666;
    font: 400 15px/1.5em 'Source Sans Pro', Arial, sans-serif;
}

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 .937rem .312rem #ddd;
}

header {
    background: #006db7;
    padding: 2.5rem;
    position: relative;
}

header img.logo {
    position: absolute;
    z-index: 2;
    top: 1.25rem;
}

.slider {
    position: relative;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 24s 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;
}

.slider > img:nth-of-type(4) {
    animation-delay: 18s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }
}

article {
    padding: 1.875rem 2.5rem 0;
}

article h1 {
    font-size: 2rem;
    text-align: center;
    line-height: 120%;
    margin: 1rem 0 1.875rem;
    color: #000;
    font-weight: normal;
}

article h2 {
    font-size: 1rem;
    color: #000;
}

article h3 {
    font-size: 1rem;
    ;
    margin: 1rem 0 0
}

article .flex {
    background: rgba(40, 40, 40, 0.8);
    padding: 1rem 2.5rem;
    margin: 1rem -2.5rem 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

article .flex :is(h2, ul) {
    color: #fff;
}

article .flex section {
    width: 50%;
}

article .flex h2 {
    font-weight: normal;
    font-size: 1.125rem;
}

article p {
    margin: 1rem 0;
    text-align: justify;
}

article ul {
    margin: .5rem 0 0 1.3rem;
    list-style: none;
}

article ul li:before {
    content: ""url(../images/check.png);
    float: left;
    margin: 0 0 0 -20px;
}

article :is(p, ul) {
    hyphens: auto;
}

article figure {
    margin: 0 -2.5rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    font-weight: bold;
}

footer {
    background: rgba(40, 40, 40, 0.8);
    padding: 1rem 2.5rem 0;
    border-bottom: .937rem solid #000000;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin: 1rem 0;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    article p {
        text-align: left;
    }
}

@media only screen and (max-width: 48rem) {
    header {
        padding: 2.5rem 2rem;
    }

    article {
        padding: 1rem 2rem 0;
    }

    article .flex {
        padding: 1rem 2rem;
        margin: 1rem -2rem 0;
        flex-direction: column;
    }

    article .flex section {
        width: 100%;
    }

    footer {
        padding: 1rem 2rem 0;
    }
}

@media only screen and (max-width: 30rem) {
    article h1 {
        font-size: 1.75rem
    }

    header {
        padding: 1rem;
        display: flex;
        justify-content: center;
    }

    header img.logo {
        position: relative;
        top: 0;
    }

    article {
        padding: 1rem 1rem 0
    }

    article .flex {
        padding: 1rem;
        margin: 1rem -1rem 0;
    }

    footer {
        padding: 1rem 1rem 0;
    }
}
