/* BASICS */
html {
    scroll-behavior: smooth
}

body {
    overflow-x: hidden;
    background: #111;
    color: #aaa;
    font-family: 'Fira Sans', sans-serif;
    letter-spacing: -0.03em;
    word-spacing: 0.05em;
    line-height: 1.5em;
    font-size: 1.1em;
}

hr {
    margin-top: 2em;
    border: none;
    border-top: 1px solid #555;
}

/* HEADER */
header {
    position: fixed;
    z-index: 10;
    top: 0px;
    width: 100%;
    height: 40px;
    background-color: #111;
}

header img {
    position: fixed;
    z-index: 20;
    width: 140px;
    height: 30px;
    top: 0;
    left: 0;
    padding: 5px 10px;
}

nav ul {
    list-style-type: none;
    text-align: right;
    margin: 0 10px 0 0;
    padding: 10px 0;
    background-color: #111;
}

nav ul li {
    display: inline-block;
    padding-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
}

nav ul li a:hover,
nav ul li a.active {
    color: #00f900;
}

/* CONTENT */
h1,
h2,
h3 {
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    text-align: center;
    line-height: 1.3em;
}

h1 {
    font-size: 2.5em;
    text-align: left;
    margin: -5px 0 50px 0;
}

h2 {
    font-size: 2.5em;
    padding-top: 2.5em;
    color: #00f900;
}

h3 {
    text-align: center;
    font-size: 1.7em;
}

section#kontakt h3 {
    text-align: left;
}

section#kontakt a {
    color: #aaa;
}

p,
a,
strong {
    font-weight: 200;
}

article {
    max-width: 780px;
    margin: 0 auto;
}

section.flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

section#kontakt {
    max-width: 800px;
    margin: 0 auto;
}

section#top {
    padding-top: 100px;
}

div[data-aos],
div.left,
div.right {
    position: relative;
    margin: 10px;
}

section.web div[data-aos] {
    width: calc(50% - 20px);
}

section.cms div[data-aos] {
    width: calc(25% - 20px);
    height: 11em;
}

section.wb div[data-aos] {
    width: calc(100% - 21px);
}

div.left {
    width: calc(25% - 20px);
}

div.right {
    width: calc(75% - 40px);
    margin-left: 30px;
}

div.right ul {
    font-size: 1.8em;
    line-height: 4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

div[data-aos] img,
div.left img {
    width: 100%;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

div.over {
    position: absolute;
    bottom: 0;
    left: 100%;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
}

div[data-aos]:hover .over {
    width: 100%;
    left: 0;
}

div[data-aos]:hover img {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}

div.txt {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    white-space: nowrap;
    text-align: center;
}

div.txt a {
    color: #111;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    text-decoration: none;
}

div.txt i {
    font-size: 7em;
}

article a {
    color: #aaa;
}

p.small {
    font-size: 0.7em;
    line-height: 1.2em;
}

img.mobile {
    display: none;
}

.ecke {
    width: 0px;
    height: 0px;
    -webkit-transform: rotate(360deg);
    border-style: solid;
    border-width: 25px 25px 0 0;
    border-color: #00f900 transparent transparent transparent;

}

/* MEDIA QUERIES */

@media all and (max-width: 810px) {
    h1 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.1em;
    }

    div.right ul {
        font-size: 1.5em;
        line-height: 3rem;
    }
}

@media all and (max-width: 640px) {

    h1 {
        font-size: 1.6em;
        margin: 20px 0;
    }

    h2 {
        font-size: 1.6em;
        padding-top: 3.5em;
    }

    h3 {
        font-size: 1em;
    }

    div.right ul {
        font-size: 1em;
        line-height: 2.5rem;
    }

    nav ul {
        padding-top: 40px;
    }

    nav ul li {
        padding-right: 10px;
    }

    section.flex {
        display: block;
    }

    section.cms {
        display: flex;
        justify-content: space-between;
    }

    div[data-aos],
    div.left,
    div.right {
        margin: 0;
    }

    section.cms div[data-aos] {
        height: 8em;
    }

    div.txt i {
        font-size: 4em;
    }

    div.left {
        width: 100%;
        max-width: 380px;
    }

    div.right {
        width: 100%;
    }

    section.web div[data-aos],
    section.wb div[data-aos] {
        width: 100%;
    }

    img.mobile {
        display: block;
    }

    img.desktop {
        display: none;
    }
}
