﻿@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: 700;
    src: url('../fonts/open-sans-v40-latin-700.eot');
    src: url('../fonts/open-sans-v40-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-700.woff') format('woff'), url('../fonts/open-sans-v40-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.5rem;
    font-size: 14px;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #005D51;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 840px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #FFE52C;
}

article {
    padding: 16px 70px 0;
}

footer {
    padding: 0 70px 70px;
    background: url(../images/background.png) no-repeat;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 1rem 0;
    font-size: 24px;
    line-height: 26px;
    text-transform: uppercase;
}

h2 {
    font-size: 19px;
    margin: 1rem 0 0;
    line-height: 26px;
}

h3 {
    font-size: 19px;
    margin: 1rem 0;
    line-height: 1.25rem;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #005D51;
    white-space: nowrap;
    text-decoration: none;
}

.font {
    font-size: 18px;
    line-height: 1.3;
}

ul {
    margin: 0 0 1rem;
    list-style: none;
}

ul li {
    padding-left: 1.125rem;
}

ul li:before {
    content: "\2022";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 20px;
    text-indent: -1.125rem;
}

img {
    max-width: 100%;
}

.button {
    display: flex;
    margin: 15px 0;
}

.button a {
    display: inline-block;
    padding: 10px 1rem;
    background: #005D51;
    text-align: center;
    width: 205px;
    font-weight: bold;
    color: #FFE52C !important;
}

.button a:hover {
    background: #227D43;
    color: #FFE52C !important;
}

.benefits-container {
    margin-top: 2rem;
    margin-bottom: 0.875rem;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    column-gap: 48px;
}

.benefits-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2rem;
}

.benefits img {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    margin-right: 0.5rem;
}

.benefit-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-text {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.benefit-header {
    display: flex !important;
    flex-basis: 100% !important;
    position: relative;
    list-style: none !important;
}

.benefits-item--accordion .benefit-header::after {
    content: '+';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 10px;
    color: currentColor;
    position: absolute;
    right: 0;
    top: 3px;
}

.benefits-item--accordion .benefit-content {
    padding-right: 15px;
    display: none;
    margin: 1rem 0 0;
}

.benefits-item--accordion[open="open"] .benefit-content,
.benefits-item--accordion[open] .benefit-content {
    display: block;
}

.benefits-item--accordion[open] .benefit-header::after {
    content: '-';
}

details summary::-webkit-details-marker,
details summary::marker {
    display: none;
    content: "";
}

.contact-person {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 465px;
    max-width: 100%;
    margin: 4rem auto;
}

.contact-person__img-wrap {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-right: 30px;
}

.contact-person__img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #ccc;
    color: #fff;
    text-align: center;
}

.contact-person__content {
    font-size: 17px;
    line-height: 27px;
}

.contact-person__content p {
    margin-bottom: 0;
}

.contact-person__content a {
    font-weight: 500;
}

.contact-person__content a:hover {
    text-decoration: underline;
}

.contact-person__title {
    margin-bottom: 15px;
}

.contact-person .contact-person__title h3 {
    margin-top: 0 !important;
    text-transform: uppercase;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.logo {
    margin: 1rem 70px;
}

.arrow {
    width: 14px;
    height: 2px;
    background: #ffd800;
    display: inline-block;
    position: relative;
    top: -3px;
    left: 6px;
}

.arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: -3px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #ffd800;
    border-right: 2px solid #ffd800;
    transform: rotate(45deg);
}

@media all and (max-width:839px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .logo {
        margin: 1rem;
    }

    article {
        padding: 0 16px;
    }

    footer {
        padding: 0 16px 16px;
    }

    .contact-person {
        flex-wrap: wrap;
        width: auto;
        gap: 1rem;
        margin: 2rem 0;
    }

    :is(.contact-person__title, .contact-person__name) {
        text-align: center;
    }

    br:not(footer br) {
        display: none;
    }
}