@font-face {
    font-display: swap;
    font-family: 'PT Sans Narrow';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/pt-sans-narrow-v18-latin-regular.eot');
    src: url('../fonts/pt-sans-narrow-v18-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-narrow-v18-latin-regular.woff2') format('woff2'), url('../fonts/pt-sans-narrow-v18-latin-regular.woff') format('woff'), url('../fonts/pt-sans-narrow-v18-latin-regular.ttf') format('truetype'), url('../fonts/pt-sans-narrow-v18-latin-regular.svg#PTSansNarrow') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v24-latin-700.eot');
    src: url('../fonts/lato-v24-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-700.woff2') format('woff2'), url('../fonts/lato-v24-latin-700.woff') format('woff'), url('../fonts/lato-v24-latin-700.ttf') format('truetype'), url('../fonts/lato-v24-latin-700.svg#Lato') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    min-height: 100%;
}

body {
    color: #231f20;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
    font-size: 1.5rem;
    line-height: 1.75rem;
    font-weight: 400;
}

#wrapper {
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff;
}

header p {
    background: #ed1c24;
    padding: 0.3125rem 1.25rem;
    color: #fff;
    text-align: justify;
    hyphens: auto;
}

article {
    padding: 0.9375rem 1.25rem;
}

article span {
    color: #ed1c24;
}

section {
    display: flex;
    align-items: center;
    column-gap: 2.4375rem;
}

.flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact {
    margin-top: 222px;
}

.content {
    width: 48%;
}

.pragraph {
    margin-bottom: 0.5625rem;
}

.subtitle {
    display: block;
}

footer {
    padding: 0 0.8125rem 0 0.5rem;
    border-top: 1px solid #000;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

:is(footer p, h1) {
    font-weight: 700;
}

footer p {
    padding-top: 1rem;
    font-size: 1.375rem;
    font-family: 'Lato', Arial, sans-serif;
    line-height: 26px;
    margin-bottom: 0;
}

h1 {
    font-size: 2.125rem;
    line-height: 1.0625;
    font-family: 'Lato', Arial, sans-serif;
    color: #fff;
    text-align: center;
    background: #60bb46;
    padding: 0.3125rem 1rem;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
    white-space: nowrap;
}

.nowrap {
    white-space: nowrap;
    color: #000 !important;
}

@media only screen and (max-width: 799px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    header p br {
        display: none;
    }

    :is(p, h1) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h1 {
        padding-top: 1rem;
    }

    header p {
        background: #E40613;
        padding: 0.5rem 1rem;
        text-align: left;
    }

    article {
        padding: 1rem;
    }

    .content {
        width: 100% !important;
    }

    .contact {
        margin-top: 11px;
        position: relative;
    }

    section {
        column-gap: 13px;
    }

    .mobile-responsive {
        margin-right: 375px;
    }

    .mobile-block {
        position: absolute;
        right: 0;
        top: 0
    }

    .mobile-block br {
        display: block;
    }

    footer {
        padding: 0.5rem 1rem;
        gap: 0.8125rem;
    }
}

@media only screen and (max-width:668px) {
    section {
        justify-content: center;
        margin: 10px 0;
    }

    .mobile-responsive {
        margin-right: 0;
    }

    .mobile-block {
        position: static;
    }

    .contact p {
        text-align: center;
    }

    .link {
        white-space: normal !important;
    }
}

@media only screen and (max-width:479px) {
    section {
        column-gap: 15px;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    footer p {
        text-align: center;
    }
}

@media only screen and (max-width:390px) {
    .mobile-nomal {
        white-space: normal !important;
    }
}