:root {
    --background-color: #F6F6F6;
    --surface-background-color: #FFFFFF;
    --seperator-color: #F7F7F7;
    --text-color: #707070;
    --header-color: #4E4E4E;
    --blue-dark: #0632C0;
    --blue: #207EEF;
    --blue-light: #2898FF;
    --blue-gradient: linear-gradient(to right, var(--blue-dark), var(--blue-light));
    /* Navigation */
    --nav-width-expanded: 220px;
    --nav-width-retracted: -220px;
    --nav-header-height: 100px;
    --nav-footer-height: 200px;
    --nav-active-text-color: #FFFFFF;
    /* Sizes */
    --border-radius: 15px;
    /* Shadows */
    --box-shadow-light: 2px 2px 8px rgba(0, 0, 0, 0.05);
    --box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    --box-shadow-elevated: 2px 2px 16px rgba(0, 0, 0, 0.175);
    --box-shadow-strong: 2px 2px 32px rgba(0, 0, 0, 0.15);
    --box-shadow-strong-elevated: 2px 2px 48px rgba(0, 0, 0, 0.2);
}

body {
    background-color: var(--background-color);
}

* {
    font-family: "Roboto", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p,
span,
li,
a,
td,
i {
    color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--header-color);
    font-weight: 400;
}

h4,
h5,
h6 {
    font-weight: 500;
}

.card {
    padding: 20px 30px;
    background-color: var(--surface-background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    margin: 20px 0 40px 0;
}

.card.margin-large {
    margin: 60px 0 80px 0;
}

.card.transparent {
    background: none;
    box-shadow: none;
    padding-bottom: 0;
}

.card h2 {
    margin-bottom: 10px;
}

.card.flex {
    display: grid;
    grid-template-columns: 50% 50%;
}

.card.flex>div:first-child {
    margin-right: 20px;
}

.card.flex>div:last-child {
    margin-left: 20px;
}

.card.flex i {
    font-size: 52px;
    margin-right: 20px;
}

.card.flex img {
    width: calc(100% - 100px);
    box-shadow: var(--box-shadow-strong);
    cursor: pointer;
    transition: 0.3s;
    margin: 10px auto;
    display: block;
}

.card.flex img:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--box-shadow-strong-elevated);
}

.margin-top {
    margin-top: 15px;
}

.gradient-text {
    background: var(--blue-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.button {
    text-decoration: none;
    background: var(--blue-gradient);
    padding: 10px 25px;
    color: var(--nav-active-text-color);
    margin: 10px 0;
    height: 40px;
    line-height: 20px;
    border-radius: 25px;
    display: inline-block;
}

ul:not(.list) {
    display: grid;
    list-style-type: none;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 20px 0;
}

ul.list {
    padding: 10px 0 10px 20px;
}

ul.grid-2 {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0;
}

ul.grid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-bottom: 0;
}

li:not(.list-item) {
    margin-right: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

li.noflex {
    display: initial;
    margin-bottom: 0;
}

li i {
    font-size: 60px;
    margin-right: 20px;
    min-width: 70px;
    text-align: center;
}

li h3 {
    font-weight: 500;
}

li a {
    width: 100%;
    text-align: center;
}

li img {
    max-width: calc(100% - 50px);
    margin: 0 auto;
    box-shadow: var(--box-shadow-strong);
    cursor: pointer;
    transition: 0.3s;
}

li img:hover {
    box-shadow: var(--box-shadow-strong-elevated);
    transform: translateY(-5px) scale(1.05);
}

.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.flex-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-center {
    justify-content: center;
    align-items: center;
}


/* -------------------- PICTURE SHOW --------------------- */

.pictureShow {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 500;
    background: rgba(0, 0, 0, 0.2);
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pictureShow img {
    max-width: calc(100% - 40px);
    max-height: calc(100% - 100px);
    cursor: default;
}


/* -------------------- NAVIGATION HEADER --------------------- */

.nav {
    position: absolute;
    height: 100vh;
    width: var(--nav-width-expanded);
    background-color: var(--surface-background-color);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: var(--nav-header-height) 1fr var(--nav-footer-height);
}

.nav,
.nav-header,
.nav-body,
.nav-footer {
    background-color: var(--surface-background-color);
}

.nav,
.nav *,
.nav-header,
.nav-body,
.nav-footer,
.nav-header *,
.nav-body *,
.nav-footer * {
    z-index: 10;
}

.nav-header {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--seperator-color);
}

.nav-logo {
    margin: 0 20px;
}

.nav-logo-text {
    line-height: 22px;
}


/* -------------------- NAVIGATION BODY --------------------- */

.nav-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 60px;
    width: calc(100% - 10px);
    cursor: pointer;
    margin: 10px 0;
    position: relative;
    text-decoration: none;
}

.nav-item,
.nav-item * {
    z-index: 12;
}

.nav-item::before {
    content: " ";
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    background: var(--blue-gradient);
    z-index: 11;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.nav-item:hover::before,
.nav-item.nav-item-active::before {
    transform: translateX(0%);
}

.nav-item:hover .nav-item-text {
    color: var(--nav-active-text-color);
}

.nav-item:first-child {
    margin-top: 10px;
}

.nav-item-image-container {
    width: 40px;
    height: 40px;
    background: var(--background-color);
    border-radius: 50%;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item-image {
    border-radius: 50%;
    font-size: 22px;
}

.nav-item-text {
    transition: color 0.3s;
}

.nav-item.nav-item-active .nav-item-text {
    color: var(--nav-active-text-color);
}


/* -------------------- NAVIGATION FOOTER --------------------- */

.nav-footer {
    border-top: 1px solid var(--seperator-color);
}

.nav-footer-text {
    margin: 0 20px;
    font-size: 12px;
}


/* -------------------- LAYOUT --------------------- */

.all {
    position: absolute;
    top: 0;
    left: var(--nav-width-expanded);
    width: calc(100vw - var(--nav-width-expanded));
    height: 100vh;
    padding: 6px 30px;
    overflow: hidden;
}

.all>.header,
.all>.body>.navigation,
.all>.body>.content {
    width: 100%;
    height: auto;
    position: relative;
}

.all>.header:not(:empty),
.all>.body>.navigation:not(:empty),
.all>.body>.content:not(:empty) {
    margin: 10px 0;
}

.all>.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.all>.header h2 {
    margin-bottom: 0;
}

.all>.body {
    height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
}

.all>.body h2 {
    font-weight: 500;
}


/* -------------------- REFERENCES AND BUNDLES --------------------- */

.bundles {
    width: 100%;
    display: grid;
    grid-template-columns: 33% 33% 33%;
}

.bundle {
    width: 100%;
    text-align: center;
    position: relative;
}

.bundle .description {
    width: calc(100% - 100px);
    margin: auto;
    text-align: left;
}

.bundle-content {
    text-align: left;
    width: 100%;
    max-width: 240px;
    display: block;
    margin: auto;
}

.references {
    position: relative;
    width: 600px;
    height: 325px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference {
    width: 100%;
    position: absolute;
    animation: 40s referenceSlideshow infinite;
}

.reference:nth-child(1) {
    animation-delay: -32s;
}

.reference:nth-child(2) {
    animation-delay: -24s;
}

.reference:nth-child(3) {
    animation-delay: -16s;
}

.reference:nth-child(4) {
    animation-delay: -8s;
}

.reference:nth-child(5) {
    animation-delay: 0s;
}

.reference::before,
.reference::after,
.bundle::before,
.bundle::after {
    content: " ";
    display: block;
    transition: width 900ms cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100px;
    height: 2px;
    border-radius: 2px;
    background: var(--header-color);
    margin: auto;
    transform: translateY(-20px);
}

.reference::after,
.bundle::after {
    transform: translateY(12px);
}

.reference .content {
    position: relative;
}

.reference .content::before,
.reference .content::after {
    content: " ";
    display: block;
    background: url("../img/quote_left.svg");
    position: absolute;
    transform: translate(42px, -42px);
    width: 40px;
    height: 40px;
}

.reference .content::after {
    background: url("../img/quote_right.svg");
    right: 0;
    transform: translate(-42px, 4px);
}

.reference .content {
    font-weight: 700;
    text-align: center;
    background: var(--blue-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reference .author {
    color: var(--header-color);
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    margin: 10px 0;
}

@keyframes referenceSlideshow {
    0%,
    18% {
        transform: scale(1) translate(0px, 0px);
        opacity: 1;
    }
    20%,
    38% {
        transform: scale(0.5) translateX(100%);
        opacity: 0;
    }
    40%,
    58% {
        transform: scale(0.5) translateX(100%);
        opacity: 0;
    }
    60%,
    78% {
        transform: scale(0.5) translateX(-100%);
        opacity: 0;
    }
    80%,
    98% {
        transform: scale(0.5) translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateX(0);
        opacity: 1;
    }
}


/* -------------------- OTHER STUFF --------------------- */

.funktionsweise,
.funktionsweise ul {
    margin-bottom: 0;
}

.introduction {
    height: calc(100vh - 300px);
    max-height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.introduction .buttons .button {
    margin: 0 20px;
    width: 165px;
    height: 48px;
    line-height: 28px;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
}

.introduction img,
.introduction p {
    width: calc(100% - 150px);
    font-size: 20px;
    box-shadow: none;
    text-align: center;
    cursor: unset;
    color: var(--header-color);
}

.introduction img:hover {
    transform: none;
    box-shadow: none;
}

.fuerAlle {
    margin-bottom: 75px;
}