@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/barlow-v12-latin-regular.eot');
    src: url('../fonts/barlow-v12-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/barlow-v12-latin-regular.woff2') format('woff2'), url('../fonts/barlow-v12-latin-regular.woff') format('woff'), url('../fonts/barlow-v12-latin-regular.ttf') format('truetype'), url('../fonts/barlow-v12-latin-regular.svg#Barlow') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/barlow-v12-latin-600.eot');
    src: url('../fonts/barlow-v12-latin-600.eot?#iefix') format('embedded-opentype'), url('../fonts/barlow-v12-latin-600.woff2') format('woff2'), url('../fonts/barlow-v12-latin-600.woff') format('woff'), url('../fonts/barlow-v12-latin-600.ttf') format('truetype'), url('../fonts/barlow-v12-latin-600.svg#Barlow') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/barlow-v12-latin-700.eot');
    src: url('../fonts/barlow-v12-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/barlow-v12-latin-700.woff2') format('woff2'), url('../fonts/barlow-v12-latin-700.woff') format('woff'), url('../fonts/barlow-v12-latin-700.ttf') format('truetype'), url('../fonts/barlow-v12-latin-700.svg#Barlow') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #212529;
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 10px rgb(0 0 0 / 40%);
    -moz-box-shadow: 0 0 10px rgb(0 0 0 / 40%);
    -webkit-box-shadow: 0 0 10px rgb(0 0 0 / 40%);
}

h1 {
    background: #295d91;
    color: #f0f3f5;
    padding: 1rem;
    margin: 1rem 0 0;
    text-align: center;
    font-size: 2rem;
    line-height: 1.3
}

h2 {
    font-size: 1.1rem;
    color: #295d91;
    font-weight: bold;
    margin: 0 0 .625rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
}

ul li {
    padding-left: 3.7rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.125rem;
    font-size: 1.375em;
    line-height: 0.95;
}

p {
    margin: 0 0 1rem;
}

header {
    position: relative;
}

.logo {
    position: absolute;
    top: .65rem;
    right: 2rem;
}

.slider {
    position: relative;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s linear infinite 0s;
}

.slider>img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider>img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider>img:nth-of-type(3) {
    animation-delay: 12s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
}

.box {
    padding: 1rem 2rem 0;
}

.section {
    background: #f0f3f5;
    padding: 1rem 2rem;
    margin: 0;
}

.section ul {
    margin: 0
}

a.btn {
    border-radius: 3.125rem;
    background: #295d91;
    color: #fff;
    padding: .625rem 4.5rem;
    text-align: center;
    font-weight: 600;
    transition: 0.3s;
    margin: 1.5rem auto 1rem;
    display: block;
    width: fit-content;
}

a.btn:hover {
    box-shadow: 0 .625rem 2rem -.937rem rgb(0 0 0);
    transform: translateY(-.187rem);
}

footer {
    background: url("../images/blau.jpg") center center no-repeat;
    background-size: cover;
    padding: 2rem 1rem 1rem;
}

footer p {
    text-align: center;
    color: #fff;
}

footer p span {
    white-space: nowrap;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        hyphens: auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h1 {
        font-size: 1.5rem;
        margin: 0
    }

    ul li {
        padding-left: 1.5rem
    }

    .logo {
        right: 1rem;
    }

    .box {
        padding: 1rem 1rem 0;
    }

    .section {
        padding: 1rem
    }

    footer {
        padding: 1.5rem 1rem 1px;
    }
}

@media only screen and (max-width: 47.5rem) {
    .logo {
        top: .5rem;
        left: 50%;
        transform: translate(-50%)
    }
}

@media only screen and (max-width: 30rem) {
    .logo {
        position: static;
        display: flex;
        flex-basis: column;
        align-items: center;
        margin: 1rem auto;
        transform: translate(0)
    }
}

@media only screen and (max-width: 23.5rem) {
    a.btn {
        width: 100%
    }
}