@charset "utf-8";

@font-face {
  font-family: 'Play';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/play-v17-latin-700.eot'); 
  src: url('../fonts/play-v17-latin-700.eot?#iefix') format('embedded-opentype'), 
       url('../fonts/play-v17-latin-700.woff2') format('woff2'), 
       url('../fonts/play-v17-latin-700.woff') format('woff'), 
       url('../fonts/play-v17-latin-700.ttf') format('truetype'), 
       url('../fonts/play-v17-latin-700.svg#Play') format('svg'); 
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Verdana', 'Arial', sans-serif;
    font-size: .875rem;
    line-height: 1.6;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    box-shadow: 0 0 .937rem #999;
    background-color: #fff;
}

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

p {
    margin: 0 0 1.25rem;
}

h1 {
    font-family: 'Play', sans-serif;
    text-align: center;
    font-size: 2rem;
    line-height: 1.2;
    color: #154386;
    margin: 1.25rem 0;
}

h2 {
    font-family: 'Play', sans-serif;
    font-size: 1rem;
    margin: 0;
    color: #154386;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

ul li {
    padding-left: 2.187rem
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .312rem;
    height: .312rem;
    border-radius: .312rem;
    background: #000;
    margin-left: -.937rem;
    top: .5rem;
}

header {
    padding: 1.25rem;
    background: #154386;
    text-align: center;
}

article {
    padding: 1.875rem;
}

footer {
    background: #154386;
    color: #fff;
    padding: 1.875rem;
    text-align: center;
}

footer h2 {
    color: #fff;
}

.link {
    padding: .625rem 1.562rem;
    background: #F3C51E;
    font-family: 'Play', sans-serif;
    color: #154386;
    border: .187rem solid;
    transition: 0.3s;
}

.link:hover {
    background: #154386;
    color: #F3C51E;
}

@keyframes slidy {
    0% {
        left: 0%;
    }

    17% {
        left: 0%;
    }

    20% {
        left: -100%;
    }

    37% {
        left: -100%;
    }

    40% {
        left: -200%;
    }

    57% {
        left: -200%;
    }

    60% {
        left: -300%;
    }

    77% {
        left: -300%;
    }

    80% {
        left: -400%;
    }

    97% {
        left: -400%;
    }

    100% {
        left: -500%;
    }
}

.slider {
    overflow: hidden;
}

.slider figure {
    position: relative;
    width: 600%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 30s slidy infinite;
}

.slider figure img {
    width: 16.666666666666668%;
    float: left;
}

@media only screen and (max-width:49.937rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
    }
    
    h1{
        font-size: 1.562rem;
    }

    p,
    ul {
        margin-bottom: .625rem;
    }

    footer,
    header,
    article {
        padding: 0.625rem;
    }

    article > br {
        display: none;
    }
}

@media only screen and (max-width: 23.438rem) {

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}