﻿@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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #231f20;
    font-weight: 400;
}

#wrapper {
    margin: 1rem auto;
    padding: 30px 545px 16px 80px;
    max-width: 1080px;
    background: #fff;
    overflow: hidden;
    position: relative;
    border: solid 1px #231f20;
    min-height: 670px;
}

header {
    display: flex;
    flex-direction: column;
    align-items: end;
    position: absolute;
    right: 60px;
    top: 30px;
    gap: 18px;
}

footer {
    margin: 10px 0 0;
    width: 452px;
    position: absolute;
    right: 40px;
    top: 468px;
}

:is(h2, h3, strong) {
    font-weight: 700;
}

h1 {
    margin: 13px 0 16px 25px;
    font-size: 17px;
    line-height: 38px;
    font-weight: 400;
    text-indent: -25px;
}

h1:before {
    font-size: 16px;
    margin-right: 25px;
    position: relative;
    top: -3px;
    float: left;
    content: "\25A0";
}

h2 {
    font-size: 38px;
    line-height: 1.4;
    margin: 0 0 21px;
}

p:not(:last-child) {
    margin: 0 0 19px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
}

img {
    max-width: 100%;
}

@media screen and (max-width:1080px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, h2, h1) {
        hyphens: auto;
    }

    :is(a, span) {
        white-space: nowrap;
    }

    article br {
        display: none;
    }

}

@media screen and (max-width:896px) {
    #wrapper {
        padding: 16px;
        min-height: auto;
    }

    header {
        flex-direction: initial;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 22px;
    }

    :is(header, footer) {
        position: static;
    }

    footer {
        width: 100%;
    }

    footer br.hidden-mobile {
        display: none;
    }

}

@media screen and (max-width:675px) {
    header {
        flex-direction: column;
    }

}