@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    background-color: #ededed;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: 0.0625rem solid #d4d4d4;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h1 {
    color: #2E74B5;
    font-size: 1.2rem;
}

h2 {
    font-size: 1rem;
    margin: 0 0 0.9375rem;
}

h3 {
    font-size: 1.2rem;
    font-weight: normal;
    color: #767171;
}

p {
    margin: 0 0 1rem;
}

.margin_bottom_zero {
    margin: 0;
}

ul {
    list-style: none;
}

ul li {
    padding: 0 0 0 2rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
}

header {
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.title p {
    color: #767171;
    font-size: 1.2rem;
}

.image {
    position: relative;
    top: 2.5rem;
    right: -1rem;
    z-index: 100;
    flex: 0 0 225px;
}

.image img {
    width: 100%;
    display: block;
}

.text {
    position: absolute;
    bottom: 50%;
    right: -1.5rem;
    transform: rotate(-10deg);
    box-shadow: 0 0 5px #000;
}

article {
    padding: 0 2.5rem;
}

.blue_box {
    background-color: #2E75B6;
    padding: 1rem;
    margin: 0 0 1rem;
    position: relative;
}

footer {
    padding: 0.625rem 2.5rem 2.5rem;
    position: absolute;
    bottom: 0;
    right: 1rem;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .image {
        position: static;
        flex: auto;
        margin-bottom: 1rem;
    }

    .text {
        display: none;
    }

    ul li {
        padding: 0 0 0 0.9375rem;
    }

    ul li:before {
        margin: 0 0 0 -0.9375rem;
    }

    header,
    article,
    footer {
        padding: 0;
    }

    header {
        flex-direction: column-reverse;
        align-items: center;
    }

    footer {
        position: static;
        display: flex;
        justify-content: center;
    }

    h1,
    h3 {
        text-align: center;
    }

    .title {
        width: 100%;
        padding-bottom: .625rem;
    }

}