﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875em;
    line-height: 1.4em;
    background: #dfecf8;
    background-size: cover;
}

a:link,
a:active,
a:visited {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: underline;
}

#wrapper {
    position: relative;
    max-width: 49.687rem;
    margin: 1rem auto;
    border: none;
    padding: 0.5rem 0rem;
    overflow: hidden;
}

header {
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 1rem;
    position: relative;
    padding: .625rem 0 .625rem 1.25rem;
}

header section:nth-child(1) {
    width: 73%;
}

header section:nth-child(2) {
    width: 25%;
}

header section img {
    max-width: 100%;
    height: auto;
}

header h1 {
    text-align: left;
    font-size: 1.5em;
    line-height: 1.1em;
    color: #000;
}



article section {
    padding: 1.188rem;
    margin: 1rem 0;
}

article h2,
h3 {
    color: #43aaff;
}

article h2 {
    line-height: 3em;
    font-size: 2em;
}

article h3 {
    font-size: 1.5em;
    line-height: 1.231em;
    margin-bottom: 1.25rem;
}

article ul {
    margin-left: 1rem;
}

article ul li {
    padding-bottom: 0.2rem;
}

article .btn {
    width: 30%;
    padding: .937rem 2.5rem;
    background: #e1c348;
    justify-content: center;
    font-size: 1rem;
    margin: 1rem auto;
    text-align: center;
}

article .btn a {
    color: #fff;
}

article section:nth-of-type(5) p {
    margin: 1.25rem 0;
}

article section:nth-of-type(2),
article section:nth-of-type(4),
article section:nth-of-type(5),
article section:nth-of-type(6),
footer {
    background-color: #fff;
}

article section:nth-of-type(1),
article section:nth-of-type(3) {
    background-color: #f3f8ff;
}

article section:nth-of-type(1) > p:first-of-type {
    margin: 0 0 1.25rem;
}

article > section:nth-of-type(2) > p {
    margin: .625rem 0 .625rem;
}



footer address {
    text-align: center;
    margin: 0 auto;
    font-style: normal;
    padding: 1rem 0;
}

.slider {
    position: relative;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.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;
}


.slider > img:nth-of-type(11) {
    animation-delay: 60s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    14% {
        opacity: 1;
    }

    19% {
        opacity: 0;
    }
}

#wrapper > article > section:nth-child(8) {
    background: #fff;
}

iframe {
    width: 100%;
}

@media only screen and (max-width: 49.625rem) {

    header {
        padding: .625rem 1.25rem .625rem 1.25rem;
    }

    header section:nth-child(1),
    header section:nth-child(2) {
        width: 100%;
    }

    header section img,
    article section:nth-of-type(4) img {
        margin: 0 auto;
        display: block;
    }

    article h2 {
        line-height: 1.3em;
        margin: 1rem 0;
    }

    article .btn {
        width: 100%;
    } 
    
    header h1{
    text-align: left;
    font-size: 1.3em;
    line-height: 1.1em;
    color: #000;
}
}