@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #231f20;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 1100px;
    margin: 16px auto;
    border: 1px solid #231f20;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

header {
    padding: 16px;
    width: 100%;
    border-bottom: 1px solid #ededed;
}

article {
    padding: 24px 10px 16px 16px;
    width: calc(100% - 306px);
}

.slide {
    margin: 0 0 16px;
}

:is(.slide, .slide img:nth-of-type(1)) {
    position: relative;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    6.6% {
        opacity: 1;
    }

    33.3% {
        opacity: 1;
    }

    39.9% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.slide img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 15s linear 0s infinite normal forwards;
    vertical-align: bottom;
    border-radius: 10px;
}

.slide img:nth-child(2) {
    animation-delay: 5s;
}

.slide img:nth-child(3) {
    animation-delay: 10s;
}

.flex {
    display: flex;
    align-items: center;
    gap: 6px 16px;
    color: #7a7a7a;
    flex-wrap: wrap;
}

.flex span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.button {
    margin-top: 25px;
}

.button a {
    display: inline-block;
    padding: 8px 30%;
    background: #0066b3;
    color: #fff !important;
    border-radius: 20px;
    text-align: center;
}

.button a:hover {
    background: #005798;
}

footer {
    padding: 24px 16px 16px 10px;
    width: 306px;
}

.kontakt {
    background: #002d67;
    padding: 16px 16px 6px;
    border-radius: 20px;
    margin: 84px 0 20px;
}

.kontakt p {
    color: #fff;
    margin: 0 0 10px;
}

.tel {
    display: inline-block;
    margin-top: 10px;
}

.avata {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.kununu {
    border: 1px solid #ededed;
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
}

p {
    margin: 0 0 16px;
}

strong.color {
    color: #ff6600;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

h1 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 34px;
    color: #0066b3;
}

h1 span {
    white-space: nowrap;
}

:is(p.color, h2) {
    color: #002d67;
}

h2 {
    margin: 32px 0 16px;
    font-size: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 32px;
    list-style: none;
}

ul li {
    padding-left: 24px;
    margin: 0 0 10px;
}

li:before {
    content: '\2022';
    float: left;
    font-size: 22px;
    text-indent: -16px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 1099px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media all and (max-width: 1000px) {
    .kontakt {
        margin-top: 112px;
    }

    ul li {
        padding-left: 16px;
    }

    li:before {
        text-indent: -16px;
    }
}

@media all and (max-width: 890px) {
    #wrapper {
        display: block;
    }

    article {
        width: 100%;
        padding: 16px;
    }

    footer {
        width: 100%;
        padding: 0 16px 16px;
    }

    .kontakt {
        margin-top: 0;
    }

    .slide img {
        width: 100%;
    }

    .button a {
        padding: 8px 16px;
        width: 100%;
    }

    .kununu {
        flex-direction: row;
        padding: 16px;
        flex-wrap: wrap;
    }
}

@media all and (max-width: 480px) {
    h1 {
        text-align: center;
    }

    .flex {
        justify-content: center;
    }
}

@media all and (max-width: 374px) {
    .flex span {
        font-size: 90%;
    }
}