@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), 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-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), 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');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
}

#wrapper {
    max-width: 940px;
    margin: 1rem auto;
    border: 1px solid #808080;
    background-color: #fff;
    box-shadow: 0 1px 5px 1px rgba(0, 0, 0, .25);
}

header {
    position: relative;
}

.intro {
    width: 415px;
    position: absolute;
    top: 36px;
    right: 55px
}

.intro p strong {
    color: #c1222a
}

article {
    padding: 0 40px 20px;
    position: relative;
}

.flexbox {
    display: flex;
    justify-content: space-between;
}

.column {
    width: 401px;
}

.info {
    display: flex;
    gap: 17px;
    align-items: center;
}

.button {
    width: 243px;
    margin-top: 14px;
}

.button a {
    background: #bc1c1c;
    padding: 7px 20px;
    text-align: center;
    color: #fff !important;
    font-size: 26px;
    font-weight: 700;
    border-radius: 7px;
}

.img-position {
    position: absolute;
    bottom: 79px;
    right: 73px;
}

footer {
    padding: 0 0 40px;
    margin: 0 40px;
    border-top: 2px solid #bc1c1c;
}

footer figure {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

p:not(:first-of-type) {
    margin-top: 20px;
}

.margin {
    margin-top: 17px;
}

h1 {
    font-size: 32px;
    line-height: 1.1;
    margin: 6px 0;
}

h1 span {
    font-size: 19px;
}

h2 {
    font-size: 21px;
    line-height: 24px;
    color: #c1222a;
    padding: 20px 0 10px;
}

h2+p {
    margin-top: 0 !important;
}

ul {
    list-style: none;
}

ul li {
    background: url(../images/icon.jpg) 0 5px no-repeat;
    padding-left: 19px;
    margin-bottom: 8px;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

.padding {
    margin-top: 39px;
}

@media only screen and (max-width:938px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .column {
        width: 48%;
    }

    span {
        white-space: nowrap;
    }

    .intro br {
        display: none;
    }

}

@media only screen and (max-width:800px) {
    .intro {
        width: auto;
        position: static;
        padding: 16px;
    }

    article {
        padding: 16px
    }

    .intro p strong {
        color: #c1222a
    }

    .img-position {
        position: absolute;
        bottom: 16px;
        right: 16px;
    }

}

@media only screen and (max-width:767px) {
    .flexbox {
        display: block;
    }

    .column {
        width: auto;
    }

    :is(.margin, .padding) {
        margin-top: 0;
    }

    :is(.center, footer figure, .info) {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 24px;
    }

    :is(.mobile :is(h2, p), .info p, .info + p) {
        text-align: center;
    }

    .img-position {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 16px;
    }

    h2 {
        padding-top: 10px
    } 

}

@media only screen and (max-width:460px) {
    h2 br {
        display: none;
    }

}