﻿:root {
    font-size: 16px;
}

@font-face {
    font-display: swap;
    font-family: 'Signika';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/signika-v20-latin-regular.woff2') format('woff2'), url('../fonts/signika-v20-latin-regular.woff') format('woff')
}

@font-face {
    font-display: swap;
    font-family: 'Signika';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/signika-v20-latin-700.woff2') format('woff2'), url('../fonts/signika-v20-latin-700.woff') format('woff')
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

img {
    max-width: 100%;
}

strong {
    font-weight: bold;
}

body {
    font-size: 0.9375rem;
    line-height: 1.25rem;
    font-family: 'Signika', Arial, sans-serif;
    color: #464646;
    font-weight: normal;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 0.625rem auto;
    box-shadow: 1px 1px 10px #ccc;
    overflow: hidden;
    background-color: #fff;
}

@-webkit-keyframes slidy {
    0% {
        left: 0%;
    }

    28% {
        left: 0%;
    }

    33% {
        left: -100%;
    }

    62% {
        left: -100%;
    }

    67% {
        left: -200%;
    }

    95% {
        left: -200%;
    }

    100% {
        left: -300%;
    }
}

@keyframes slidy {
    0% {
        left: 0%;
    }

    28% {
        left: 0%;
    }

    33% {
        left: -100%;
    }

    62% {
        left: -100%;
    }

    67% {
        left: -200%;
    }

    95% {
        left: -200%;
    }

    100% {
        left: -300%;
    }
}

header section {
    overflow: hidden;
}

header section figure img {
    width: 25%;
    float: left;
}

header section figure {
    position: relative;
    width: 400%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    -webkit-animation-duration: 12s;
    -webkit-animation-name: slidy;
    -webkit-animation-delay: 1s;
    -webkit-animation-iteration-count: infinite;
    animation: 12s slidy infinite;
}

.logo {
    padding: 0.625rem;
    text-align: center;
}

.center {
    text-align: center;
}

aside h3 {
    background: #ffb400;
    padding: 10px;
    color: #fff;
}

aside {
    width: 48.5%;
    background: #fff;
    box-shadow: 1px 1px 5px 0px #ccc;
    margin-bottom: 1.25rem;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

h1 {
    margin: 2.125rem 0;
    font-size: 1.9375rem;
    line-height: 2.25rem;
    font-weight: 700;
    text-align: center;
    color: #ffb400;
}

h3 {
    font-size: 1.25rem;
    margin: 0 0 0.625rem;
    font-weight: 700;
    line-height: 1.5rem;
    color: #ffb400;
}

p {
    margin-bottom: 1rem;
}

article {
    padding: 1.25rem 1.875rem;
    border-top: 0.5rem solid #0082c8;
    border-bottom: 0.5rem solid #0082c8;
}

footer {
    padding: 1.25rem 1.875rem;
    background: #464646;
    color: #fff;
}

a {
    color: #ffb400;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

ul {
    margin: 0 0.625rem 0.8125rem;
    padding: 0;
    list-style: none;
}

ul li {
    padding-left: 1.25rem;
    margin-bottom: 0.3125rem;
}

ul li:before {
    content: "\2022";
    color: #0082c8;
    float: left;
    font-size: 1.5625rem;
    text-indent: -1.25rem;
}

@media all and (max-width:800px) {
    #wrapper {
        border: none;
    }

    aside {
        width: 100%;
    }

    article,
    footer {
        padding: 0.625rem;
    }

    br {
        display: none;
    }

    footer br {
        display: inline;
    }
}