@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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 22px;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 525px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

header {
    margin: 0 0 86px;
}

.logo {
    position: absolute;
    top: 44px;
    right: 10px;
}

header p {
    text-align: right;
    padding: 10px;
    background: #209bd1;
    color: #FFF;
    font-size: 20px;
}

article {
    padding: 0 200px 10px 10px;
}

.content {
    width: 315px;
}

footer {
    position: absolute;
    bottom: 5px;
    right: 25px;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    position: absolute;
    font-size: 27px;
    line-height: 29px;
    background: #5a2a7a;
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0% 100%);
    padding: 10px;
    color: #FFF;
    width: 53%;
    top: 0;
    left: 0;
}

h1 small {
    font-weight: normal;
    font-size: 15px;
    display: block;
}

h1 span {
    font-weight: normal;
    font-size: 18px;
    display: block;
}

h2 {
    font-size: 16px;
    margin: 1rem 0 0;
    line-height: 20px;
}

h3 {
    font-size: 1rem;
    margin: 1rem 0;
    line-height: 1.125rem;
    background: #5a2a7a;
    color: #FFF;
    padding: 10px;
    text-align: center;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0;
    list-style: none;
}

ul li {
    padding-left: 1.25rem;
}

ul li:before {
    content: "\25A0";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 1.5625rem;
    color: #209bd1;
    text-indent: -1.25rem;
    margin: -3px 0 0;
}

.box {
    background: #209bd1;
    font-weight: bold;
    color: #FFF;
    position: absolute;
    top: 379px;
    right: 0;
    clip-path: polygon(40% 0%, 100% 0, 100% 100%, 0% 100%);
    padding: 10px 10px 10px 97px;
    width: 212px;
    font-size: 18px;
}

.box p {
    margin: 0;
}

.box span {
    display: block;
    margin: 0 0 0 -17px;
}

.box a {
    color: #FFF;
    margin: 0 0 0 -3px;
    display: block;
    font-size: 16px;
}

.zenefikat {
    position: absolute;
    top: 241px;
    right: 0;
}

@media all and (max-width:524px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    p {
        margin: 0 0 0.625rem;
        text-align: left;
    }

    br:not(footer br) {
        display: none;
    }

    .content {
        width: auto;
    }

    header {
        margin: 0;
    }

    :is(.logo, footer, .zenefikat, .box) {
        position: static;
        width: auto;
        display: flex;
        justify-content: center;
        margin: 0 0 1rem;
        gap: 1rem;
    }

    h1 {
        position: static;
        width: 100%;
        clip-path: none;
    }

    article {
        padding: 1rem;
    }

    .box {
        clip-path: none;
        padding: 1rem;
    }

    .box span {
        display: inline;
        margin: 0;
    }

    .box span a {
        margin: 0;
    }
}