﻿@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');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v36-latin-regular.eot');
    src: url('../fonts/open-sans-v36-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v36-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v36-latin-regular.woff') format('woff'), url('../fonts/open-sans-v36-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v36-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v36-latin-700.eot');
    src: url('../fonts/open-sans-v36-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v36-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v36-latin-700.woff') format('woff'), url('../fonts/open-sans-v36-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v36-latin-700.svg#OpenSans') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 18px;
    line-height: 26px;
    color: #12081c;
    font-weight: 400;
}

#wrapper {
    max-width: 620px;
    margin: 1rem auto;
    border: solid 2px #9cc33f;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    position: relative;
}

#wrapper div {
    flex: 1 1 0;
}

:is(strong, h1) {
    font-weight: 700;
}

header {
    padding: 9px 16px 0;
    display: flex;
    justify-content: flex-end;
    position: absolute;
    top: 0;
    right: 0;
}

article {
    margin: 167px 10px 17px 0;
    width: 60.175%;
    border-top: 1px solid #9cc33f;
    padding: 13px 10px 0 14px;
}

article p {
    font-size: 18px;
    line-height: 25px;
}

footer {
    padding: 6px 8px 20px 16px;
    background: #9cc33f;
    width: 38%;
}

footer p {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #fff;
}

footer p:nth-of-type(2) {
    color: #12081c;
}

.margin {
    margin: 0 0 195px !important;
    line-height: 30px;
    text-shadow: 1px 1px #333;
}

h1 {
    font-size: 34px;
    margin: 0 0 16px;
    line-height: 36px;
    color: #253840;
}

h1 span {
    font-size: 19px;
    white-space: nowrap;
}

h2 {
    font-size: 19px;
    line-height: 20px;
    margin: 17px 0 0;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

p:not(:last-child) {
    margin-bottom: 8px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #12081c;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none
}

ul li {
    padding-left: 12px;
}

li:before {
    content: "\2010";
    color: #12081c;
    float: left;
    font-size: 21px;
    text-indent: -12px;
    margin-top: -2px;
}

@media screen and (max-width:619px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media screen and (max-width:590px) {
    #wrapper {
        flex-direction: column;
    }

    article {
        padding: 10px 16px;
        width: 100%;
        margin: 0;
    }

    header {
        position: static;
        justify-content: center;
        margin: 0 0 1rem;
    }

    footer {
        width: 100%;
    }

    footer p {
        text-align: center;
    }

    .margin {
        margin: 0 0 20px !important;
    }
}