﻿
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v47-latin-regular.eot');
    src: url('../fonts/roboto-v47-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v47-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v47-latin-regular.woff') format('woff'), url('../fonts/roboto-v47-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v47-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v47-latin-500.eot');
    src: url('../fonts/roboto-v47-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v47-latin-500.woff2') format('woff2'), url('../fonts/roboto-v47-latin-500.woff') format('woff'), url('../fonts/roboto-v47-latin-500.ttf') format('truetype'), url('../fonts/roboto-v47-latin-500.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v47-latin-700.eot');
    src: url('../fonts/roboto-v47-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v47-latin-700.woff2') format('woff2'), url('../fonts/roboto-v47-latin-700.woff') format('woff'), url('../fonts/roboto-v47-latin-700.ttf') format('truetype'), url('../fonts/roboto-v47-latin-700.svg#Roboto') format('svg');
}

body {
    line-height: 1.25rem;
    font-size: 0.8125rem;
    color: #585857;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 850px;
    margin: 1rem auto;
    border: 1px solid #000;
    padding: 2rem 0 0;
    overflow: hidden;
    text-align: left;
    background-color: #fff;
}

.bieten ul li:before {
    color: #fff;
    text-indent: -1rem;
}

.bieten ul li {
    padding-left: 1rem;
}

h1 {
    margin: 2rem 0;
    font-size: 28px;
    line-height: 2.3125rem;
    font-weight: 400;
}

h2 {
    font-size: 1.3125rem;
    line-height: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.0625rem;
    margin: 0 0 0.75rem;
    font-weight: 700;
    line-height: 1.3125rem;
}

h4 {
    font-size: 1.3125rem;
    line-height: 1.375rem;
    font-weight: 500;
    margin: 0.75rem 0;
}

h1 span {
    white-space: nowrap;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.bieten {
    background: url(../images/background.png) no-repeat;
    width: 471px;
    height: 536px;
    padding: 11rem 1rem 1rem 5rem;
    color: #fff;
    position: absolute;
    right: 0;
    top: 30%;
}

.logo {
    margin: 0 3rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header p {
    font-size: 0.6875rem;
    line-height: 1rem;
    position: absolute;
    top: 4%;
    color: #CDCBCA;
    right: 5%;
}

header p span {
    color: #0088b6;
}

.box {
    position: absolute;
    top: 19%;
    right: 4%;
}

section p:nth-of-type(2) {
    line-height: 1.875rem;
    margin-bottom: 0;
}

section {
    position: relative;
    width: 360px;
    padding: 1.25rem;
    padding-left: 8.125rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0px 1px 3px #bdbbbb;
}

section>img {
    position: absolute;
    top: 7%;
    left: 5%;
}

section p small {
    color: #CDCBCA;
    font-size: 85%;
}

header {
    position: relative;
}

article {
    padding: 0 3rem;
    position: relative;
}

footer {
    padding: 0 3rem 6rem;
    position: relative;
}

:is(a:link, a:visited, a:active) {
    color: #0088b6;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

ul {
    margin-bottom: 2rem;
    list-style: none;
}

ul li {
    padding-left: 1.75rem;
    padding-bottom: 0.125rem;
}

ul li:before {
    content: "\2022";
    color: #0088b6;
    float: left;
    margin-left: 0;
    font-size: 1.5625rem;
    text-indent: -1.75rem;
}

section p {
    margin-bottom: 0.625rem;
    line-height: 1.3125rem;
}

.container {
    width: 377px;
}

section p img {
    margin-right: 5px;
}

strong {
    font-weight: 700;
}

.width {
    width: 310px;
}

@media (max-width:849px) {
    #wrapper {
        font-size: 0.875rem;
        line-height: 1.0625rem;
        padding: 0;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .logo {
        margin: 0;
        padding: 0 16px;
        gap: 1rem;
    }

    :is(article, footer) {
        padding: 0 1rem;
    }

    .width {
        width: auto;
    }
}

@media (max-width:835px) {
    .bieten ul {
        margin-bottom: 0;
    }

    .box br {
        display: inline;
    }

    section {
        width: 100%;
        padding: 0.9375rem;
        padding-left: 6.175rem;
    }

    .container {
        width: 100%;
    }

    .bieten {
        position: static;
        width: auto;
        height: auto;
        padding: 0.625rem;
        background: #0088b6;
    }

    .box {
        position: static;
        margin-top: 1rem;
    }

    section>img {
        left: 1%;
    }

    h1 {
        margin: 1.5rem 0;
        font-size: 1.625rem;
        line-height: 1.875rem;
    }

    h2 {
        position: static;
        margin: 1rem 0;
    }

    ul li {
        padding-left: 0.9375rem;
    }

    ul li:before {
        text-indent: -0.9375rem;
    }

    p {
        margin-bottom: 0.625rem;
        text-align: left;
    }

    br {
        display: none;
    }

    footer br {
        display: block;
    } }