﻿@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v40-latin-regular.eot');
    src: url('../fonts/open-sans-v40-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-regular.woff') format('woff'), url('../fonts/open-sans-v40-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v40-latin-700.eot');
    src: url('../fonts/open-sans-v40-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-700.woff') format('woff'), url('../fonts/open-sans-v40-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-700.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/caveat-v23-latin-500.eot');
    src: url('../fonts/caveat-v23-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/caveat-v23-latin-500.woff2') format('woff2'), url('../fonts/caveat-v23-latin-500.woff') format('woff'), url('../fonts/caveat-v23-latin-500.ttf') format('truetype'), url('../fonts/caveat-v23-latin-500.svg#Caveat') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.25rem;
    font-size: 1rem;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #000;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 480px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    padding: 20px;
    background: #fff url(../images/background.jpg) no-repeat;
    background-size: cover;
}

footer {
    display: flex;
    gap: 10px;
}

footer p {
    font-size: 13px;
    line-height: 16px;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

.color {
    color: #E40B10;
    font-size: 110%;
}

h1 {
    margin: 2rem 0 0;
    font-size: 25px;
    line-height: 41px;
    color: #E40B10;
}

h1 span {
    font-family: 'Caveat', Arial, sans-serif;
    color: #000;
    display: block;
    font-size: 45px;
    font-weight: 500;
}

h1 small {
    font-size: 70%;
    font-weight: normal;
}

h2 {
    font-size: 40px;
    margin: 1rem 0;
    line-height: 22px;
}

h2 span {
    font-family: 'Caveat', Arial, sans-serif;
    \: #000;
    font-weight: 500;
    color: #E40B10;
    font-size: 120%;
}

h3 {
    font-size: 46px;
    margin: 1rem 0;
    font-family: 'Caveat', Arial, sans-serif;
    line-height: 1;
    font-weight: 500;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    margin: 0 0 1rem 20px;
    list-style: none;
}

ul li {
    padding-left: 1.25rem;
}

ul li:before {
    content: "\2022";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 1.5625rem;
    text-indent: -1.25rem;
}

img {
    max-width: 100%;
}

@media all and (max-width:799px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(footer br) {
        display: none;
    }
}