@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
}
html {
    min-height: 100%;
}
a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}
a:hover,
a:active,
a:visited {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
body {
    color: #000;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 6px solid #164734;
    background-color: #fff;
    overflow: hidden;
}
p {
    margin: 0 0 0.625rem;
}
h1 {
    background: #CDC9C8;
    font-size: 28px;
    margin: .625rem 0;
    padding: 5px;
}
h1 span {
    font-size: 20px;
    white-space: nowrap
}
h2 {
    font-size: 18px;
    margin: 0 0 5px;
}
h3 {
    font-size: 36px;
    line-height: 1;
    margin: 0;
    color: #fff;
}
ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}
ul li {
    padding-left: 1.125rem
}
ul li:before {
    content: "\-";
    float: left;
    margin-left: -1.125rem;
    font-size: 1.25rem;
    line-height: 1;
}
article {
    padding: 1.25rem 1.25rem 0;
}
section {
    background-image: linear-gradient(to right, #164734, #287040, #164734);
    padding: .625rem;
    margin: .625rem 0;
}

footer {
    margin: 0 1.25rem;
    padding: .625rem 0;
    border-top: 2px solid #8F9190;
    display: flex;
    justify-content: space-between;
}
@keyframes slidy {
    0% {
        left: 0%;
    }
    30% {
        left: 0%;
    }
    33% {
        left: -100%;
    }
    64% {
        left: -100%;
    }
    67% {
        left: -200%;
    }
    97% {
        left: -200%;
    }
    100% {
        left: -300%;
    }
}
.slider {
    overflow: hidden;
}
.slider figure {
    position: relative;
    width: 400%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 18s slidy infinite;
}
figure img {
    width: 25%;
    float: left;
}
@media only screen and (max-width:799px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
    }
    article br {
        display: none;
    }
    h1 {
        font-size: 1.5rem;
        margin: .625rem 0;
    }
    h2 {
        font-size: 1rem;
    }
    h3 {
        font-size: 24px
    }
    article {
        padding: 1rem 1rem 0;
    }
    footer {
        margin: 0 1rem;
        padding: .625rem 0;
    }
}
@media only screen and (max-width:479px) {
    h1 {
        font-size: 1.5rem;
    }
    footer{
    	flex-direction: column;
    }
    .logo{
    	display: flex;
    	justify-content: center;
    }
}