﻿@charset "utf-8";

/* Standard */

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

a {
    color: black;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

a:hover,
a:active,
a:visited {
    text-decoration: underline;
}

u {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #000;
    background: #fff;
    font-weight: normal;
}

#wrapper {
    position: relative;
    overflow: hidden;
    max-width: 48.75rem;
    margin: 0.625rem auto;
    padding: 1.875rem 3.75rem 1.25rem;
    background: url(../images/bg.jpg) no-repeat;
    background-size: cover;
}

p {
    margin: 0 0 0.625rem;
}

h1 {
    background: rgb(229, 25, 55);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.3;
    text-align: left;
    margin: 0.313rem 0 0rem;
    padding: 0rem 0.313rem 0 0.313rem;
    display: inline-block;
    text-transform: uppercase;
}

h1 span {
    font-size: 0.8em;
    text-transform: none;
}

h2 {
    font-size: 1.231em;
    line-height: 1.4;
    margin: 0 0 0;
}

h3 {
    text-align: left;
    font-size: 0.875rem;
    line-height: 1;
    color: black;
    margin: 0;
    text-transform: uppercase;
}

ul {
    padding: 0;
    margin-bottom: 1.25rem;
    list-style: none;
    margin-top: .125rem;
}

ul p {
    margin: 0 0 0 0;
}

ul li {
    padding-left: 0.938rem;
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: 0.375rem;
    height: 0.375rem;
    background: #E51937;
    margin-left: -0.938rem;
    top: 0.375rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

header {
    display: block;
}

header a {
    margin: 0 auto;
    display: block;
    max-width: 13.437rem
}

footer {
    display: block;
}

footer section:first-of-type {
    width: 50%;
    float: left;
    font-size: 0.75rem;
    margin-top: 1.25rem;
}

footer section:last-of-type {
    width: 50%;
    float: left;
    margin-top: 4.5rem;
}

footer img {
    width: 100%;
}

footer span {
    font-weight: bold;
    color: #E51937;
}

aside {
    display: block;
}

aside section:first-of-type {
    width: 90%;
    font-size: 3.5rem;
    font-weight: 100;
    color: #E51937;
    text-align: right;
    line-height: 0.7;
    margin-top: 4.38rem;
}

aside section:last-of-type {
    width: 99%;
    margin-left: -3.75rem;
    font-size: 3.875rem;
    font-weight: bold;
    background: #E51937;
    text-align: right;
    color: #fff;
    line-height: 1;
    margin-bottom: 3.75rem;
}

article {
    display: block;
}

article section {
    margin-left: 15%;
    margin-top: 3.75rem;
    margin-bottom: 3.75rem;
}

.slider {
    position: relative;
    margin-top: 3rem;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 24s linear infinite 0s;
}

.slider > img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider > img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider > img:nth-of-type(3) {
    animation-delay: 12s;
}

.slider > img:nth-of-type(4) {
    animation-delay: 18s;
}


@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }
}

@media only screen and (max-width:48.687rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 1rem;
    }

    a {
        font-weight: bold;
    }

    footer {
        margin: 0 -0.625rem -0.625rem;
        padding: 0.625rem;
    }

    header {
        margin: -0.625rem -0.625rem 0;
        padding: 0.625rem;
    }

    aside {
        padding: 10px 0;
    }

    aside section:first-of-type {
        width: 100%;
        font-size: 1.875rem;
        font-weight: 100;
        color: #E51937;
        line-height: 0.7;
        margin-top: 0;
        text-align: center;
    }

    aside section:last-of-type {
        width: 100%;
        margin-left: 0;
        font-size: 1.875rem;
        font-weight: bold;
        background: #E51937;
        color: #fff;
        line-height: 1;
        margin-bottom: 0;
        text-align: center;
    }

    h1 {
        font-size: 1rem;
        width: auto;
        margin: 0.625rem 0;
        display: block;
        padding: 0.625rem;
        line-height: 1.2;
        text-align: center;
    }

    h3 {
        font-size: 0.875rem;
    }

    article section {
        margin: 0;
    }

    footer section:first-of-type,footer section:last-of-type {
        width: 100%;
        float: left;
        margin: 0;
    }

}

@media only screen and (max-width:479px) {
    h1 {
        font-size: 1.5em;
    }
}
