@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    font: 1em/1.5em "Lucida Sans Unicode", "Lucida Grande", Arial, sans-serif;
    color: #253F8E;
}

#wrapper {
    position: relative;
    margin: 1rem auto;
    overflow: hidden;
    max-width: 780px;
    border: solid 1px #000;
    background: #E1E1EB url('../images/bg.jpg') no-repeat bottom right;
}

p {
    padding-bottom: 1.5rem;
}

ul {
    padding: 0 0 1.5rem 0;
    list-style: none;
    font-size: 1.188em;
    line-height: 1.3;
}

li {
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
    font-weight: 700;
}

ul li:before {
    content: "•";
    color: #CBCADB;
    position: absolute;
    left: -10px;
    top: -25px;
    font-size: 3.2rem;
}

h1, h3 {
    margin: 0 0 0.5rem;
    font-size: 1.45em;
    line-height: 1.3em;
    font-weight: 400;

}

h2 {
    text-align: center;
    font-size: 2em;
    line-height: 1.3;
    color: #FED41D;
    font-weight: 400;
}

h2 img {
    vertical-align: -10px;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 -1rem 0rem -6rem;
}


header {
    padding: 3rem;
    background-color: #253F8E;
}

article {
    padding: 1rem 1rem 1rem 8rem;
}

.box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 78%;
    padding-bottom: 2rem;
}

.flexbox {
    margin: 3rem 1rem 0 0;
}

.logo figure {
    margin-left: -6rem;
}

.logo p {
    font-size: 0.875em;
    line-height: 1.3;
}

.qrcode p {
    transform: rotate(-90deg);
    position: absolute;
    right: -52px;
    bottom: 9rem;
    font-size: 0.813em;
}

footer {
    position: absolute;
    top: 10.5rem;
    right: 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width:779px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #E1E1EB;
    }

    p :is(a, span) {
        display: inline-block;
    }

    .hide_m {
        display: none;
    }

    header,
    article {
        padding: 1rem 1.5rem;
    }

    .box {
        width: 100%;
        padding-bottom: 1rem;
    }

    .box ul:first-of-type {
        padding-bottom: 0;
    }

    footer {
        position: static;
        padding: 0 1rem 1rem;
        display: flex;
        justify-content: center;
    }

    figure {
        display: flex;
        justify-content: center;
    }

    .logo figure {
        margin: 0 0 1rem;
    }

    .flexbox {
        margin: 0;
    }

    .qrcode p {
        transform: none;
        position: static;
    }
}

@media only screen and (max-width:430px) {
    .flexbox {
        flex-direction: column;
    }

    .flexbox p {
        text-align: center;
    }
}