: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: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 810px;
    margin: 16px auto;
    border: 5px solid #9e193b;
    background: #fff;
    position: relative;
}

footer {
    position: absolute;
    z-index: 3;
    right: 10px;
    bottom: 10px;
    padding: 0 0 10px 20px;
    border-bottom: 2px solid #000;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 12px;
    font-weight: 700;
    font-size: 22px;
    line-height: 26px;
}

h1 span {
    white-space: nowrap;
}

h2 {
    margin: 0 0 275px;
    font-weight: 700;
    padding: 0 0 0 35px;
    font-size: 22px;
    line-height: 26px;
    position: relative;
}

h2::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #000;
    position: absolute;
    z-index: 3;
    left: 10px;
    top: 6px;
}

h3 {
    margin: -26px 100px 6px 0;
    font-weight: 700;
    font-size: 19px;
    line-height: 23px;
    text-align: right;
}

h4 {
    padding: 2px 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    background: #9e193b;
    color: #fff;
    text-align: center;
}

h4 a {
    color: #fff !important;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.text {
    font-size: 18px;
}

.box {
    padding: 10px;
    position: relative;
}

.font {
    font-size: 120%;
}

.lean {
    margin-top: 5px;
}

hr {
    border: none;
    height: 2px;
    margin: 5px 0 10px;
    background: #000;
    width: calc(100% - 100px);
}

footer::before {
    content: "";
    width: 2px;
    height: 90px;
    background: #000;
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 0;
}

.flex {
    position: absolute;
    z-index: 3;
    right: 10px;
    top: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px 10px;
}

@media all and (max-width: 809px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    .box {
        padding: 16px 16px 10px;
    }

    h5 {
        margin: 0 0;
        padding: 0 0;
        font-size: 13px;
        line-height: 18px;
    }

    footer {
        right: 16px;
    }

    :is(h4, p) span {
        white-space: nowrap;
    }
}

@media all and (max-width: 755px) {
    h2 {
        margin-bottom: 16px;
    }

    .flex {
        position: static;
        flex-direction: row;
        margin-bottom: 15px;
    }

    h3 {
        margin-right: 0;
    }

    hr {
        width: 100%;
    }

    footer {
        position: static;
        border: none;
    }

    footer::before {
        display: none;
    }
}

@media all and (max-width: 655px) {
    h3 {
        margin-top: 10px;
        text-align: left;
    }
}