@charset "utf-8";

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.875em;
    line-height: 1.431em;
    background: url(../images/bg.png) repeat-x;
}

#wrapper {
    position: relative;
    max-width: 720px;
    margin: 1rem auto;
    border: none;
    background-color: #fff;
    overflow: hidden;
}

header,article,footer {
padding: 0rem 1.188rem;	
}

p {
    text-align: left;
}

h1 {
    text-align: left;
    font-size: 2.492em;
    line-height: 1.1em;
    text-transform: uppercase;
    font-weight: 900;
}

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,a.link:visited{
	width: 260px;
	line-height: 50px;
	display: block;
	text-align: center;
	background: #FFD900;
	margin: 1rem 0;
	color: #000;
	font-weight: bold;
}

a.link:hover {
	color: #fff;
	background-color: #000;
	text-decoration:none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

hr {
    border: 0;
    height: 1px;
    background: #999;
	margin-bottom:2rem;
}

ul {
    padding-left: 1.5rem;
}

li {
    padding-bottom: 0.2rem;
    padding-left: 0.3rem;
}

@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:719px) {
	#wrapper {
		border:none;
		margin:0 auto;
		hyphens: auto;
	}
}

@media only screen and (max-width:640px) {
    header {
        padding: 0.5rem 1rem;
    }
	
    article,
    footer {
        padding: 0rem 1rem;
    }

    h1 {
        font-size: 1.692em;
    }

    h2 {
        font-size: 1.131em;
    }
}
@media only screen and (max-width:400px) {
	h1 {
		text-align:center;
    }
	
	header img {
		margin:0 auto;
    }
}