@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/poppins-v24-latin-regular.eot');
    src: url('../fonts/poppins-v24-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/poppins-v24-latin-regular.woff2') format('woff2'), url('../fonts/poppins-v24-latin-regular.woff') format('woff'), url('../fonts/poppins-v24-latin-regular.ttf') format('truetype'), url('../fonts/poppins-v24-latin-regular.svg#Poppins') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/poppins-v24-latin-700.eot');
    src: url('../fonts/poppins-v24-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/poppins-v24-latin-700.woff2') format('woff2'), url('../fonts/poppins-v24-latin-700.woff') format('woff'), url('../fonts/poppins-v24-latin-700.ttf') format('truetype'), url('../fonts/poppins-v24-latin-700.svg#Poppins') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    color: #191970;
    font: 400 .938rem/1.4 'Poppins', Arial, sans-serif;
    background: url('../images/bg.jpg') top center;
    background-size: cover;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    background-color: #fff;
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #0645ad;
}

a.link:hover {
    color: inherit;
}

a.wrap {
    white-space: normal;
}

p {
    margin-bottom: 0.75rem;
}

.color {
    color: #06135b;
}

h1 {
    margin: 2rem 0 1rem;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.4;
    color: #cd0000;
}

h2 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #cd0000;
}


ul {
    margin-bottom: 2rem;
    list-style: none;
}

ul li {
    margin: 0 0 .5rem 2.5rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
}

.button {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.button a {
    padding: 1rem 2rem;
    background-color: #cd0000;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    border-radius: .25rem;
}

.button a:hover {
    color: #0d3880;
}

.kontakt {
    display: flex;
    align-items: center;
    gap: 1rem 2rem;
    padding-bottom: 2rem;
}

article {
    padding: 2rem 1.75rem;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.75rem;
}

footer a {
    background: #e8e9ec;
    font-size: 23px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer a:hover {
    background: #ced0d7;
}

footer a i {
    color: #333;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    body {
        background: none;
    }
}

@media only screen and (max-width: 40rem) {

    article,
    footer {
        padding: 1rem;
    }

    .kontakt {
        flex-direction: column;
    }
}

@media only screen and (max-width: 35rem) {
    h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    ul li {
        margin-left: 1rem;
    }

    .button {
        margin: 1.5rem 0;
    }
}