@charset "utf-8";

:root {
    font-size: 16px;
}

@font-face {
    font-display: swap;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/oswald-v49-latin-regular.eot');
    src: url('../fonts/oswald-v49-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/oswald-v49-latin-regular.woff2') format('woff2'),
        url('../fonts/oswald-v49-latin-regular.woff') format('woff'),
        url('../fonts/oswld-v49-latin-regular.ttf') format('truetype'),
        url('../fonts/oswald-v49-latin-regular.svg#Oswald') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #79797c;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.kontakt {
    z-index: 1000;
    display: block;
    width: fit-content;
    position: sticky;
    top: 50%;
    left: 99%;
}

.icon {
    position: absolute;
    width: 72px;
    right: 0;
    padding: 0.5rem;
}

.bottom {
    top: 72px;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    background-color: #FFF;
    border: 0.02rem solid #A7A9A4;
    box-shadow: -0.1rem 0.1rem 1rem #999;
}

header {
    padding: 32px 39px 16px;
    display: flex;
}

h1 {
    line-height: 1.3;
    font-size: 2.2rem;
    font-weight: 900;
    padding: 0;
    margin: 0;
    color: #4fbaab;
    text-transform: uppercase;
}

h2 {
    margin: 0;
    line-height: 1.5;
    font-size: 1.3rem;
    font-weight: 700;
    color: #f0b80b;
    text-transform: uppercase;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #f0b80b;
    text-decoration: none;
    white-space: nowrap;
}

@keyframes slidy {
    0% {
        left: 0%;
    }

    30% {
        left: 0%;
    }

    33% {
        left: -100%;
    }

    64% {
        left: -100%;
    }

    67% {
        left: -200%;
    }

    97% {
        left: -200%;
    }

    100% {
        left: -300%;
    }
}

.slider {
    overflow: hidden;
}

.slider figure {
    position: relative;
    width: 400%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 18s slidy infinite;
}

figure img {
    width: 25%;
    float: left;
}

hr {
    border: none;
    border-bottom: solid #4fbaab 5px;
    width: 2rem;
    margin: 0 0 23px;
}

section {
    padding: 1.1rem 9% 24px 7%;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.double>* {
    width: 48%;
}

.content {
    padding: 1rem;
    color: #2d323b;
    border: solid #ececec 1px;
    margin: 1rem 0 1.5rem 0;
}

.content:hover {
    border: 1px solid #f0b80b;
}

.content *:last-child {
    margin-bottom: 0;
}

p {
    margin: 0 0 23px;
}

ul {
    margin: 0 auto 1rem 0.5rem;
    padding-left: 1.5rem;
    list-style-type: none;
}

li {
    position: relative;
    margin: auto;
    padding: 0;
}

li:before {
    position: absolute;
    top: -0.15rem;
    left: -2rem;
    content: ">>";
    font-size: 1rem;
    color: #4fbaab;
}

footer {
    background: #ECECEC;
    display: flex;
    padding: 1.1rem 3%;
}

.left {
    width: 70%;
    padding: 1rem 3%;
    border-right: solid #81807e 1px;
}

.left *:last-child {
    margin: 0;
}

.right {
    width: 30%;
    padding: 1rem 3%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.right p {
    margin: 0;
}

.social {
    display: inline-block;
    margin-right: 5px;
}

.responsive {
    display: none;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 16px;
        box-shadow: none;
        overflow: hidden;
    }

    section {
        padding: 1rem;
    }

    .kontakt {
        position: static;
        top: 0;
        right: 0;
    }

    .icon {
        top: 20px;
        right: 72px;
    }

    .bottom {
        right: 0;
    }

    .flex {
        display: block;
    }

    .double>* {
        width: 100%;
    }

    footer {
        display: block;
    }

    .left,
    .right {
        width: 100%;
        padding: 0;
        border: none;
    }

    .left *:last-child {
        margin: 0 0 1rem;
    }

    .right {
        align-items: center;
        text-align: center;
    }

    .title {
        display: none;
    }

    .responsive {
        display: block;
        margin: 0 0 1rem;
    }

    .content {
        margin: 1rem 0;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }
}

@media only screen and (max-width: 48rem) {
    header {
        padding: 1rem;
        justify-content: center;
    }

    h1 {
        font-size: 26px;
    }

    section {
        padding: 0;
    }

    .description {
        padding: 1rem 0;
    }
}