@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-v24-latin-regular.eot');
    src: url('../fonts/lato-v24-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-regular.woff2') format('woff2'), url('../fonts/lato-v24-latin-regular.woff') format('woff'), url('../fonts/lato-v24-latin-regular.ttf') format('truetype'), url('../fonts/lato-v24-latin-regular.svg#Lato') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v24-latin-700.eot');
    src: url('../fonts/lato-v24-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-700.woff2') format('woff2'), url('../fonts/lato-v24-latin-700.woff') format('woff'), url('../fonts/lato-v24-latin-700.ttf') format('truetype'), url('../fonts/lato-v24-latin-700.svg#Lato') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-size: 14px;
    line-height: 1.3;
    font-family: 'Lato', Arial, sans-serif;
    color: #000;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

h1 {
    margin-bottom: 16px;
    font-size: 33px;
    font-weight: 700;
    text-align: center;
}

h1 span {
    display: block;
    font-size: 18px;
}

h2 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

h3 {
    font-size: 13px;
    margin: 16px 0;
    font-weight: 700;
}

h4 {
    padding: 20px 20px 20px 159px;
    font-size: 20px;
    font-weight: 700;
    background: #E8E8E8;
    border-radius: 10px;
}

.flex {
    display: flex;
    gap: 20px;
    margin-left: 20px;
    padding-top: 20px;
    flex-wrap: wrap;
}

.btn a {
    display: inline-block;
    background: #004A78;
    color: #fff !important;
    padding: 10px 30px;
    border-radius: 6px;
    transition: 0.5s;
}

.btn a:hover {
    background: #095A8D;
}

.mail {
    background: url('../images/mail.jpg') no-repeat 0 0;
    padding-left: 22px;
}

.tel {
    background: url('../images/message.jpg') no-repeat 0 0;
    padding-left: 20px;
}

.avatar {
    display: inline-block;
    border-radius: 10px;
    margin-top: -59px;
}

p:not(:last-child) {
    margin-bottom: 16px;
}

.benefit p {
    display: flex;
    gap: 10px;
    width: 48%;
    color: #fff;
    margin-bottom: 0;
    align-items: flex-start;
}

.benefit {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 20px;
}

.box {
    background: #004A78;
    padding: 30px 6%;
}

.box h2 {
    color: #fff;
}

.width {
    flex: 1 1 0;
}

.logo {
    padding: 20px 16px;
    display: flex;
    justify-content: center;
}

.padding {
    padding: 30px 6% 20px;
}

footer {
    padding: 30px 6%;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 20px 20px;
    list-style: none;
}

ul li {
    padding-left: 15px;
    position: relative;
}

ul li:before {
    content: "\2022";
    color: #000;
    font-size: 20px;
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
    font-family: Arial, sans-serif;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width:800px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    :is(.padding, .box, footer) {
        padding: 16px;
    }

    :is(ul li, p) {
        hyphens: auto;
    }

    br:not(footer br) {
        display: none;
    }
}

@media all and (max-width: 569px) {
    .benefit p {
        width: 100%;
    }

    h4 {
        font-size: 18px;
        padding: 16px 16px 16px 149px;
        font-size: 18px;
    }

    .flex {
        margin-left: 16px;
        gap: 13px;
    }
    .width{
        flex: 1 1 auto;
    }
}