﻿@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

p a {
    color: blue;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    color: #000;
    font-family: Arial, sans-serif;
    font-size: .875rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background-color: #fff;
    overflow: hidden;
}

p {
    margin: 0 0 0.625rem;
}

h1 {
    text-align: center;
    font-size: 1.875rem;
    line-height: 1;
    margin: .625rem 0;
}

h2 {
    font-size: .875rem;
    line-height: 1;
    margin: 1.25rem 0;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 3.375rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
}

header {
    padding: 1.25rem 6.25rem;
    display: flex;
    flex-direction: row-reverse;
}

article {
    padding: 0 6.25rem;
}

footer {
    padding: 1.25rem 6.25rem;
}

@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;
    padding: .625rem 0;
}

.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:49.937rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
    }

    p a {
        white-space: pre-wrap;
    }

    p {
        text-align: left;
        font-size: .875rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        margin: .625rem 0;
    }

    header,
    article,
    footer {
        padding: 0 1rem;
    }
}

@media only screen and (max-width: 23.438rem) {
    #wrapper {
        -ms-hyphens: auto;
        -webkit-hyphens: auto;
        hyphens: auto;
    }
}
