﻿@charset "utf-8";

/* Standard */

: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: #263238;
    font-family: "Open Sans", sans-serif;
    font-size: .875rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 43.75rem;
    margin: 1rem auto;
    box-shadow: 0 0 .937rem #a1a1a1;
    padding: 25px 25px 0;
    background-color: #fff;
    overflow: hidden;
}

p {

    margin: 0 0 15px;
}

h1 {
    text-align: center;
    font-size: 1.875rem;
    line-height: 1;
    margin: 15px 0;
}

h2 {
    font-size: 1rem;
    line-height: 1;
    margin: 0 0 10px;
}

h3 {
    font-size: 0.9rem;
    line-height: 1;
    margin: 0 0 10px;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 1.375rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
}

header {
    margin: -25px -25px 20px;
}

header a {
    margin: 25px 0 10px 25px;
}

section p,
aside p,
nav p {
    margin-bottom: 2px;
}


footer {
    background-color: rgb(236, 239, 241);
    margin: 10px -25px 0;
    padding: 10px 25px 15px;
}

footer a {
    border-radius: 4px;
    font-weight: bold;
    max-height: 40px;
    padding: 5px 30px;
    text-align: center;
    text-decoration: none;
    background: rgb(216, 27, 93);
    color: rgb(255, 255, 255);
    font-size: 16px;
    max-width: 250px;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}
nav p img{
    height: 32px;
    width: 32px;
    margin: 10px auto;
    display: block;
}
nav{
    align-items: center;
    align-self: center;
    line-height: 1.3;
    margin-bottom: 16px;
    flex-direction: row;
    display: flex;
    justify-content: flex-start;
}
nav p{
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
}

aside section p img{
    margin-top: 5px;
    margin-right: 16px;
    display: inline-block;
    vertical-align: bottom;
}
aside section{
    align-items: left;
    align-self: left;
    line-height: 1.3;
    margin-bottom: 16px;
    flex-direction: column;
    display: flex;
    justify-content: flex-start;
}
aside section p{
    max-width: 100%;
    text-align: left;
    margin-bottom: 16px;
}
aside{
    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:43.687rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem .625rem 0;
    }

    header {
        margin: 0 -10px 10px;
    }


    article br {
        display: none;
    }

    h1 {
        font-size: 20px;
    }

    p {
        margin-bottom: 10px;
    }

    nav {
        margin-bottom: 10px;
    }

    section {
        width: auto;
        float: none;
        margin-bottom: 10px;
    }

    aside {
        width: auto;
        float: none;
        margin-bottom: 10px;
    }
    nav{
        align-items: center;
        align-self: center;
        line-height: 1.3;
        margin-bottom: 16px;
        flex-direction: column;
        display: flex;
        justify-content: flex-start;
    }
    aside section{
        align-items: left;
        align-self: left;
        line-height: 1.3;
        margin-bottom: 16px;
        flex-direction: column;
        display: flex;
        justify-content: flex-start;
    }
    aside section p{
        max-width: 100%;
        text-align: left;
        margin-bottom: 16px;
    }
    aside section p:last-of-type{
        margin-bottom: 0;
    }
    aside{
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }


}

@media only screen and (max-width:479px) {
    h1 {
        font-size: 1.5em;
    }
}
