* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* border: 1px solid red; */
}

.ham {
    position: fixed;
    /* always keep ham on top of everything */
    z-index: 1000000;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    background-image: url("../img/icons/ham.svg");
    background-size: 100%;
}


/* change ham image to close */

.showClose {
    background-image: url("../img/icons/ham-close.svg");
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    color: black;
    /* hide the menu above the screen by default */
    transform: translateY(-100%);
    /* transition adds a little animation when sliding in and out the menu */
    transition: transform 0.2s ease;
    z-index: 999999;
}

.showNav {
    /* show the menu */
    transform: translateY(0);
}


/* basic nav styling below */

.navbar ul {
    width: 100%;
    height: 100%;
    list-style: none;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: center;
}

.navbar ul li a {
    color: black;
    padding-bottom: 10px;
    border-bottom: 2px solid black;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
}

.navbar ul li a:hover,
.navbar ul li a:focus {
    border-bottom: 2px solid white;
}


/**/

.spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid rgb(255, 255, 255);
    border-radius: 50%;
    border-top: 16px solid rgb(117, 212, 212);
    z-index: 100000;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#overlay {
    height: 100%;
    width: 100%;
    background-color: rgb(235, 235, 235);
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: calc(7px + .3vw);
    line-height: 1.3em;
    background-color: rgb(255, 255, 255);
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
    color: #000;
}

h1 {
    display: inline;
    font-weight: 400;
    padding: 0;
    margin: 0;
    line-height: 1.2em;
    font-size: calc(8px + 2.4vh);
    text-transform: uppercase;
}

h2 {
    position: relative;
    font-weight: 400;
    display: block;
    margin: 10vh 0 3vh 5vw;
    padding: 0;
    line-height: 1.3em;
    font-size: calc(12px + 1vw);
    text-transform: uppercase;
    z-index: 200;
}

.h2-3 {
    margin: 10vh 0 3vh 5vw;
}

h2+div {
    position: absolute;
    margin-top: -5vh;
    margin-left: 4vw;
    width: 6em;
    height: 1.3em;
    background-color: rgba(117, 212, 212);
    z-index: 199;
}

h3 {
    position: relative;
    z-index: 100;
    font-weight: 600;
    margin: 0;
    padding: 0;
    line-height: 1.3em;
    font-size: calc(12px + 1.25vw);
    text-transform: uppercase;
    text-align: left;
}

h3+div {
    position: absolute;
    margin-top: -4.3vh;
    margin-left: -0.7vw;
    width: 18vw;
    height: 1.6em;
    background-color: rgb(117, 212, 212);
    z-index: 99;
}

h4 {
    font-weight: 400;
    margin: 0 0 -0.5em;
    padding: 0 0 0.7em;
    line-height: 1.7em;
    font-size: calc(7px + 0.6vw);
    text-align: left;
}

h5 {
    font-weight: 400;
    padding: 0;
    margin: 0;
    line-height: 1.2em;
    font-size: calc(24px + 1.2vw);
    text-transform: uppercase;
}

h6 {
    font-weight: 400;
    padding: 0;
    margin: 0;
    line-height: 1.2em;
    font-size: calc(6px + 0.6vw);
    text-transform: uppercase;
}

ul {
    list-style-type: "- ";
    padding: 0.1em 0 0 0.1em;
    margin: 0 0 0.3em;
}

li {
    padding: 0.1em 0 0 0.3em;
    margin: 0 0 0 1em;
}


/*NEU*/

#navBar {
    position: fixed;
    width: 100vw;
    z-index: 100000;
    opacity: 1;
    background-color: rgb(255, 255, 255);
    -webkit-box-shadow: 0px 0px 4vw 0px rgba(0, 0, 0, 0.02);
    -moz-box-shadow: 0px 0px 4vw 0px rgba(0, 0, 0, 0.02);
    box-shadow: 0px 0px 4vw 0px rgba(0, 0, 0, 0.02);
    height: 5vh;
}

#navBar>div {
    display: inline-block;
    display: -moz-inline-box;
    *display: inline;
    /* For IE7 */
    zoom: 1;
    /* Trigger hasLayout */
    width: 10%;
    text-align: center;
    font-size: calc(8px + .4vw);
    margin: 1.5vh 0 1.6vh;
}

.icons {
    display: block;
    height: 2vh;
    width: auto;
    margin: 1.5vh 0 1.5vh 1.5vh;
    line-height: 0;
}

.language {
    display: block;
    height: 2vh;
    width: auto;
    margin: 2.5vh 0 1.5vh 1.5vh;
    font-size: calc(4px + .8vh);
    line-height: 0;
}

.floaty {
    float: left;
}

.icons-yt {
    display: inline;
    height: 1.5vh;
    width: auto;
    margin: 1.75vh 0 1.75vh 1.5vh;
    line-height: 0;
}

#myNameBlock {
    background-color: rgb(117, 212, 212);
    height: 1.6vh;
    width: 4vw;
    position: fixed;
    left: 22.4vw;
    top: 1.5vh;
    z-index: 100100;
}

#myName {
    position: fixed;
    left: 23vw;
    top: 0vh;
    z-index: 100200;
}

#myNameBlockImp {
    background-color: rgb(117, 212, 212);
    height: 1.6vh;
    width: 4vw;
    position: fixed;
    left: 22.4vw;
    top: 1.5vh;
    z-index: 100100;
}

#myNameImp {
    position: fixed;
    left: 23vw;
    top: 0vh;
    z-index: 100200;
}

.initials {
    position: absolute;
    opacity: 1;
}

.lR {
    position: absolute;
    top: 0;
}

html {
    scroll-snap-type: y proximity;
}

.child {
    position: relative;
    scroll-snap-align: start;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.childskills {
    height: 100vh
}

.child-bildung {
    height: 100vh
}

.child-kontakt {
    height: 100vh
}

.proj {
    position: relative;
    scroll-snap-align: start;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.child-nosnap-kontakt {
    position: absolute;
    width: 100%;
    height: 24vh;
    bottom: 0;
    left: 0;
    -webkit-box-shadow: 0px 0px 5vw 0px rgba(0, 0, 0, 0.005);
    -moz-box-shadow: 0px 0px 5vw 0px rgba(0, 0, 0, 0.005);
    box-shadow: 0px 0px 5vw 0px rgba(0, 0, 0, 0.005);
}

.child-nosnap {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.subChild {
    width: 75vw;
    height: 100vh;
    margin: 0 12.5vw;
}

.ham-hide {
    display: none;
}

#hamburger-nav {
    display: none;
}

.active-nav {
    display: block;
}


/*
.works {
    position: relative;
    background-color: grey;
    width: 35vw;
    height: 30.6vw;
    margin: 13vw 0;
}
.works2 {
    position: relative;
    background-color: grey;
    width: 35vw;
    height: 30.6vw;
    right: 0;
    margin: 13vw 0 10vw auto;
}
*/


/*
.works {
    position: relative;
    background-color: grey;
    width: 28vw;
    height: 24.48vw;
    margin: 13vw auto 13vw 8vw;
}
*/

.works {
    position: relative;
    background-color: grey;
    width: 17.4vw;
    height: 14vw;
    margin: .3vw;
    float: left;
    overflow: hidden;
}

.projekteContainer {
    width: 75vw;
    margin: 7vh 0vw 0;
}

.works2 {
    position: relative;
    background-color: grey;
    width: 28vw;
    height: 24.48vw;
    right: 0;
    margin: 13vw 8vw 10vw auto;
}

.workTitle {
    position: absolute;
    width: 100%;
    height: auto;
    top: 23.38vw;
    left: 2vw;
    font-size: calc( 7px + 0.5vw);
    line-height: 1.3em;
}

.projectTitle {
    position: absolute;
    bottom: .5vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    line-height: 1.2em;
    font-size: calc(4px + 0.9vw);
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    white-space: nowrap;
    transition-property: bottom, opacity;
    transition-duration: .4s;
}

.works:hover>div {
    opacity: 1;
    bottom: 0.7vh;
}

.left {
    margin-top: 5vw;
    float: left;
    width: 50%;
}

.right {
    margin-top: 23vw;
    float: right;
    width: 50%;
}

.left2 {
    float: left;
    width: 5%;
    text-align: center;
}

.right2 {
    float: right;
    width: 89%;
    background-color: rgb(255, 255, 255);
    border: 4px solid rgb(245, 245, 245);
}

.right2>p {
    margin: 0.5vw;
}

.clear {
    clear: both;
}

.job {
    position: relative;
    text-align: center;
    width: 100vw;
    margin-top: 43vh;
    margin-left: -4vw;
    transform: translateY(-50%);
}

.title1 {
    display: block;
    opacity: 0;
}

.title2 {
    display: none;
    opacity: 0;
}

.title3 {
    display: none;
    opacity: 0;
}

.title4 {
    display: none;
    opacity: 0;
}

.title5 {
    display: none;
    opacity: 0;
}

a {
    cursor: pointer;
}

.grid-container {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 34vw 1fr 34vw;
    margin-top: 10vh;
}

.grid-container-small {
    margin-top: 4vh;
    display: grid;
    grid-template-columns: auto auto;
}

.grid-small {
    padding: 2vh 0px;
    font-size: 30px;
    font-size: calc(6px + 0.5vw);
}

.grid {
    padding: 2vw;
    font-size: calc(6px + 0.5vw);
}

#w1 #w2 #w3 #w4 #w5 #w6 {
    opacity: 1;
}

.timeline {
    position: absolute;
    border-left: calc(1px + 0.01vw) solid black;
    height: 80vh;
}

.timeline2 {
    position: absolute;
    margin: 1vh 0 0 -0.4vw;
    border-left: calc(2px + 0.6vw) solid rgb(117, 212, 212);
    height: 80vh;
}

.grid-container-logos {
    display: grid;
    grid-template-columns: auto auto;
    width: 100%;
}

img {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

a {
    color: #000;
    text-decoration: none;
}

p {
    margin: 0.3vh 0 0 0;
    padding: 0 0;
}

.logo {
    position: relative;
    height: auto;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

canvas {
    display: block;
    vertical-align: bottom;
}

hr {
    color: #fff;
    position: relative;
    border: 1px solid #fff;
    height: 0;
    margin: 0;
    padding: 0;
}

.back {
    position: fixed;
    left: 0;
    top: 30vh;
    width: 5vw;
    height: 5vw;
}


/*grid*/

.logo-grid {
    width: 100%;
    height: 90vh;
    display: grid;
    grid-template-columns: 7vw 1fr 9vw 1fr;
    grid-template-rows: 26.5vh 19.5vh 18.5vh 17.5vh;
    grid-gap: 0;
    font-size: calc(4px + 0.5vw);
}

.logo-grid-item {
    position: relative;
    padding: 1vw;
    background-color: white;
    border-bottom: 2vw solid rgb(245, 245, 245);
}

.logo-grid-item>p {
    padding: 1vw;
}

.grid-profil {
    width: 100%;
    height: 50vh;
    display: grid;
    grid-template-columns: 1fr 65%;
    grid-template-rows: 1fr 1fr;
    grid-gap: 1vw;
    font-size: calc(6px + 0.6vw);
    line-height: 1.3em;
}

.grid-kontakt {
    width: 75%;
    margin-left: 12.5%;
    height: 50vh;
    display: grid;
    grid-template-columns: 40% 33% 1fr;
    grid-template-rows: 1fr;
    grid-gap: 1vw;
    font-size: calc(8px + 0.3vw);
    line-height: 1.4em;
}

.kontakt-text-r {
    display: none;
}

.roundbox {
    -webkit-box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.2);
}

.roundbox:hover {
    animation: mymove 1s 1;
    animation-fill-mode: forwards;
}

.roundbox:not(:hover) {
    animation: mymove2 1s 1;
    animation-fill-mode: forwards;
}

@keyframes mymove {
    from {
        -webkit-box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.2);
        height: 100%;
        width: 100%;
        margin-top: 0%;
        margin-left: 0%;
    }
    to {
        -webkit-box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.25);
        box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.25);
        height: 104%;
        width: 104%;
        margin-top: -2%;
        margin-left: -2%;
    }
}

@keyframes mymove2 {
    from {
        -webkit-box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.25);
        box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.25);
        height: 104%;
        width: 104%;
        margin-top: -2%;
        margin-left: -2%;
    }
    to {
        -webkit-box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 0px 10vw 0px rgba(0, 0, 0, 0.2);
        height: 100%;
        width: 100%;
        margin-top: 0%;
        margin-left: 0%;
    }
}


/* ---- particles.js container ---- */

#particles-js {
    position: relative;
    height: 70vh;
    width: 100%;
    background-color: rgb(0, 26, 51);
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.158);*/
    z-index: 50;
}

.video1 {
    width: 100%;
    height: auto;
}

.layer1 {
    position: absolute;
    bottom: 30vh;
    left: 30vw;
}

.nametop {
    position: fixed;
    top: 1vh;
    left: 1vh;
    color: #fff;
    font-size: calc(15px + 0.72vw);
    line-height: 1.1em;
    text-transform: uppercase;
    opacity: 1;
    width: 100%;
    z-index: 1000;
}

.ueber {
    position: relative;
    float: left;
    font-size: calc(12px + 0.6vw);
    line-height: 2.2em;
    border: 2px solid #fff;
    padding: 0.1vw 0.2vw;
    margin-top: 0.3vh;
    margin-right: 1vw;
}

.profil {
    cursor: pointer;
    color: #fff;
    font-size: calc(15px + 2vw);
    line-height: 1.1em;
    text-transform: uppercase;
    z-index: 51;
}

.profil2 {
    cursor: pointer;
}

.proj1 .proj2 .proj3 {
    position: relative;
    opacity: 1;
    left: 0;
    top: 0;
}

.innername {
    float: left;
}

.clear {
    clear: both;
}

a:focus {
    outline: none;
}

.collapsible {
    position: relative;
    background-color: rgb(0, 29, 56);
    height: 70vh;
    width: 80vw;
    left: 50%;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 2s ease-in-out;
    -moz-transition: 2s ease-in-out;
    -ms-transition: 2s ease-in-out;
    -o-transition: 2s ease-in-out;
    -webkit-transition: 2s ease-in-out;
    overflow: hidden;
    transform: translateX(-50%) scale(1, 1);
}

#myimg {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

#myimg2 {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

#myimg3 {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.collapsible:hover {
    left: 50%;
    width: 82vw;
    box-shadow: 0 0 3vh #00000041;
    transform: translateX(-50%);
    overflow: hidden;
}

.more {
    position: absolute;
    bottom: 10vh;
    left: 50%;
    transform: translateX(-50%);
    font-size: calc(12px + 0.6vw);
    line-height: 1em;
    color: #fff;
    border: 0px solid #fff;
    padding: .5vh .8vw .8vh;
    opacity: 0;
    transition-duration: .5s;
    transition-timing-function: ease-in-out;
}

.collapsible:hover>.more {
    bottom: 10vh;
    color: #fff;
    border: 2px solid #fff;
    padding: 0.7vh 1vw 1.1vh;
    opacity: 1.0;
}

.exit {
    position: fixed;
    top: 0;
    right: 0;
}

.active,
.collapsible:hover {
    background-color: rgb(200, 200, 200);
}

.content {
    padding: 0 0.6%;
    margin: 0 calc(10vw - 8px) 1vh calc(10vw - 8px);
    max-height: 0;
    overflow: hidden;
    position: relative;
    transition: max-height 0.2s ease-out;
    background-color: rgb(14, 41, 66);
}

.profil-unten {
    height: 100vh;
    width: 100vw;
    box-sizing: border-box;
    padding: 15vh calc(10vw - 8px) 0.5vh calc(10vw - 8px);
    overflow: hidden;
    position: relative;
    transition: max-height 0.2s ease-out;
    background-color: rgb(14, 41, 66);
}

.img-profil {
    width: 100%;
    min-height: 56vh;
    background: url("../img/kaiSeiteUnscharfMaskiert.jpg") 50% 50% no-repeat;
    background-size: cover;
}

.bild-g {
    position: absolute;
    left: 50%;
    top: 50%;
    height: auto;
    width: 100%;
    transform: translateY(-40%) translateX(-50%);
}

.bild-g-c {
    position: relative;
    height: 60vh;
    width: 100%;
    overflow: hidden;
}


/*
.bild-k1{
  width: 100%;
  height: 30vh;
  background: url("../img/auto3.jpg") 50% 50% no-repeat;
  background-size: cover;

}
*/

.bild-k1 {
    position: absolute;
    left: 50%;
    top: 50%;
    height: auto;
    width: 100%;
    transform: translateY(-53%) translateX(-50%);
}

.bild-ko {
    width: 100%;
    height: 29.5vh;
    overflow: hidden;
    position: relative;
}

.bild-ku {
    width: 100%;
    height: 29.5vh;
    overflow: hidden;
    position: relative;
    margin-top: 1vh;
}

.ar {
    padding: 1vh 1vw 1vh 0;
}

.bild-gb {
    width: 100%;
    height: 60vh;
    background: url("../img/auto7.jpg") 50% 45% no-repeat;
    background-size: cover;
}

.mais {
    position: absolute;
    width: 36%;
    height: auto;
    left: -8%;
    top: 13%;
    transform: rotate(10deg);
    z-index: 10;
}

.drunter-h {
    display: none;
}

.img {
    padding-top: 1vh;
    width: 100%;
    height: auto;
}

.problem {
    overflow: hidden;
    margin-top: 1vh;
}


/* Lightbox */

.images {
    box-sizing: border-box;
    width: 59%;
    height: 33.19vw;
    float: left;
}

.image {
    width: 100%;
    height: 33.19vw;
}

.lb-leiste {
    text-align: center;
    width: 10%;
    height: 33.19vw;
    margin-left: .2vw;
    float: left;
}

.lb-text {
    width: 29.7%;
    height: 33.19vw;
    float: left;
    overflow-y: scroll;
}

.image-element {
    width: auto;
    height: 5.344vw;
    margin: 0.05vh 0.25vw;
    padding: 0;
    border: none;
    cursor: pointer;
}

.hideme {
    display: none;
}

.responsiveAspect {
    width: auto;
    height: 100%;
}

.image-element:hover {
    border: 0.1vw solid #AAA;
}

.lb-list {
    font-size: calc(8px + .4vw);
    margin: 5vh 0 0 4vw;
}

.lb-body {
    max-height: 90vh;
    overflow: hidden;
}

.donthide {
    display: block;
}

#div2,
#div3,
#div4,
#div5,
#div6 {
    display: none;
    width: 59vw;
    height: 33.75vw;
    text-align: center;
}

.image-change-aspect {
    height: 100%;
    width: auto;
}

#div1 {
    width: 59vw;
    height: 33.75vw;
}