@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875em;
    line-height: 1.431em;
    background-image: url('../images/bg.png');
    background-repeat: repeat-x;
}

#wrapper {
    position: relative;
    max-width: 720px;
    margin: 1rem auto;
    border: none;
    padding: 0.5rem 0rem;
    background-color: #fff;
    overflow: hidden;
}

p {
    text-align: left;
}

h2 + p,
h2 + ul {
    margin-top: 0.308rem;
}

h1 {
    text-align: left;
    font-size: 2.492em;
    line-height: 1.1em;
    text-transform: uppercase;
    font-weight: 900;
}

h1 span {
    font-weight: normal;
}

h2 {
    font-size: 1.431em;
    line-height: 1.231em;
    text-transform: uppercase;
}

h3 {
    font-size: 1.131em;
    line-height: 1.231em;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

a:link,
a:active,
a:visited {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #FFD900;
    text-decoration: underline;
}

a.link:link {
    text-decoration: none;
    color: #000;
    background-color: #FFD900;
    padding-top: 1rem;
    padding-right: 2rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
}

a.link:visited {
    text-decoration: underline;
    color: #000;
    background-color: #FFD900;
    padding-top: 1rem;
    padding-right: 2rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
}

a.link:hover {
    text-decoration: none;
    color: #FFF;
    background-color: #000000;
    padding-top: 1rem;
    padding-right: 2rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

hr {
    border: none;
    background: #999;
    height: 2px;
    margin-bottom: 1rem;
}

ul {
    padding-left: 1.5rem;
}

li {
    padding-bottom: 0.2rem;
    padding-left: 0.3rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

article section {
    display: inline-block;
    width: 50%;
    float: left;
    vertical-align: top;
}

article section:nth-child(5) {
    width: 100%;
}

@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:640px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    header,
    article,
    footer {
        padding: 0rem 1rem;
    }

    article section {
        display: inline-block;
        width: 100%;
        vertical-align: top;
        float: none;
    }

    h1 {
        font-size: 1.692em;
    }

    h2 {
        font-size: 1.131em;
    }
}