﻿/* reset all */

html {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    font-size: 16px;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

u {
    text-decoration: underline;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}


body {
    color: #808080;
    font-family: 'PT Sans', sans-serif;
    font-size: .875rem;
    line-height: 1.6;
    
}

#wrapper {
    position: relative;
    max-width: 53.125rem;
    margin: .625rem auto;
    border: solid 1px #63a499;
    background-color: #fff;
    overflow: hidden;
    padding: 0rem;
}

p {
    margin: 0 0 .625rem
}

h1 {
    display: block;
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.1;
    margin: 1.562rem 0;
    color: #321a58;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: 1.125rem;
    line-height: 1;
    margin: 0 0 .312rem;
    color: #63a499;
    font-weight: normal;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

ul {
    padding: 0;
    list-style: none;
    float: left;
    width: 39%;
}
ul:nth-of-type(2){
    float: right;
    width: 60%
}
ul li {
    padding-left: 1.562rem;
}

ul li:before {
    content: "\2022"/* ❖ *  ● ■ ▪ ◆ ❖ ✔ » ▸ ▶ ► ➤ ➢ ➧ ➭ ➽ ➲ 》➠ ◢ ◥ ☛ */
    ;
    float: left;
    margin-left: -1.25rem;
    font-size: 1.125rem;
    line-height: 1.1;
}

/* Hebt Float left/right auf */

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

/* Ende Standard */

/* Header */

header {
    padding: 1.562rem 2.5rem;
}

header > a {
    display: block;
    margin: 0;

}

header img {
    display: block;
    width: 100%;
}

article {
    padding: 1.562rem 2.5rem;
}

address {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.562rem;
}

address img {
    width: 19%;
    height: 19%;
}

aside {
    background: linear-gradient(to right, rgba(189, 224, 218, 1) 0%, rgba(132, 203, 191, 1) 100%);
    padding: 1.562rem 2.5rem;
    margin: 1.562rem -2.5rem;
    color: #321a58;
}

footer {
    margin: 0;
    text-align: center;
    padding: .937rem;
     color: #63a499;
    
}

@-webkit-keyframes slidy {
    0% {
        left: 0%;
    }
    9% {
        left: 0%;
    }
    14% {
        left: -100%;
    }
    23% {
        left: -100%;
    }
    28% {
        left: -200%;
    }
    37% {
        left: -200%;
    }
    42% {
        left: -300%;
    }
    51% {
        left: -300%;
    }
    56% {
        left: -400%;
    }
    65% {
        left: -400%;
    }
    70% {
        left: -500%;
    }
    79% {
        left: -500%;
    }
    84% {
        left: -600%;
    }
    93% {
        left: -600%;
    }
    100% {
        left: -700%;
    }
}

@keyframes slidy {
    0% {
        left: 0%;
    }
    9% {
        left: 0%;
    }
    12% {
        left: -100%;
    }
    23% {
        left: -100%;
    }
    28% {
        left: -200%;
    }
    37% {
        left: -200%;
    }
    42% {
        left: -300%;
    }
    51% {
        left: -300%;
    }
    56% {
        left: -400%;
    }
    65% {
        left: -400%;
    }
    70% {
        left: -500%;
    }
    79% {
        left: -500%;
    }
    84% {
        left: -600%;
    }
    93% {
        left: -600%;
    }
    100% {
        left: -700%;
    }
}

#wrapper > section {
    overflow: hidden;
}

figure img {
    width: 12.5%;
    float: left;
}

figure {
    position: relative;
    width: 800%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    -webkit-animation-name: slidy;
    -webkit-animation-duration: 48s;
    -webkit-animation-delay: 5s;
    -webkit-animation-iteration-count: infinite;
    animation: 48s slidy infinite;
}

@media only screen and (max-width:53.062rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }
    a {
        font-weight: bold;
    }
    header {
        padding: 10px;
    }
    header a {
        margin: 0 auto;
        max-width: 90%;
    }
    article {
        padding: 10px;
    }
    p,
    ul {
        margin-bottom: .625rem;
    }
    h1 {
        font-size: 1.75rem;
        text-align: center;
        margin: .937rem 0;
    }
    h2 {
        font-size: .937rem;
    }
    aside {
        margin: 0 0 .625rem;
        padding: 10px;
    }
    ul, ul:last-of-type {
        width: 100%;
    }
    ul:last-of-type {
        margin-bottom: 0;
    }
}

@media only screen and (max-width:479px) {
    body {
        font-size: .812rem;
    }
    h1 {
        font-size: 1.5rem;
    }
    ul li:before {
        font-size: 1rem;
        line-height: 1.2;
    }
}
