﻿@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v32-latin-regular.eot');
    src: url('../fonts/roboto-v32-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-v32-latin-regular.woff2') format('woff2'),
        url('../fonts/roboto-v32-latin-regular.woff') format('woff'),
        url('../fonts/roboto-v32-latin-regular.ttf') format('truetype'),
        url('../fonts/roboto-v32-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v32-latin-700.eot');
    src: url('../fonts/roboto-v32-latin-700.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-v32-latin-700.woff2') format('woff2'),
        url('../fonts/roboto-v32-latin-700.woff') format('woff'),
        url('../fonts/roboto-v32-latin-700.ttf') format('truetype'),
        url('../fonts/roboto-v32-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 1000px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

header {
    margin: 0;
}

article {
    padding: 0 2rem;
}

footer {
    padding: 1rem 2rem;
    background: #003B5E;
    color: #FFF;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 1rem 0;
    font-size: 47px;
    text-transform: uppercase;
    color: #003b5e;
    line-height: 1.4;
}

h2 {
    font-size: 18px;
    margin: 1rem 0;
    color: #003b5e;
    line-height: 22px;
}

h3 {
    font-size: 1rem;
    margin: 8px 0 1rem;
    color: #55B7F0;
    line-height: 25px;
}

h3 span {
    display: block;
    font-weight: normal;
    color: #000;
    font-size: 13px;
}

h4 {
    color: #31B7F0;
    font-size: 1rem;
    line-height: 21px;
    margin: 0 0 1rem;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    margin: 0;
    list-style: none;
}

ul li {
    padding:0 0 5px 1.25rem ;
}

ul li:before {
    content: "\2022";
    color: #003b5e;
    float: left;
    font-family: Arial, sans-serif;
    font-size: 1.5625rem;
    text-indent: -1.25rem;
}

img {
    max-width: 100%;
}

.infor p {
    display: flex;
    align-items: center;
    gap: 25px;
}



.button {
    display: flex;
    margin: 25px 0;
    justify-content: flex-end;
}

.button a {
    display: inline-block;
    padding: 10px 6rem;
    background: #003B5E;
    color: #fff !important;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
}

hr {
    display: block;
    width: 100%;
    height: 1px;
    border: none;
    background: #000;
    margin: 1.5rem 0;
}

.kontakt p {
    position: relative;
    padding: 0 0 0 27px;
}

.kontakt p img {
    position: absolute;
    top: 2px;
    left: 0;
}

.avatar {
    display: flex;
    gap: 20px;
}

.box {
    font-size: 14px;
    line-height: 20px;
}

.flex {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.ait {
    width: 75%;
}

@media all and (max-width:999px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(footer br) {
        display: none;
    }

    .button {
        justify-content: center;
    }
}

@media all and (max-width:767px) {
    .ait {
        width: 100%;
    }

    :is(article, footer) {
        padding: 1rem
    }

    h1 {
        font-size: 35px;
        line-height: 1.3;
    }

    .avatar {
        flex-wrap: wrap;
    }
}