@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v40-latin-regular.eot');
    src: url('../fonts/open-sans-v40-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-regular.woff') format('woff'), url('../fonts/open-sans-v40-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/open-sans-v40-latin-600.eot');
    src: url('../fonts/open-sans-v40-latin-600.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-600.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-600.woff') format('woff'), url('../fonts/open-sans-v40-latin-600.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-600.svg#OpenSans') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    white-space: nowrap;
}

article p {
    margin-bottom: 1rem;
}

strong {
    font-weight: 600;
}

h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    color: #2A488E;
    background-color: #F8F8F8;
    padding: 2rem;
    margin: 0 -2rem 2rem;
    font-weight: 600;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    margin: 3rem 0 1rem;
    font-weight: 600;
}

ul {
    list-style: none;
    margin-bottom: 3rem;
}

ul li {
    padding: 0 0 0 1.5rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.5rem;
    color: #72777A;
    font-size: 1.5rem;
    line-height: 1;
    font-family: 'Arial';
}

header a {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

header a img {
    border-radius: 17px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
}

article {
    padding: 0 2rem;
}

section {
    background-color: #F8F8F8;
    padding: 2rem;
    margin: 0 -2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

section div:first-of-type {
    flex-shrink: 0;
}

section h3 {
    margin: 1.5rem 0;
}

section img {
    border-radius: 50%;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.benefits>div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    background: #E6E6E6;
    border-radius: 17px;
    padding: .625rem;
    transition: all .2s ease-in;
}

.benefits .image {
    min-height: 4rem;
    display: flex;
}

.benefits>div img {
    transition: all .2s ease-in;
}

.benefits>div:hover {
    background: #2A488E;
    color: #fff;
}

.benefits>div:hover img {
    filter: invert(100%);
}

footer {
    padding: 2rem;
    text-align: center;
}

@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: 48rem) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header a {
        position: static;
        margin: 1rem;
    }

    article {
        padding: 0 1rem;
    }

    footer {
        padding: 1rem;
    }
}

@media only screen and (max-width: 40rem) {
    h1 {
        padding: 1rem;
        margin: 0 -1rem 1rem;
        text-align: center;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.5rem;
    }

    section h3 {
        margin: 1rem 0;
    }

    section {
        padding: 1rem;
        margin: 0 -1rem;
    }

    ul {
        margin-bottom: 1.5rem;
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 30rem) {
    section {
        flex-direction: column;
        align-items: start;
    }

    section div:last-of-type {
        align-self: center;
    }

    .benefits {
        grid-template-columns: repeat(1, 1fr);
    }
}