
:root {
    --offLightBlue: rgb(16, 41, 78);
    --lightBlue: rgb(66, 109, 169);
    --range: rgb(255, 127, 65);
    --darkBlue: rgb(16, 41, 78);
    --white: whitesmoke;
    --black: rgb(50, 50, 50);
    --bep: rgb(66, 92, 166);
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    width: 100%;
    min-height: 100%;
    height: 100%;
}

.allContainer {
    width: 100%;
    min-height: 100vh;
    background-image: url(/public/images/background.webp);
    display: flex;
    flex-direction: column;
    z-index: 0;
    position: relative;
}

nav {
    padding-top: 1rem;
    padding-left: 1rem;
    width: 100%;
    background-color: var(--offLightBlue);
    display: flex;
    flex-direction: row;
    color: var(--white);
    position: sticky;
    top: 0%;
    z-index: 200;
    animation: slide-right 0.75s ease-in-out 1 both;
    animation-delay: 0.5s;
}

nav > .item {
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    padding: 0.25rem;
    white-space: nowrap;
}

nav > .item:hover {
    background-color: var(--white);
    color: var(--bep);
    border-radius: 0.25rem;
    font-weight: bolder;
}

nav > span {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 0.25rem;
    font-size: 1.5rem;
}

.triangle {
    width: 100%;
    height: 12rem;
    background-color: var(--offLightBlue);
    position: absolute;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 50%);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    z-index: 100;
    animation: slide-down 0.5s ease-in-out 1 both;
    overflow-y: hidden;
}

.logo {
    height: 5rem;
    margin-right: 1rem;
    margin-top: 1rem;
    animation: slide-left 0.5s ease-in-out 1 both;
    animation-delay: 0.5s;
}

.menu {
    margin-left: 1rem;
    height: 3rem;
    justify-self: center;
    margin-top: 0.5rem;
    cursor: pointer;
    display: none;
}

.gallery {
    
    width: 100%;
    height: calc(80vh);
    /*padding-bottom: 40%;*/
    margin-top: 4rem;
    background-image: url(./public/images/pic5.webp);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 75;
    user-select: none;
    cursor: pointer;
    transition: background-image 0.3s ease-in-out;
}

.gallery > .text {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.35);
    color: var(--white);
    width: 100%;
    font-size: max(4vw, 1.75rem);
    border-color: var(--lightBlue);
    border-style: solid;
    border-width: 0 0 5px 0;
    font-weight: 900;
    /*clip-path: polygon(0 0, 100% 50%, 100% 100%, 0% 100%);*/
    clip-path: polygon(0 0, 100% 4rem, 100% 100%, 0 100%, 0 4rem);
    animation: slide-up 0.5s ease-in-out 1 both;
}

.gallery > .text > div {
    margin-left: 1rem;
    animation: slide-right 0.5s ease-in-out 1 both;
    animation-delay: 1s;
}

.stripContainer {
    width: 100%;
    display: grid;
    grid-template-columns: 25% 50% 25%;
    grid-template-rows: auto;
    grid-template-areas: 'left strip card';
    align-items: flex-start;
}

.strip {
    margin-top: 1rem;
    width: 100%;
    height: 100%;
    background-color: rgb(245, 245, 245, 0.5);
    grid-area: strip;
    backdrop-filter: blur(5px);
    z-index: 75;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8rem;
}

.strip > .text {
    text-align: center;
    color: var(--black);
    margin: 1rem;
    margin-top: 2rem;
    font-size: 2vw;
}

.line {
    width: 80%;
    height: 5px;
    background-color: var(--lightBlue);
}

.kontaktformular {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    margin-top: 1rem;
}

.kontaktformular > input {
    width: 80%;
    margin-bottom: 0.5rem;
    padding: 0;
    height: 2rem;
    font: inherit;
}

.kontaktformular > textarea {
    width: 80%;
    font: inherit;
}

.kontaktformular > .submit {
    margin-top: 1rem;
    width: 50%;
    height: 4rem;
    background-color: var(--darkBlue);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    transition: all 0.3s ease-in-out;
    clip-path: polygon(100% 0, 100% 50%, 100% 100%, 0 100%, 0 0);
}

.kontaktformular > .submit:hover {
    transform: scale(1.1);
    background-color: var(--lightBlue);
    clip-path: polygon(80% 0, 100% 50%, 80% 100%, 0 100%, 0 0);
}

.card {
    margin-top: 1rem;
    position: sticky;
    top: 3rem;
    width: auto;
    background-color: rgba(245, 245, 245, 0.5);
    backdrop-filter: blur(5px);
    grid-area: card;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    background-image: url(./public/images/user.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    border-style: solid;
    border-color: var(--lightBlue);
    border-width: 0 0 5px 0;
    z-index: 75;
}

.card > .text {
    margin: 0.5rem;
    color: var(--black);
}

.circleWrapper {
    width: 100%;
    overflow: hidden;
    height: 100%;
    position: absolute;
}

.circle {
    background-color: var(--lightBlue);
    border-radius: 50%;
    position: absolute;
    z-index: 50;
    filter: blur(5px);
    /*bottom: calc(25rem + 25vw);*/
    bottom: 20rem;
    left: 80%;
    width: 8rem;
    height: 8rem;
    mix-blend-mode: screen;
}

.triangleBottomFront {
    position: absolute;
    bottom: 0rem;
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 100%);
    width: 100%;
    height: 8rem;
    background-color: var(--lightBlue);
    z-index: 100;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-end;
    font-size: smaller;
}

.triangleBottomFront > a {
    text-decoration: none;
    color: var(--white);
    margin-right: 1rem;
}

.bottomSpacer {
    position: absolute;
    bottom: -1rem;
    width: 100%;
    height: 1.1rem;
    background-color: var(--lightBlue);
    z-index: 100;
}

.triangleBottomBack {
    position: absolute;
    bottom: 0rem;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    width: 100%;
    height: 10rem;
    background-color: var(--darkBlue);
    z-index: 40;
}

.sidebar {
    display: none;
}

@media only screen and (max-width: 700px) {

    .menu {
        display: block;
    }

    nav {
        display: none;
    }

    .triangle {
        top: 0;
        position: fixed;
    }

    .gallery { 
        height: calc(100vh - 7rem);
    }

    .gallery > .text {
        padding-top: 2rem;
    }

    .stripContainer {
        grid-template-columns: 5% 90% 5%;
        grid-template-rows: auto auto;
        grid-template-areas: '1 card 2' '3 strip 4';
    }

    .card {
        margin: 0;
        margin-top: 1rem;
        position: static;
    }

    .strip > .text {
        font-size: 4vw;
    }

    .sidebar {
        height: 100vh;
        padding-left: 1rem;
        padding-right: 1rem;
        background-color: var(--lightBlue);
        position:fixed;
        z-index: 300;
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 4rem auto 3rem;
        grid-template-areas: 'icon' 'items' 'link';
        overflow: hidden;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .sidebar > .icon {
        background-color: var(--lightBlue);
        width: 100%;
        height: 5rem;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .sidebar > .icon > img {
        height: 3rem;
        justify-self: center;
        cursor: pointer;
    }

    .sidebar > .items {
        width: 100%;
        background-color: var(--lightBlue);
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 6vw;
        margin-top: 3rem;
    }

    .sidebar > .items > a {
        text-decoration: none;
        color: var(--white);
    }

    .sidebar > .link {
        height: 5rem;
        width: 100%;
        background-color: var(--lightBlue);
        color: var(--white);
        text-decoration: none;
        text-align: center;
        margin-bottom: 1rem;
    }

    .logo {
        width: 50vw;
        height: auto;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slide-up {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0%);
    }
}


@keyframes slide-down {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0%);
    }
}

@keyframes slide-left {
    0% {
        transform: translateX(20rem);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes slide-right {
    0% {
        transform: translateX(-50rem);
    }

    100% {
        transform: translateX(0%);
    }
}
  