@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/ubuntu-v21-latin-regular.eot');
    src: url('../fonts/ubuntu-v21-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-v21-latin-regular.woff2') format('woff2'), url('../fonts/ubuntu-v21-latin-regular.woff') format('woff'), url('../fonts/ubuntu-v21-latin-regular.ttf') format('truetype'), url('../fonts/ubuntu-v21-latin-regular.svg#Ubuntu') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/ubuntu-v21-latin-700.eot');
    src: url('../fonts/ubuntu-v21-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-v21-latin-700.woff2') format('woff2'), url('../fonts/ubuntu-v21-latin-700.woff') format('woff'), url('../fonts/ubuntu-v21-latin-700.ttf') format('truetype'), url('../fonts/ubuntu-v21-latin-700.svg#Ubuntu') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #37485b;
    font-family: 'Ubuntu', "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 58rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #37485b;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

article p {
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.7rem;
    line-height: 1.3;
    padding: 1rem 2rem;
    margin: 0 -2rem;
    background: url("../images/bg.png")0 0/ 100% no-repeat;
    color: #37485b;
}

h2 {
    font-size: 1.3rem;
    line-height: 1.2;
    color: #d7fb03;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: .5rem;
}

ul {
    padding: 0 0 1.5rem 1rem;
}

ul li {
    padding-bottom: .5rem;
}

.green {
    color: #37485b;
    background-color: #d7fb03;
    padding: 5px;
    border-radius: 5px;
}

p .green {
    padding: 5px 10px;
}

.title {
    position: absolute;
    top: 1rem;
    right: 0;
    text-align: end;
    padding-right: 2rem;
}

.title p {
    color: #d7fb03;
    margin-bottom: .25rem;
}

.person {
    position: absolute;
    bottom: 0;
    right: 0;
}

.info {
    position: absolute;
    bottom: 2.5rem;
    right: 3rem;
}

.info .white span:first-of-type {
    font-size: 1.5rem;
}

.white span {
    color: #37485b;
    background-color: #fff;
    padding: 8px;
    border-radius: 5px;
}

.pin {
    font-size: 1.5rem;
    color: #d7fb03;
    position: relative;
    margin: -1rem 0 0;
}

.pin::before {
    content: url("../images/pin.png");
    margin-right: 5px;
    display: inline-block;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 9rem);
    gap: 2rem;
    position: relative;
    padding: 1.5rem 1rem;
}

.benefits div {
    background-color: #fff;
    border-radius: 1rem;
}

.benefits div p {
    color: #37485b;
    font-size: .875rem;
    padding: 1rem;
    margin: -1.25rem 0 0;
}

.benefits div img {
    position: relative;
    top: -1rem;
    left: -1rem;
}

header {
    display: flex;
    padding: 1rem 2rem;
}

article {
    padding: 3rem 2rem 2rem;
    background: url("../images/icon.png")bottom right/auto no-repeat, #37485b;
    color: #fff;
    position: relative;
}

footer {
    padding: 1rem 2rem 2rem;
    position: relative;
    font-size: 0.813rem;
}

a.link {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    font-size: 1rem;
}

@media only screen and (max-width: 57.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .person {
        width: 250px;
    }

    a.link {
        position: static;
        display: inline-block;
        margin: 1rem 0 0;
    }

    .info {
        position: static;
        margin: 0 0 1rem;
    }

    .benefits {
        grid-template-columns: repeat(3, 9.25rem);
    }
}

@media only screen and (max-width: 48.5rem) {
    header {
        justify-content: center;
    }

    article {
        padding: 2rem;
    }

    :is(h1, ul) br {
        display: none;
    }

    .person {
        width: 100px;
    }

    .title {
        position: static;
        text-align: center;
        padding: 0 0 2rem;
    }

    h1 {
        margin: 0.5rem 0;
        background: #d7fb03;
        padding: 5px 1rem;
        border-radius: 5px;
        color: #37485b;
    }
}

@media only screen and (max-width: 41rem) {
    .person {
        display: none;
    }

    header,
    footer {
        padding: 1rem;
    }

    article {
        padding: 2rem 1rem;
        background: #37485b;
    }

}

@media only screen and (max-width:36rem) {
    .info {
        width: fit-content;
        text-align: center;
        margin: 0 auto 1rem;
    }

    .benefits {
        grid-template-columns: repeat(2, 9rem);
    }

    .benefits div p {
        padding: 1rem .5rem;
    }

    footer {
        text-align: center;
    }

    a.link {
        font-size: .938rem;
    }
}