﻿@charset "utf-8";

/* Standard */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,500&display=swap');

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

a:hover,
a:active,
a:visited {}

u {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    color: #000;
    font-family: 'Playfair Display', serif;
    font-size: .937rem;
    line-height: 1.6;
}

p {
    margin: 0 0 .625rem;
}

h1 {
    font-size: 1.562rem;
    line-height: 1.3;
    margin: 0 0 2.5rem;
}

h1 span {
    font-size: 0.7em;
}

h2 {
    font-size: 1rem;
    margin: 2.5rem 0 1.25rem;
    color: #D9232F;
    font-style: italic;
    font-weight: 500;
    background: #F5F5F5;
    padding: .312rem .625rem;
    border-bottom: .062rem solid #000;
}

h3 {
    font-size: .875rem;
    margin: 0;
}

hr {
    border-top: 1px solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 .625rem;
    padding: 0;
}

ul li {
    padding-left: 4.062rem
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .312rem;
    height: .312rem;
    border-radius: .312rem;
    background: #000;
    margin-left: -1.562rem;
    top: .625rem;
}


.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

#wrapper {
    position: relative;
    max-width: 56.875rem;
    margin: 1rem auto;
    box-shadow: 0 0 1.562rem rgba(0, 0, 0, 0.2);
}

.slider a {
    position: absolute;
    z-index: 15;
    left: 1.562rem;
    top: 1.562rem;
    width: 9.375rem;
}

article {
    padding: 3.125rem 6.25rem;
}


.link {
    background: url(../images/de.svg);
    background-size: cover;
    padding: 1.125rem;
    flex: 1;
    background-position: center;
}

.link + .link {
    background: url(../images/gb.svg);
    background-size: cover;
    background-position: center;
}



article {
    position: relative;
}

.text {
    position: absolute;
    opacity: 0;
    transition: 0.3s;
    z-index: 1;
    top: 0;
}

.activeText {
    opacity: 1;
    position: static;
    z-index: 2;
}

header {
    margin: .937rem .937rem 0;
}

menu a {
    float: left;
    width: 23%;
    display: block;
    margin-right: 1%;
}

menu a:first-of-type {
    margin-left: 1%;
}


menu {
    display: block;
    margin: 0;
    padding: .625rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

ol {
    list-style: none;
    padding: 0;
    display: flex;
    width: 7.5rem;
    margin: 0 0 1.875rem auto;
    align-items: center;
}

ol li {
    flex: 1;
    margin: 0 .312rem;
    transition: 0.3s;
    cursor: pointer;
}


#deText > p:nth-last-of-type(3) a {
    color: #D9232F;
    text-decoration: underline;
}


@keyframes slidy {
    0% {
        left: 0%;
    }

    17% {
        left: 0%;
    }

    20% {
        left: -100%;
    }

    37% {
        left: -100%;
    }

    40% {
        left: -200%;
    }

    57% {
        left: -200%;
    }

    60% {
        left: -300%;
    }

    77% {
        left: -300%;
    }

    80% {
        left: -400%;
    }

    97% {
        left: -400%;
    }

    100% {
        left: -500%;
    }
}

.slider {
    overflow: hidden;
    position: relative;
}

.slider figure {
    position: relative;
    width: 600%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 30s slidy infinite;
}

figure img {
    width: 16.666666666666668%;
    float: left;
}



@media only screen and (max-width:56.812rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
    }

    p a {
        font-weight: bold;
    }

    p,
    ul {
        margin-bottom: .625rem;
    }

    article {
        padding: .625rem;
    }

    .slider a {
        left: .625rem;
        top: .625rem;
        width: 7.5rem;
    }

    h1,
    h2 {
        margin: 0 0 .625rem;
    }

    ul li {
        padding-left: 2.187rem;
    }
}

@media only screen and (max-width:29.937rem) {}