﻿@font-face {
    font-display: swap;
    font-family: 'Arsenal';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/arsenal-v12-latin-regular.eot');
    src: url('../fonts/arsenal-v12-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/arsenal-v12-latin-regular.woff2') format('woff2'),
        url('../fonts/arsenal-v12-latin-regular.woff') format('woff'),
        url('../fonts/arsenal-v12-latin-regular.ttf') format('truetype'),
        url('../fonts/arsenal-v12-latin-regular.svg#Arsenal') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Arsenal';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/arsenal-v12-latin-700.eot');
    src: url('../fonts/arsenal-v12-latin-700.eot?#iefix') format('embedded-opentype'),
        url('../fonts/arsenal-v12-latin-700.woff2') format('woff2'),
        url('../fonts/arsenal-v12-latin-700.woff') format('woff'),
        url('../fonts/arsenal-v12-latin-700.ttf') format('truetype'),
        url('../fonts/arsenal-v12-latin-700.svg#Arsenal') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Arsenal', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.125;
    text-align: left;
    color: #231f20;
    font-weight: 400;
}

#wrapper {
    margin: 0.75rem auto;
    padding: 0 55px 0.625rem;
    max-width: 822px;
    background: #ececec url(../images/background.jpg) no-repeat left 379px;
    overflow: hidden;
    position: relative;
    border: solid thin #cbcbcb;
}

header {
    margin: 0 -3.75rem 0.375rem;
}

article {
    position: relative;
}

.btn {
    position: absolute;
    top: 85px;
    right: -28px;
}

section a {
    position: absolute;
    top: 43%;
    left: 56%;
    height: 6%;
    width: 16%;
}

section img {
    display: none;
}

footer {
    margin: 0.625rem -43px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

footer strong {
    color: #848689;
    position: relative;
    top: -0.9375rem;
    left: -0.375rem;
}

:is(h2, h3, strong) {
    font-weight: 700;
}

h1 {
    margin: 2.125rem 0 35.25rem 0.8125rem;
    font-size: 1.625rem;
    line-height: 2.375rem;
    font-weight: 400;
    text-indent: -0.9375rem;
}

h1:before {
    font-size: 30px;
    margin-right: 1rem;
    position: relative;
    top: 1px;
    float: left;
    content: "\2022";
    color: #cb143e;
    font-family: Arial, sans-serif;
}

h2 {
    font-size: 56px;
    line-height: 1.25;
    margin: 0 0 0.5rem;
    color: #008ece;
}

h3 {
    font-size: 1rem;
    line-height: 1.375rem;
    margin: 0.625rem 0 0.125rem;
    color: #008ece;
}

h4 {
    font-size: 1.875rem;
    line-height: 2.125rem;
    margin: 0.625rem 0 31.3125rem;
    font-weight: 400;
    color: #008ece;
}

p:not(:last-child) {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ins {
    text-decoration: none;
    color: #cb143e;
    font-size: 120%;
    position: relative;
    top: 1px;
}

@media screen and (max-width: 820px) {
    #wrapper {
        border: none;
        margin: 0;
        hyphens: auto;
        padding: 0 1rem 0.625rem;
        background-image: none;
    }

    h1 {
        margin: 1rem 1rem;
        font-size: 1.625rem;
        line-height: 2.375rem;
        font-weight: 400;
        text-indent: -0.9375rem;
    }

    .btn {
        position: static;
        margin: 16px 0;
        display: flex;
        justify-content: center;
    }

    header {
        margin: 0 -1rem 0.9375rem;
    }

    .phone {
        position: relative;
        width: 225px;
        margin: 1rem auto;
    }

    h4 {
        margin-bottom: 1rem;
    }

    :is(p a, footer p span) {
        white-space: nowrap;
    }

    br {
        display: none;
    }

    :is(footer br, section img) {
        display: block;
    }

    footer {
        margin: 1rem 0 0;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        flex-wrap: wrap;
        gap: 12px;
    }

    a {
        white-space: nowrap;
    }

    span {
        white-space: nowrap;
    }
}

@media screen and (max-width: 720px) {
    h2 {
        font-size: 7.25vw;
    }
}