@charset "utf-8";

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot');
    src: local(''), url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: .937rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: .062rem solid #e5e8ee;
    box-shadow: 0 .062rem .125rem rgb(0 0 0 / 10%);
}

a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 1.25rem;
}

h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #3f6e4c;
    text-align: center;
    line-height: 1.1;
    margin: 0;
}

h1 span {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.125rem;
    color: #3f6e4c;
}

h3 {
    text-align: center;
    color: #3f6e4c;
}

ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

ul li {
    padding-left: 1.375rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
}

header {
    padding: 1.562rem 3.437rem;
    text-align: center
}

article {
    padding: 1.562rem 3.437rem .625rem;
}

footer {
    background: #f0f0f0;
    padding: 1.562rem 3.437rem 1.875rem;
    text-align: center
}

.button {
    background-color: #3f6e4c;
    border-color: #3f6e4c;
    color: #fff;
    padding: .625rem .937rem;
    font-size: .875rem;
    border-radius: .25rem;
}

.flex {
    display: flex;
    justify-content: space-between
}

section {
    width: 48%;
}

section:nth-last-of-type(1) h3 {
    text-align: left;
}

.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.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        margin: 0 0 .937rem
    }

    header,
    article {
        padding: 0 0 .625rem;
    }

    footer {
        padding: .625rem;
    }

    h1 {
        font-size: 1.562rem;
        margin: .625rem 0 0;
    }

    .button {
        display: block;
        max-width: 9.375rem;
        margin: 0 auto
    }
}

@media only screen and (max-width: 44.875rem) {
    .flex {
        display: block;
    }

    section {
        width: 100%;
    }
}

@media only screen and (max-width: 23.438rem) {

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}
