﻿@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:400,500,600,700,800,900|Roboto:400,500,700,900&display=swap');

:root {
  font-size: 16px;
}

/* Standard */
* {
  box-sizing: border-box;
  margin: 0;
}

html {
  min-height: 100%;
}

body {
  color: #000;
  font: 0.875em 'Roboto', sans-serif;
  line-height: 1.431em;
  text-align: left;
  background: url(bgrr.png), url(bg.jpg) repeat, #7dc653;}

#wrapper {
  border: solid 0px #000;
  overflow: hidden;
  position: relative;
  margin: 1rem auto;
  max-width: 700px;
  background: #fff;
  padding: 0rem 1.188rem;
}

a {
  color: #000;
  text-decoration: none;
}

p {
  padding-bottom: 1rem;
}

h1 {
  margin: 0rem 0rem 2rem 0rem;
  padding: 0rem 0rem 0rem;
  font-size: 1.6em;
  line-height: 1.1;
  color: #F02429;
  text-align: center;
  font-weight: 500;
}

h1 small {
  font-size: 0.75em;
  display: block;
  font-weight: normal;
  margin-top: 0.35rem;
}

h2 {
  font-size: 1.25em;
  line-height: 1.2;
  padding: 0rem 0rem 0.5rem 0rem;
  font-weight: 500;
  color: #197EC6;
}

h3 {
  font-size: 1.7em;
  line-height: 1.2;
  padding: 0.5rem 0rem 0rem 0rem;
  color: #F02429;
  text-align: center;
}

h4 {
  font-size: 1.55em;
  line-height: 1.3;
  padding: 0rem 0rem 1.5rem 0rem;
  font-weight: normal;
}

h5 {
  font-size: 1.25em;
  line-height: 1.2;
  padding: 0rem 0rem 1rem 0rem;
  font-weight: 500;
}

h5 span {
  display: block;
  color: #F02429;
}

h1, h2, h3, h4, h5 {
  font-family: 'Roboto Slab', sans-serif;
}

ul {
  padding: 0rem 0rem 1rem 0rem;
  list-style: none;
}

li {
  padding-left: 1rem;
}

/* >  003e - 25A0 - square / 2010 - dash (Dau -) / 2212 - long dash  (Dau -) / 25B6 - triangle*/
li:before {
  content: "»";
  display: inline-block;
  font-size: 1.3em;
  position: relative;
  float: left;
  top: -1px;
  margin-left: -1rem;
  color: #F02429;
}

/* Ende Standard */

/*main*/

/*End main*/

/* Header */
header {
  padding: 0rem 0rem 0rem;
  display: flex;
  justify-content: space-between;
}

header>a {
  display: inline-block;
  margin: 5rem 0 6rem;
}

@-webkit-keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}

@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
	25% { left: -100%; }
45% { left: -100%; }
	50% { left: -200%; }
70% { left: -200%; }
	75% { left: -300%; }
95% { left: -300%; }
	100% { left: -400%; }
}

header section {
  overflow: hidden;
  width: 465px;
  margin-right: -1.188rem;
}

header section figure img {
  width: 20%;
  float: left;
}

header section figure { 
  position: relative;
  width:500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  -webkit-animation-duration: 40s; /* Safari 4.0 - 8.0 */	
  -webkit-animation-name:slidy; /* Safari 4.0 - 8.0 */
  -webkit-animation-delay: 1s; /* Safari 4.0 - 8.0 */
  -webkit-animation-iteration-count: infinite;
  animation: 40s slidy infinite;  
}

/* Ende Header */

/* Article */
article {
  padding:1rem 0rem 1rem;
}

h1+p {
  font-size: 1.6em;
  line-height: 1.2;
}

/* Ende Article */

/* Footer */
footer {
  padding: 0rem 0rem 0rem;
}

section {
  background: #7dc553;
}

section aside {
  padding: 1.5rem 1.188rem;
  width: 700px;
  margin: 0 auto;
}

section aside h5:first-of-type {
  padding-bottom: 1.5rem;
  color: #197EC6;
}

/* Ende Footer */

/* Responsive */
@media only screen and (max-width:699px) {
  #wrapper {
    border: none;
    margin: 0 auto;
    padding: 1rem;
  }

  header {
    text-align: center;
    display: block;
  }

  header>a {
    margin: 1rem 0;
  }

  header section {
    width: 100%;
  }

  section {
    margin-right: 0;
  }

  section aside {
    width: 100%;
  }

}

/* Ende Responsive */
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* Hebt Float left/right auf */
.clearfix:after {
  content: ".";
  clear: both;
  display: block;
  visibility: hidden;
  height: 0px;
}