﻿@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot');
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v25-latin-700.eot');
    src: url('../fonts/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-700.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-700.svg#RobotoCondensed') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 15px;
    line-height: 19px;
    color: #242021;
    font-weight: 400;
}

#wrapper {
    max-width: 765px;
    margin: 1rem auto;
    border: solid thin #242021;
    overflow: hidden;
    position: relative;
}

strong {
    font-weight: 700;
}

article {
    padding: 0 40px 40px;
}

footer {
    position: absolute;
    bottom: 40px;
    right: 40px;
}

h1 {
    font-size: 22px;
    margin: 50px 0 6px;
    line-height: 25px;
    font-weight: 700;
}

h2 {
    font-size: 16px;
    margin: 16px 0 3px;
    line-height: 20px;
    font-weight: 700;
}

img {
    max-width: 100%;
}

p:not(:last-child) {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #242021;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 23px;
    background: url('../images/iconlist.jpg') left 3px no-repeat;
}

@media screen and (max-width:763px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    article {
        padding: 0 16px 16px;
    }

    footer {
        bottom: 16px;
    }

    h1 {
        margin-top: 30px;
    }

    span {
        white-space: nowrap;
    }

    br {
        display: none;
    }
}

@media screen and (max-width:580px) {
    footer {
        position: static;
        display: flex;
        justify-content: center;
    }
}