@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-v25-latin-regular.eot');
    src: url('../fonts/lato-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v25-latin-regular.woff2') format('woff2'), url('../fonts/lato-v25-latin-regular.woff') format('woff'), url('../fonts/lato-v25-latin-regular.ttf') format('truetype'), url('../fonts/lato-v25-latin-regular.svg#Lato') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v25-latin-700.eot');
    src: url('../fonts/lato-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v25-latin-700.woff2') format('woff2'), url('../fonts/lato-v25-latin-700.woff') format('woff'), url('../fonts/lato-v25-latin-700.ttf') format('truetype'), url('../fonts/lato-v25-latin-700.svg#Lato') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/lato-v25-latin-900.eot');
    src: url('../fonts/lato-v25-latin-900.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v25-latin-900.woff2') format('woff2'), url('../fonts/lato-v25-latin-900.woff') format('woff'), url('../fonts/lato-v25-latin-900.ttf') format('truetype'), url('../fonts/lato-v25-latin-900.svg#Lato') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #3f3f3f;
    font-family: 'Lato', "Arial", sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 58.75rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid grey;
    box-shadow: 0 1px 5px 1px rgba(0, 0, 0, .25);
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    text-decoration: underline;
    color: #0563C1;
}

.color {
    color: #024481;
}

p {
    padding-bottom: 1.25rem;
}

h1 {
    font-size: 2.25rem;
    line-height: 1.1;
    text-transform: uppercase;
}

h2 {
    font-size: 1.1rem;
}

h3 {
    font-size: 1.55rem;
    line-height: 1.2;
    font-weight: 900;
}

h4 {
    font-size: 0.938rem;
    padding-bottom: 2px;
}

ul {
    padding: 0 0 0.938rem 1.2rem;
}

ul li {
    padding-bottom: 5px;
}

.title {
    position: absolute;
    top: 4rem;
    left: 2.5rem;
    color: #fff;
    width: 450px;
}

.btn {
    position: absolute;
    bottom: 0;
    right: 6rem;
}

.flex {
    display: flex;
    gap: 1rem;
}

.flex>div {
    flex: 50%;
}

.benefits {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.benefits div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .625rem;
    text-align: center;
}

.button a {
    display: inline-block;
    padding: 10px 50px;
    color: #fff;
    text-transform: uppercase;
    background: #024481;
    margin-bottom: 1.25rem;
    border-radius: 5px;
    transition: .2s;
}

.button a:hover {
    background-color: #0563C1;
}

header {
    position: relative;
}

article {
    padding: 2.5rem 6.25rem 0;
}

footer {
    padding: 0 6.25rem;
}

footer div {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
}

footer div:first-of-type {
    padding-top: 0;
}

@media only screen and (max-width: 58.688rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .btn {
        right: 3rem;
    }

    article {
        padding: 2.5rem 3rem 0;
    }

    footer {
        padding: 0 3rem;
    }
}

@media only screen and (max-width: 48rem) {
    .title {
        position: static;
        color: inherit;
        padding-bottom: 1.25rem;
        width: auto;
    }

    .btn {
        width: 150px;
        right: 2rem;
    }

    article {
        padding: 1.5rem 2rem 0;
    }

    footer {
        padding: 0 2rem;
    }
}

@media only screen and (max-width: 40rem) {
    .btn {
        width: 100px;
        right: 1rem;
    }

    article {
        padding: 1.5rem 1rem 0;
    }

    footer {
        padding: 0 1rem;
    }

    .flex {
        display: block;
    }

    .benefits {
        flex-wrap: wrap;
        justify-content: center;
    }

    .benefits div {
        flex: 0 0 120px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .button {
        display: flex;
        justify-content: center;
    }

    footer div:first-of-type {
        padding: 0;
        flex-direction: column;
        align-items: center;
    }

    footer div:last-of-type img {
        width: 20%;
        min-width: 0;
    }
}

@media only screen and (max-width: 27rem) {
    .benefits div {
        flex: 0 0 103px;
    }

}