﻿@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v32-latin-regular.eot');
    src: url('../fonts/roboto-v32-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v32-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v32-latin-regular.woff') format('woff'), url('../fonts/roboto-v32-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v32-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v32-latin-700.eot');
    src: url('../fonts/roboto-v32-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v32-latin-700.woff2') format('woff2'), url('../fonts/roboto-v32-latin-700.woff') format('woff'), url('../fonts/roboto-v32-latin-700.ttf') format('truetype'), url('../fonts/roboto-v32-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 1;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 640px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background: #fff url(../images/background.jpg) no-repeat;
    height: 902px;
}

header {
    padding: 63px 41px 41px 70px;
}

header p {
    color: #e1cde1;
}

article {
    padding: 9px 358px 2px 50px;
    position: relative;
}

article p {
    font-size: 18px;
    line-height: 19px;
    margin: 0 0 18px;
}

footer {
    padding: 20px 0 0
}

footer p {
    text-align: center;
}

:is(strong, h1) {
    font-weight: 700;
}

h1 {
    margin: 1rem 0;
    font-size: 62px;
    line-height: 1;
    color: #FFF;
}

h1 small {
    font-weight: normal;
    font-size: 1rem;
}

p {
    margin: 0 0 18px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.button {
    display: flex;
    margin: 33px 0;
}

.button a {

    padding: 14px 1rem;
    background: #A1529A;
    color: #fff !important;
    text-align: center;
    font-weight: bold;
    width: 207px;
    font-size: 19px;
}

.logo {
    position: absolute;
    bottom: 3px;
    right: 3px;
}

@media all and (max-width:639px) {
    #wrapper {
        margin: 0 auto;
        border: none;
        background: #FFF;
        height: auto;
    }

    body {
        line-height: 1.375rem
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    header {
        background: #A1519A url(../images/images.png) no-repeat bottom right;
        background-size: 100px;
        padding: 1rem;
    }

    .title {
        padding-right: 100px;
    }

    .logo {
        position: static;
        width: 360px;
        height: 351px;
        background: url(../images/background-mobile.jpg) no-repeat bottom right;
        padding: 301px 0 0 216px;
        margin: auto;
    }

    p span {
        white-space: nowrap;
    }

    footer {
        background: #A1519A;
        padding: 1rem;
    }

    article {
        padding: 1rem 1rem 0;
    }

    br:not(footer br) {
        display: none;
    }
}

@media all and (max-width:359px) {
    .logo {
        background-size: 306px;
        margin: 0;
        padding: 252px 0 0 179px;
        width: 320px;
        height: auto;
    }
}