﻿@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #000;
    font-weight: 400;
}

#wrapper {
    margin: 1rem auto;
    padding: 1.25rem 1.625rem 2.25rem;
    max-width: 840px;
    background: #fff;
    overflow: hidden;
    position: relative;
    border: solid thin #cbcbcb;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

figure {
    margin: 0 -1.625rem 1.25rem;
}

.button {
    display: flex;
    justify-content: flex-end;
}

.button a {
    background: #464646;
    height: 40px;
    line-height: 2.5rem;
    width: 160px;
    text-align: center;
    display: block;
    color: #FFF !important;
    font-size: 1rem;
}

.button a:hover {
    background: #cd1316;
    text-decoration: none;
}

p {
    margin-bottom: 1.25rem;
}

span {
    white-space: nowrap;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

h1 {
    margin: 1.5rem 0;
    font-size: 2.3rem;
    line-height: 1.2;
    color: #cd1316;
}

h2 {
    font-size: 1.9375rem;
    line-height: 3.375rem;
    margin: 2.5rem 0 1rem;
    color: #cd1316;
}

ul {
    margin: 0 0 20px 0.75rem;
    list-style: none;
}

ul li {
    padding-left: 1.0625rem;
    margin-bottom: 0.75rem;
    position: relative;
}

ul li:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #000;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 10px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media screen and (max-width:839px) {
    #wrapper {
        border: none;
        margin: 0;
        padding: 1rem;
    }

    figure {
        margin: 0 -1rem 1rem;
    }

    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media screen and (max-width:480px) {
    header {
        flex-direction: column;
    }

    :is(header, .button) {
        justify-content: center;
    }

    h1 {
        text-align: center;
        font-size: 1.5rem;
        line-height: 1.4;
        margin: 1rem 0;
    }

    ul {
        margin-left: 0;
    }
}