﻿@charset "utf-8";

/* Standard */

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

a {
    color: inherit;
    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 {
    color: #534f4c;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    background-color: #C9CDCE;
    box-shadow: 0 0 26px #666;
    max-width: 794px;
    margin: 18px auto 20px auto;
    position: relative;
}

p {
    text-align: justify;
    margin: 0 0 1.25rem;
    opacity: 0.8;
}

h1 {
    font-size: 2.25rem;
    line-height: 1.1;
    color: #853e29;
    font-weight: 900;
    margin: 0 0 0 0;
    font-family: 'Caveat Brush', cursive;
    padding-bottom: 1.25rem;
    text-transform: uppercase;
}

h1 span {
    font-size: 17px;
    line-height: 1.1em;
    color: #000;
    font-weight: bold;
    margin: 0 0 1.25rem 0;
    font-family: 'Poppins', sans-serif;
}

h2 {
    font-size: 1.625rem;
    line-height: 1;
    margin: 0 0 .625rem;
    padding: 0;
    font-family: 'Caveat Brush', cursive;
    text-transform: uppercase;
}

h2:before {
    content: "";
    float: left;
    position: relative;
    width: .625rem;
    height: 1.312rem;
    background: url(../images/title.png) no-repeat;
    background-size: contain;
    margin-left: 0;
    top: .187rem;
}

h3 {
    font-size: 1rem;
    line-height: 1;
    margin: 0 0 .625rem;
}

ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    opacity: 0.8;
    text-align: justify;
}

ul li {
    padding-left: 14px;
    letter-spacing: -0.1px;

}

ul li:before {
    content: "\2022"
        /* ❖ *  ● ■ ▪ ◆ ❖ ✔ » ▸ ▶ ► ➤ ➢ ➧ ➭ ➽ ➲ 》➠ ◢ ◥ ☛ */
    ;
    float: left;
    margin-left: -14px;
    font-size: 1.375rem;
    line-height: 0.9;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header {
    position: relative;
    background-color: #383c41;
    padding: 15px;
}

header a {
    max-width: 12.5rem;
    display: block;
    margin: 0;
}

header menu {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    z-index: 1;
    width: 100%;
    padding: 1.875rem .937rem .625rem;
    top: 0;
    margin: 0;
}

p span {
    font-size: .75rem;
    font-style: italic;
    letter-spacing: normal;
}

p span a {
    color: #0563C1;
    text-decoration: underline;
}

article {
    padding: 0 37px;
}

article > p:last-of-type {
    font-size: .75rem;
}

#wrapper > article > p:nth-child(13) > em > strong {
    color: #853e29;
}

footer {
    position: relative;
    padding: 0 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: .625rem
}

footer > a {
    position: absolute;
    margin: 0 auto;
    max-width: 14.375rem;
    bottom: 30%;
    right: 5%;
}

.slider {
    position: relative;
    margin: 0 0 20px;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s 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;
}


@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
}

@media only screen and (max-width:793px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0 .625rem 0;
    }

    header {
        margin: 0 -10px;
        ;
    }

    article {
        padding: 0;
    }

    p,
    ul {
        margin: 0 0 10px;
        text-align: left
    }

    ul li {
        padding-left: .937rem;
        letter-spacing: 0;
    }

    ul li:before {
        margin-left: -.937rem;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: .875rem;
        margin: 0 0 .312rem;
    }

    article p br {
        display: none;
    }

    footer > a {
        position: static;
        display: block;
        margin-bottom: 1.25rem;
    }

    footer {
        padding: 0;
        padding-bottom: .312rem
    }

    .slider {
        position: relative;
        margin: 0 -10px 10px;
    }
}

@media only screen and (max-width:479px) {
    h1 {
        font-size: 1.5em;
    }
}
