@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/rubik-v30-latin-300.eot');
    src: url('../fonts/rubik-v30-latin-300.eot?#iefix') format('embedded-opentype'), url('../fonts/rubik-v30-latin-300.woff2') format('woff2'), url('../fonts/rubik-v30-latin-300.woff') format('woff'), url('../fonts/rubik-v30-latin-300.ttf') format('truetype'), url('../fonts/rubik-v30-latin-300.svg#Rubik') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/rubik-v30-latin-regular.eot');
    src: url('../fonts/rubik-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/rubik-v30-latin-regular.woff2') format('woff2'), url('../fonts/rubik-v30-latin-regular.woff') format('woff'), url('../fonts/rubik-v30-latin-regular.ttf') format('truetype'), url('../fonts/rubik-v30-latin-regular.svg#Rubik') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/rubik-v30-latin-700.eot');
    src: url('../fonts/rubik-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/rubik-v30-latin-700.woff2') format('woff2'), url('../fonts/rubik-v30-latin-700.woff') format('woff'), url('../fonts/rubik-v30-latin-700.ttf') format('truetype'), url('../fonts/rubik-v30-latin-700.svg#Rubik') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #0F6A9F;
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 300;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 60rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 5px #999;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

strong {
    font-weight: 700;
}

.bolder strong {
    font-weight: bolder;
}

p:not(:last-child) {
    padding-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    padding: 2rem 0 1rem;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    padding-bottom: .5rem;
}

h3 {
    font-size: 1rem;
    font-weight: bolder;
    padding: 1rem 0;
}

ul {
    list-style: none;
}

ul+p {
    padding-top: 1rem;
}

ul li {
    padding: 0 0 0 1rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
    color: #5BC4F1;
}

.section {
    padding: 2rem;
}

.info {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
}

.info>div {
    flex: 33.333%;
    display: flex;
    gap: .5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.flex,
.block {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.flex>div {
    flex: 0 1 50%;
}

.blue {
    background-color: #5BC4F1;
    color: #fff;
    padding: 4rem 5rem;
}

.image {
    align-items: normal;
    gap: 0;
}

.image>img {
    object-fit: cover;
    width: 50%;
}

.icon {
    position: relative;
}

.icon::before {
    content: url("../images/icon.png");
    position: absolute;
    top: -30px;
    left: -45px;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: wrap;
    gap: 1.5rem 1rem;
    padding: .5rem 0 0;
}

.benefits div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .5rem;
}

.kontakt div {
    display: flex;
    align-items: center;
    gap: .5rem 2rem;
    padding-bottom: 2rem;
}

.kontakt div img {
    width: 45px;
    height: 45px;
}

.block {
    padding: 1rem 0 0;
    gap: 1rem 2rem;
}

.section:last-of-type .image>img {
    width: auto;
}

.block>div {
    flex-grow: 1;
}

.button a {
    display: inline-block;
    margin-top: 5%;
    font-weight: normal;
    border: 1px solid #0F6A9F;
    border-radius: 17px;
    color: #0F6A9F;
    padding: 0.5rem 8px 0.5rem 1.5rem;
}

.button a::after {
    content: "";
    display: inline-block;
    margin: 0 14px;
    width: 45px;
    height: 13px;
    background-image: url("../images/arrow.png");
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.button a:hover {
    color: #fff;
    background-color: #0F6A9F;
}

.button a:hover::after {
    background-image: url("../images/white_arrow.png");
}

footer {
    background-color: #83d0f5;
}

@media only screen and (max-width: 59.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 56rem) {
    .flex {
        flex-direction: column;
    }

    .flex>div {
        width: 100%;
    }

    .image>img {
        width: auto;
    }

    .section {
        padding: 1rem 2rem;
    }

    .flex>div>img {
        margin: 0 auto;
    }

    h1 {
        padding: 1rem 0 1.5rem;
        text-align: center;
    }
}

@media only screen and (max-width: 45rem) {
    .section {
        padding: 0 1rem 1rem;
    }

    h1 {
        font-size: 2rem;
        padding: 1.5rem 0;
    }

    h2 {
        font-size: 1.5rem;
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .block {
        flex-direction: column;
        align-items: center;
        padding-bottom: 1.5rem;
    }

    .kontakt,
    .block div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer {
        display: none;
    }
}

@media only screen and (max-width: 30rem) {
    .info {
        flex-direction: column;
    }

    .blue {
        padding: 2rem;
    }

    .icon::before {
        display: none;
    }

    .benefits {
        grid-template-columns: repeat(1, 1fr);
    }
}