@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot');
    src: local(''), 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-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v25-latin-700.eot');
    src: local(''), 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');
}

@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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

body {
    font-size: 16px;
    line-height: 1.4;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    color: #000;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #CBCBCB;
    overflow: hidden;
    background-color: #fff;
}

h1 {
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    text-shadow: 4px 4px 7px #000;
    margin: 0 0 21px;
}

h1 small {
    font-size: 19px;
    line-height: 0;
}

h2 {
    font-size: 26px;
    line-height: 1.3;
    text-shadow: 4px 4px 7px #000;
    font-weight: 400;
}

.infor {
    position: absolute;
    width: 260px;
    top: 373px;
    left: 514px;
    font-size: 17px;
}

.title {
    position: absolute;
    top: 62%;
    left: 4%;
    color: #fff;
}

h3 {
    font-size: 19px;
    margin: 0 0 9px;
    font-weight: 700;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 21px;
    color: #18469D;
}

.logo {
    margin: 28px 17px 20px;
}

p:not(:last-child) {
    margin-bottom: 1.5rem;
}

header {
    position: relative;
    background: url(../images/background.jpg) no-repeat;
    height: 501px;
}

header img {
    opacity: 0
}

article {
    padding: 27px 8px 7px 35px;
    width: 487px;
}

.qrcode {
    position: absolute;
    bottom: 0;
    right: 12%;
}

footer {
    padding: 177px 20px 25px 30px;
    background: #ebebeb;
    width: 303px;
}

.flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin-bottom: 17px;
    list-style: none;
}

ul li {
    padding-left: 15px;
}

ul li:before {
    content: "\2022";
    color: #000;
    float: left;
    font-size: 18px;
    text-indent: -15px;
    margin-top: -1px;
}

.images {
    position: relative;
}

.images p {
    font-size: 25px;
    font-weight: bold;
    line-height: 1;
    position: absolute;
    top: 48px;
    right: 32px;
    color: #FFF;
}

@media (max-width:799px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    footer {
        width: 37.5%;
        padding: 16px;
    }

    article {
        padding: 16px;
        width: 62%;
    }

    h2 {
        font-size: 3.375vw;
        left: 2%;
        top: 15.8%;
    }

    .infor {
        font-size: 2vw;
        left: auto;
        right: 1rem;
        width: 31%;
    }

    .images p {
        font-size: 4vw;
        top: 13%;
        right: 4%;
    }

    :is(.address, h1) br {
        display: inline;
    }

    h1 {
        font-size: 5vw;
        line-height: 1;
        text-shadow: 1px 1px 10px #000;
        left: 16px;
    }

    .address {
        padding-left: 0;
    }

    :is(p, ul) {
        hyphens: auto;
    }

    ul span {
        white-space: nowrap;
    }
}

@media (max-width:767px) {
    header {
        height: auto;
        background: #FFF;
    }

    header img {
        opacity: 1
    }

    .title {
        position: static;
        background: #81868c;
        padding: 1rem;
        margin: 0 0 20px;
    }

    .infor {
        position: static;
        background: #FFF;
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    :is(h1, .infor) br {
        display: none;
    }

    h1 {
        font-size: 30px;
    }

    h1 small {
        margin-left: 0
    }

    h2 {
        font-size: 20px;
    }
}

@media (max-width:640px) {
    footer p {
        text-align: center;
    }

    :is(article, footer) {
        width: 100%;
    }

    h1 span {
        font-size: 4vw;
    }

    .qrcode {
        width: 21%;
    }

    .flexbox {
        padding-right: 0;
    }

    .logo {
        margin: 15px 0;
        display: flex;
        justify-content: center;
    }
}