@font-face {
    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-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');
}

@font-face {
    font-display: swap;
    font-family: 'Monomaniac One';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/monomaniac-one-v11-latin-regular.eot');
    src: url('../fonts/monomaniac-one-v11-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/monomaniac-one-v11-latin-regular.woff2') format('woff2'), url('../fonts/monomaniac-one-v11-latin-regular.woff') format('woff'), url('../fonts/monomaniac-one-v11-latin-regular.ttf') format('truetype'), url('../fonts/monomaniac-one-v11-latin-regular.svg#MonomaniacOne') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-size: 16px;
    line-height: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 510px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
    padding: 16px;
}

#wrapper:before {
    content: "";
    width: 16px;
    height: 27%;
    background: #006358;
    position: absolute;
    top: 0;
    left: 0;
}

#wrapper:after {
    content: "";
    width: 52%;
    height: 16px;
    background: #006358;
    position: absolute;
    top: 0;
    left: 0;
}

.text p {
    background: #006358;
    font-size: 10px;
    line-height: 14px;
    padding: 3px 10px;
    color: #fff;
}

.text {
    display: flex;
    justify-content: end;
}

.main {
    background: url('../images/background.jpg') repeat-y;
    background-size: 100% 100%;
    padding: 0 16px 16px;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

h1 {
    margin: 16px 0;
    font-size: 22px;
    line-height: 26px;
}

h1 span {
    font-weight: 400;
    white-space: nowrap;
}

:is(h2, h3) {
    color: #fff;
}

h2 {
    font-size: 20px;
    line-height: 1.3;
    background: linear-gradient(to right, #891636 0%, #71152B 50%, #601122 100%);
    text-align: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-10deg);
    position: absolute;
    top: -25px;
    left: 20%;
    z-index: 1;
}

h3 {
    font-size: 41px;
    margin: 16px 0;
    font-weight: 400;
    line-height: 1;
    font-family: 'Monomaniac One', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

h3 span {
    display: inline-block;
    padding: 0 14px 4px;
    background: linear-gradient(to right, #006358 0%, #004B45 50%, #003836 100%);
}

h3 span:nth-of-type(2) {
    padding-right: 27px;
    word-spacing: 1px;
    letter-spacing: 1px;
}

p:not(:last-child) {
    margin-bottom: 1rem;
}

.logo {
    display: flex;
    justify-content: end;
}

article {
    padding: 20px 20px 30px;
    border-right: 16px solid #006358;
    background: #fff;
}

article p:nth-of-type(1) {
    text-align: justify;
    hyphens: auto;
}

footer {
    position: absolute;
    bottom: 32px;
    right: 38px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media (max-width: 509px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    article p:nth-of-type(1) {
        text-align: left;
    }

    article {
        padding: 16px 16px 30px;
    }

    h2 {
        left: 5%;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }
}