@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v51-latin-regular.eot');
    src: url('../fonts/roboto-v51-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v51-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v51-latin-regular.woff') format('woff'), url('../fonts/roboto-v51-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v51-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v51-latin-700.eot');
    src: url('../fonts/roboto-v51-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v51-latin-700.woff2') format('woff2'), url('../fonts/roboto-v51-latin-700.woff') format('woff'), url('../fonts/roboto-v51-latin-700.ttf') format('truetype'), url('../fonts/roboto-v51-latin-700.svg#Roboto') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #595959;
    font-family: 'Roboto', sans-serif;
    font-size: .85rem;
    line-height: 1.4;
    background: url("../images/bg.jpg") repeat-x;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

article p {
    margin: 0 0 0.938rem;
}

h1 {
    font-size: 1.625rem;
    line-height: 1.3;
    margin: 1.563rem 0;
    text-align: center;
    text-transform: uppercase;
    border-top: thin solid #E2E2E2;
    border-bottom: thin solid #E2E2E2;
    padding: 0.938rem 0;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: 0.938rem;
    margin: 0 0 3.2px;
    font-weight: normal;
    text-transform: uppercase;
}

ul {
    margin-bottom: 0.938rem;
    list-style: none;
}

ul li {
    padding-left: 1.25rem;
    margin-bottom: 3.2px;
}

ul li:before {
    content: "\25A0";
    float: left;
    margin-left: -1.25rem;
    font-size: 18px;
    line-height: 15px;
    color: #FCC800;
}

.slider {
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.slider figure {
    position: relative;
    width: 500%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 24s slidy infinite;
}

figure img {
    width: 20%;
    float: left;
}

@keyframes slidy {
    0% {
        left: 0%;
    }

    22% {
        left: 0%;
    }

    25% {
        left: -100%;
    }

    47% {
        left: -100%;
    }

    50% {
        left: -200%;
    }

    72% {
        left: -200%;
    }

    75% {
        left: -300%;
    }

    97% {
        left: -300%;
    }

    100% {
        left: -400%;
    }
}

.button {
    display: flex;
    justify-content: center;
}

.button a {
    font-size: 0.938rem;
    padding: 0.438rem;
    background-color: #FCC800;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

header {
    display: flex;
    padding: 1.25rem 0;
}

article {
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 -4px 30px 0 #BBBBBB;
}

footer {
    background-color: #F3F3F3;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 40rem) {
    header {
        justify-content: center;
    }

    footer {
        display: block;
        text-align: center;
    }

    h1 {
        font-size: 1.4rem;
    }
}