﻿@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v32-latin-regular.eot');
    src: url('../fonts/roboto-v32-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v32-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v32-latin-regular.woff') format('woff'), url('../fonts/roboto-v32-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v32-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v32-latin-700.eot');
    src: url('../fonts/roboto-v32-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v32-latin-700.woff2') format('woff2'), url('../fonts/roboto-v32-latin-700.woff') format('woff'), url('../fonts/roboto-v32-latin-700.ttf') format('truetype'), url('../fonts/roboto-v32-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 1.25rem;
    font-size: 15px;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 330px;
    margin: 1rem auto;
    border: 2px solid #7e2417;
    overflow: hidden;
    background-color: #fff;
}

header {
    display: flex;
    justify-content: center;
}

article {
    padding: 10px 1rem;
    background: url(../images/background.jpg) no-repeat;
    background-size: cover;
}

footer {
    padding: 10px 1rem;
    background: #d0ac4d;
}

footer p {
    margin: 0;
    font-size: 18px;
    line-height: 22px;
}

:is(strong, h1) {
    font-weight: 700;
}

.link {
    color: #7e2417 !important;
}

span {
    white-space: nowrap;
}

h1 {
    margin: 15px 0 8px;
    font-size: 35px;
    line-height: 32px;
    text-align: center;
    color: #7e2417;
}

h2 {
    font-size: 18px;
    margin: 1rem 0;
    line-height: 22px;
}

.font {
    font-size: 19px;
    line-height: 23px;
}

.margin{
    margin: 0 -11px 8px;
    font-size: 98%;
}

.font-size {
    font-size: 21px;
    line-height: 27px;
    margin: 18px 0 0;
}

p {
    margin: 0 0 8px;
    text-align: center;
}

.color {
    color: #7e2417 !important;
    font-size: 110%;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
}

@media all and (max-width:329px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    .margin{
        margin: 0 0 8px;
    }

    :is(p, h1) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(footer br) {
        display: none;
    }
}