:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff'), url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 19px;
    font-weight: 400;
}

#wrapper {
    max-width: 640px;
    padding: 14px 10px 24px 35px;
    margin: 16px auto;
    border: 2px solid #c7c8ca;
    border-left-width: 18px;
    background: #fff url('../images/background.jpg') no-repeat center top 54px;
    position: relative;
}

#wrapper::before {
    content: "";
    width: 30px;
    height: 100%;
    background: #f7d43e;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0;
}

header {
    position: absolute;
    z-index: 4;
    right: 8px;
    top: 5px;
}

footer {
    position: absolute;
    z-index: 3;
    right: 10px;
    bottom: 16px;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 5px 0 12px;
    font-weight: 700;
    font-size: 21px;
    line-height: 25px;
    text-align: center;
}

h2 {
    font-size: 18px;
    line-height: 24px;
    text-align: center;
}

h3 {
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    transform: rotate(-90deg);
    position: absolute;
    z-index: 4;
    left: -115px;
    top: 174px;
}

h4 {
    margin: 0 0 5px 45px;
    font-weight: 700;
    font-size: 17px;
    line-height: 23px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    padding: 0 0 10px 94px;
    list-style: none;
}

ul li {
    padding-left: 35px;
    position: relative;
    line-height: 26px;
}

li:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #000;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 8px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.box p {
    text-align: center;
    margin: 4px 0;
}

.box {
    padding-right: 125px;
}

@media all and (max-width: 639px) {
    #wrapper {
        margin: 0;
        padding: 16px;
        border: none;
        background: #fff url('../images/background.jpg') no-repeat center;
    }

    :is(ul, p) {
        hyphens: auto;
    }
}

@media all and (max-width: 580px) {
    header {
        position: static;
        margin-bottom: 10px;
    }

    #wrapper::before {
        display: none;
    }

    h2 {
        font-size: 17px;
    }

    h3 {
        position: static;
        transform: none;
        margin-bottom: 16px;
        font-size: 25px;
    }

    h4 {
        margin-left: 0;
    }

    ul {
        padding-left: 0;
    }

    ul li {
        padding-left: 16px;
    }

    .box {
        padding-right: 0;
    }

    .nowap {
        white-space: normal !important;
    }

    footer {
        position: static;
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }
}