@font-face {
    font-display: swap;
    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-display: swap;
    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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #231f20;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

#wrapper {
    max-width: 490px;
    margin: 16px auto;
    border: 2px solid #231f20;
    padding: 6px 16px 6px 190px;
    background-color: #fff;
    position: relative;
}

header {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}

header div {
    position: absolute;
    transform: rotate(-90deg);
    left: 28px;
    top: 139px;
    width: 200px;
}

header p {
    font-size: 14px;
    line-height: 1.3;
    color: #6b221d;
}

.font {
    font-size: 12px;
    margin: 0 0 14px;
}

.mobile {
    display: none;
}

article strong {
    font-size: 21px;
}

span {
    white-space: nowrap;
}

:is(p, h1) {
    text-align: center;
}

:is(strong, h1, header p) {
    font-weight: 700;
}

h1 {
    font-size: 24px;
    line-height: 1.25;
    margin: 6px 0;
    color: #6b221d;
}

h1+p {
    margin: 0 0 6px;
}

h1 span {
    font-size: 14px;
    font-weight: 400;
    color: #231f20;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

@media all and (max-width: 488px) {
    #wrapper {
        margin: 0 auto;
        border: none;
        padding: 0;
    }

    header {
        position: relative;
    }

    header div {
        width: auto;
        transform: none;
        top: auto;
        bottom: 16px;
        left: 22%;
    }

    header p {
        font-size: 16px;
        line-height: 1.5;
    }

    .font {
        font-size: 14px;
    }

    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }

    article {
        padding: 16px 16px 0;
    }

    footer {
        padding: 0 16px 16px;
    }

    h1 {
        font-size: 26px;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }

    article br {
        display: none;
    }
}

@media all and (max-width: 420px) {
    header div {
        left: 18%;
        bottom: 10px;
    }
}

@media all and (max-width: 374px) {
    header div {
        left: 14%;
    }

    .font {
        margin: 0 0 6px;
    }
}