@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #2E75B6;
    padding: 1rem 3rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

article p {
    padding-bottom: 1rem;
}

.pb0 {
    padding-bottom: 0;
}

h1,
h2 {
    font-size: 1.2rem;
    color: #fff;
    padding-bottom: 1rem;
}

h3 {
    font-size: 1.2rem;
    background-color: #2E75B6;
    padding: .5rem 2rem;
    margin: 0 0 1rem -2rem;
    color: #fff;
    width: 15rem;
    position: relative;
}

h3::after {
    content: "";
    position: absolute;
    right: -1.5rem;
    top: 0;
    display: inline-block;
    width: 1.5rem;
    height: 100%;
    background-color: #2E75B6;
    clip-path: polygon(0 0, 0% 100%, 100% 47%);
}

article>h3:nth-of-type(2) {
    width: 23rem;
}

article>h3:nth-of-type(3) {
    width: 31rem;
}

ul {
    padding: 0 0 1rem 1rem;
}

header img {
    position: absolute;
    top: 7.5rem;
    right: 1rem;
    box-shadow: 3px 4px 5px rgba(0, 0, 0, 0.2);
}

article {
    padding: 1rem 2rem;
    background-color: #fff;
}

footer {
    display: flex;
    justify-content: end;
    padding: 1rem 0 0;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 44rem) {
    #wrapper {
        padding: 1rem;
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 1rem;
    }

    header img {
        position: static;
    }

    header br {
        display: none;
    }

    footer {
        justify-content: center;
    }
}

@media only screen and (max-width: 37rem) {
    article {
        padding: 1rem;
    }

    article>h3:nth-of-type(2) {
        width: 17rem;
    }

    article>h3:nth-of-type(3) {
        width: 19rem;
    }
}