@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/poppins-v21-latin-300.eot');
    src: url('../fonts/poppins-v21-latin-300.eot?#iefix') format('embedded-opentype'), url('../fonts/poppins-v21-latin-300.woff2') format('woff2'), url('../fonts/poppins-v21-latin-300.woff') format('woff'), url('../fonts/poppins-v21-latin-300.ttf') format('truetype'), url('../fonts/poppins-v21-latin-300.svg#Poppins') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/poppins-v21-latin-regular.eot');
    src: url('../fonts/poppins-v21-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/poppins-v21-latin-regular.woff2') format('woff2'), url('../fonts/poppins-v21-latin-regular.woff') format('woff'), url('../fonts/poppins-v21-latin-regular.ttf') format('truetype'), url('../fonts/poppins-v21-latin-regular.svg#Poppins') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/poppins-v21-latin-500.eot');
    src: url('../fonts/poppins-v21-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/poppins-v21-latin-500.woff2') format('woff2'), url('../fonts/poppins-v21-latin-500.woff') format('woff'), url('../fonts/poppins-v21-latin-500.ttf') format('truetype'), url('../fonts/poppins-v21-latin-500.svg#Poppins') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/poppins-v21-latin-700.eot');
    src: url('../fonts/poppins-v21-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/poppins-v21-latin-700.woff2') format('woff2'), url('../fonts/poppins-v21-latin-700.woff') format('woff'), url('../fonts/poppins-v21-latin-700.ttf') format('truetype'), url('../fonts/poppins-v21-latin-700.svg#Poppins') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 15px;
    line-height: 23px;
    font-weight: 400;
}

#wrapper {
    max-width: 850px;
    margin: 1rem auto;
    border: 1px solid #000;
    background-color: #fff;
    position: relative;
}

.logo {
    display: flex;
    justify-content: flex-start;
    padding: 30px 50px;
}

.slider {
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
}

.slider img {
    vertical-align: bottom;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    60% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.slider img:nth-of-type(1) {
    position: relative;
}

.slider img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 10s linear 0s infinite normal forwards;
}

.slider img:nth-child(2) {
    animation-delay: 5s;
}

article {
    padding: 30px 50px;
    position: relative;
}

article p strong {
    font-weight: 400
}

.boxflex {
    border-top: 1px solid #cedfe3;
    background: #fff;
    padding: 20px 5px;
    margin-top: 20px;
}

.boxflex:hover {
    background: #e6eff1;
    border-top: 2px solid #0a5e71;
}

footer {
    padding: 0 50px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.background-green {
    background: #f3f7f8;
    padding: 20px;
    margin-top: 30px;
}

.button {
    margin-top: 20px;
}

.button a {
    width: 210px;
    height: 46px;
    background: #000;
    clip-path: polygon(12% 0, 100% 0%, 88% 100%, 0% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 400;
    color: #fff !important
}

.button a:hover {
    background: #AB1C37;
}

.border {
    border-top: 1px solid #cedfe3;
    padding: 15px 0 85px 20px;
    margin-top: 20px;
}

.avatar {
    display: flex;
    justify-content: center;
    margin: -128px 0 15px;
}

.avatar img {
    border-radius: 50%;
}

p:not(:first-of-type) {
    margin-top: 10px;
}

h1 {
    font-size: 29px;
    line-height: 24px;
    padding: 0 0 20px;
}

h2 {
    font-size: 15px;
    line-height: 19px;
    padding-bottom: 15px;
}

:is(h1, h2) {
    color: #0A5E71;
    font-weight: 700
}

ul {
    list-style: none
}

ul li {
    padding-left: 19px;
    margin-bottom: 10px;
}

li:before {
    content: "\2022";
    color: #0A5E71;
    float: left;
    font-size: 23px;
    text-indent: -19px;
}

img {
    max-width: 100%;
    display: block;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

.font {
    font-size: 16px;
    line-height: 26px;
}

.link {
    color: #0A5E71 !important;
    font-weight: 500
}

@media only screen and (max-width:850px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media only screen and (max-width:960px) {
    .boxflex {
        flex-direction: column;
        gap: 10px;
    }
}

@media only screen and (max-width:776px) {
    :is(.logo, article, footer) {
        padding: 16px
    }

    footer {
        flex-direction: column;
        gap: 16px;
    }

    footer p {
        text-align: center;
    }
}

@media only screen and (max-width:444px) {
    h1 {
        font-size: 19px;
    }
}