﻿@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: #FFF;
    line-height: 17px;
    font-size: 13px;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 750px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background: #fff url(../images/background.jpg) no-repeat;
    height: 638px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

header {
    padding: 40px;
    width: 58%;
}

article {
    padding: 130px 25px 33px 20px;
    width: 42%;
}

footer {
    padding: 52px 46px;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    width: 100%;
}

:is(strong, h1, h2, h3, h4, h5) {
    font-weight: 700;
}

h1 {
    margin: 1rem 0;
    font-size: 22px;
    line-height: 24px;
    padding: 0 0 0 23px;
    color: #1b3541;
}

h1 small {
    display: block;
    font-size: 14px;
    font-weight: normal;
}

h1:before {
    content: "»";
    float: left;
    color: #f14000;
    font-family: Arial, sans-serif;
    font-size: 20px;
    text-indent: -23px;
}

h2 {
    font-size: 25px;
    margin: 1rem 0;
    line-height: 25px;
    color: #f14000;
}

h3 {
    font-size: 0.8125rem;
    margin: 1rem 0 0;
    color: #f14000;
    line-height: 1.125rem;
}

h4 {
    font-size: 52px;
    margin: 1rem 0;
    color: #1b3541;
    line-height: 61px;
}

h4 span {
    display: block;
    font-weight: normal;
}

h5 {
    font-size: 25px;
    color: #f14000;
    margin: 1.5rem 0;
    line-height: 35px;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    white-space: nowrap;
    text-decoration: none;
}

.margin {
    margin: 0;
}

ul {
    margin: 0 0 1rem;
    list-style: none;
    color: #FFF;
}

ul li {
    padding-left: 1rem;
}

ul li:before {
    content: "»";
    color: #f14000;
    float: left;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-indent: -1rem;
}

img {
    max-width: 100%;
}

.logo {
    width: 57%;
}

.qrcode-box {
    display: flex;
    gap: 10px;
    flex-direction: row-reverse;
    align-items: center;
}

.box {
    width: 46%;
}

@media all and (max-width:749px) {
    #wrapper {
        margin: 0 auto;
        border: none;
        background: #FFF url(../images/background-mobile.jpg) no-repeat;
        background-size: cover;
        background-position: center;
        height: auto;
    }

    header {
        padding: 1rem;
        width: 50%;
    }

    article {
        background: #1b3541;
        padding: 1rem;
        width: 50%;
    }

    footer {
        padding: 0;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .logo {
        width: 46%;
        padding: 1rem;
    }

    .box {
        background: #EF5922;
        padding: 1rem;
        width: 50%;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(footer br) {
        display: none;
    }
}

@media all and (max-width:600px) {
    :is(header, article, .box) {
        width: 100%;
    }

    footer {
        flex-direction: column;
    }

    .qrcode-box {
        justify-content: center;
    }

    .logo {
        width: auto;
        margin: 0 auto;
    } }