:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: 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-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: 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');
}

html {
    min-height: 100%;
}

body {
    color: #4c4d4f;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 400;
}

#wrapper {
    max-width: 1030px;
    margin: 1rem auto;
    border: 1px solid #4c4d4f;
    background: #fff url('../images/background.jpg') no-repeat 0 0;
}

header {
    padding: 2.875rem 2.8125rem 1.875rem 3.625rem;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
}

article {
    padding: 9.375rem 2.8125rem 2rem 23.8125rem;
    position: relative;
}

footer {
    padding: 1rem 3.5625rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.625rem;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 8.1875rem;
    padding-left: 1.5625rem;
    font-weight: 400;
    font-size: 23px;
    line-height: 27px;
    position: relative;
}

h1::before {
    content: "";
    width: 0.5625rem;
    height: 0.5625rem;
    background: #e41c3c;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0.5rem;
}

h2 {
    font-weight: 700;
    font-size: 1.625rem;
    line-height: 1.875rem;
    color: #e41c3c;
}

h3 {
    margin: 0 0 0.375rem;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
}

h4 {
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 2.5rem;
    text-align: right;
    color: #fff;
}

h5 {
    font-weight: 700;
    font-size: 1.0625rem;
    line-height: 1.3125rem;
    text-align: right;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #4c4d4f;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.color {
    color: #e41c3c !important;
}

footer :is(p, a) {
    color: #fff !important;
}

.image {
    display: none;
}

.right {
    position: absolute;
    z-index: 3;
    right: 2.875rem;
    bottom: 3.9375rem;
}

h4 small {
    display: block;
    font-size: 1.125rem;
    line-height: 1.375rem;
    margin-top: 1.625rem;
}

.right+p {
    margin-left: 1.5625rem;
}

h5 img {
    position: relative;
    top: 1.375rem;
    left: -0.75rem;
}

.box {
    width: 10.3125rem;
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
    align-items: center;
}

.box p {
    width: calc(100% - 4.375rem);
}

@media all and (max-width: 1029px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    header {
        padding: 2.875rem 1rem 1.875rem;
    }

    article {
        padding: 9.375rem 1rem 2rem 23.625rem;
    }

    .right+p {
        margin-left: 0;
    }

    .right {
        bottom: 1.1875rem;
        right: 1rem;
    }

    h4 small {
        margin-top: 0.625rem;
    }

    footer {
        padding: 1rem;
    }
}

@media all and (max-width: 820px) {
    #wrapper {
        background: url('../images/background_mobile.jpg') no-repeat 0 0;
        background-size: cover;
    }

    header {
        padding: 1rem;
        border-bottom: 0.125rem solid #4c4d4f;
        gap: 0.75rem;
    }

    article {
        padding: 1rem;
    }

    h1 {
        margin-bottom: 1rem;
    }

    .right {
        position: static;
        margin-bottom: 2.25rem;
    }

    h5 img {
        left: 0;
    }

    :is(h4, h5) {
        text-align: left;
    }

    footer {
        background: #818285;
    }
}

@media all and (max-width: 575px) {
    header {
        flex-direction: column;
        justify-content: center;
    }

    h2 {
        text-align: center;
    }
}