@font-face {
  font-family: FlamaBold;
  src: url("/fonts/flama_bold.otf") format("opentype");
}

@font-face {
  font-family: FlamaRegular;
  src: url("/fonts/flama_regular.otf") format("opentype");
}

@font-face {
  font-family: FlamaLight;
  src: url("/fonts/flama_light.otf") format("opentype");
}

@font-face {
  font-family: AndaleMono;
  src: url("/fonts/andale_mono.ttf") format("truetype");
}

html {
  box-sizing: border-box;
  border-collapse: collapse;
  line-height: 1;
  font-family: sans-serif;
  width: 100%;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  color:white;
}

* {
  margin: 0;
  padding: 0;
  border-collapse: inherit;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Flama', sans-serif;
}

body {
  width: 100%;
  height: 100%;
  -webkit-transition: .6s;
  -moz-transition: .6s;
  -o-transition: .6s;
  transition: .6s;
  -webkit-transition-timing-function: cubic-bezier(.77, 0, .175, 1);
  -moz-transition-timing-function: cubic-bezier(.77, 0, .175, 1);
  -o-transition-timing-function: cubic-bezier(.77, 0, .175, 1);
  transition-timing-function: cubic-bezier(.77, 0, .175, 1);
  /*background-image: url('./images/background.jpg');
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;*/
  background-color: #131414;
  display: flex;
}

.title.full {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  opacity: 0;
  -webkit-transform: rotate(-90deg) translate(5%, 0);
  -moz-transform: rotate(-90deg) translate(5%, 0);
  -ms-transform: rotate(-90deg) translate(5%, 0);
  -o-transform: rotate(-90deg) translate(5%, 0);
  transform: rotate(-90deg) translate(5%, 0)
}

.title {
  -webkit-transition-duration: 4s;
  -moz-transition-duration: 4s;
  -o-transition-duration: 4s;
  transition-duration: 4s;
  -webkit-transform: rotate(-90deg) translate(10%, 0);
  -moz-transform: rotate(-90deg) translate(10%, 0);
  -ms-transform: rotate(-90deg) translate(10%, 0);
  -o-transform: rotate(-90deg) translate(10%, 0);
  transform: rotate(-90deg) translate(10%, 0);
  transition-timing-function: cubic-bezier(.77, 0, .175, 1)
}

.bigContainer {
  display: table;
  height: 100%;
  width: 100%;
  position: absolute;
  transform: translate(11%, 0);
}

h3 {
  font-family: "FlamaBold", "HelveticaNeueHeavy", "HelveticaNeue-Heavy", "Helvetica Neue Heavy", "HelveticaNeue", "Helvetica Neue";
  text-transform: uppercase;
  color: white;
  font-size: 180px;
  cursor: -webkit-zoom-in;
  transition: .6s;
  opacity: 1;
  text-rendering: geometricPrecision;
}

h3.big {
  position: relative;
  transform: translateY(-100%);
  font-size: 9vw;
  transition: .6s;
}

h3.big.active {
  transform:translateY(0%);
}

#bmwExperience .big-wrapper {
  left: 0%;
  bottom: 13vw;;
  position: absolute;
  overflow: hidden;
  transition: .6s;
}

.big-wrapper {
  left: 0%;
  bottom: 18vw;
  position: absolute;
  overflow: hidden;
  transition: .6s;
}

.openGallery .big-wrapper {
  opacity: 0;
  transform: translateX(200%);
}

.about .big-wrapper {
  opacity: 0;
  transform: translateX(300%);
}

h3.small {
  font-family: FlamaBold;
  opacity: 0;
  font-size: 5vw;
  transform: translate3d(0, 200%,0) rotate(-90deg);
  transition: 0.6s;
  bottom: 35%;
  left: 4%;
  position: absolute;
  cursor: e-resize;
}

.openGallery h3.small {
  opacity: 1;
  transform: translate3d(0, 30%,0) rotate(-90deg);
}

.about h3.small {
  opacity: 0;
  transform: rotate(-90deg) translate3d(-270%, 150%,0);
}

.closeGalleryButton {
 opacity: 0;
 color: rgba(255, 255, 255, 0.6);
 cursor:default;
 font-size: 10px;
 font-family: FlamaBold;
 position: absolute;
 top: 10px;
 left: 11.5vw;;
 z-index: 999;
 text-decoration: none;
 text-transform: uppercase;
 letter-spacing: 0.2em;
 transition: 0.6s;
}

.openGallery .closeGalleryButton {
  opacity: 1;
}

.about .openGallery .closeGalleryButton {
  opacity: 0;
}

.sideNavContianer {
  width: 74vw;
  display: flex;
}

.sideNavContianer .topic, .aboutHeader {
  color: white;
  padding: 3vw;
  font-size: 14px;
}

.sideNavContianer .topic h4 {
  font-family: AndaleMono;
  letter-spacing: 0.3vw;
  font-size: 1.2vw;
  line-height: 2vw;
  margin-bottom: 1vw;
}

.sideNavContianer .topic p {
  font-family: FlamaRegular;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 25px;
  color:rgba(255,255,255,0.7);
  text-align: justify;
}

.aboutHeader {
  width: 80vw;
}

.aboutHeader p {
  font-family: FlamaBold;
  line-height: 5vw;
  font-size: 4vw;
}

.menu {
  z-index: 1000;
  position: absolute;
}

.b-menu {
  cursor: pointer;
  display: absolute;
  height: 60px;
  padding-left: 40px;
  padding-top: 40px;
  position: relative;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  width: 60px;
}

.b-menu:hover .b-bun {
  background: white;
}

.b-bun {
  background: rgba(255,255,255,0.6);
  position: relative;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.b-bun--top {
  height: 2px;
  top: 0;
  width: 25px;
}
.b-bun--mid {
  height: 2px;
  top: 4px;
  width: 25px;
}
.b-bun--bottom {
  height: 2px;
  top: 8px;
  width: 25px;
}

body.about .b-main {
  border: #444444 solid 2px;
}
body.about .b-bun--top {
  background: rgba(255,255,255,0.6);
  top: 9px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
body.about .b-bun--mid {
  opacity: 0;
}
body.about .b-bun--bottom {
  background: rgba(255,255,255,0.6);
  top: 5px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 200; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #111; /* Black*/
    background-image: url('./images/BG.jpg');
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.4s; /* 0.5 second transition effect to slide in the sidenav */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.4s
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}

@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

.projects {
  width: 100%;
  height: 100%;
}

.project {
  width: 100%;
  height: 100%;
}

.section img {
  /*box-shadow: 4px 4px 8px black;*/
  width: 71.5%;
  cursor: -webkit-zoom-in;
  display: block;
  margin-left: auto;
  margin-right: auto;
  -webkit-transition: .6s;
  -moz-transition: .6s;
  -o-transition: .6s;
  transition: .6s;
  transition-timing-function: cubic-bezier(.165, .84, .44, 1);
}

.titelbild{
  padding-top: 6.385vw;
  margin-bottom: -6.30vw;
  cursor: -webkit-zoom-in;
}

.openGallery .section img {
  width: 100%;
  cursor: -webkit-zoom-in;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.projectDetailsBox {
  font-family: AndaleMono;
  position: absolute;
  top: 88%;
  right: 11.5vw;
  text-align: right;
  padding-top: 2vw;
  font-size: 1vw;
  line-height: 1.6vw;
  letter-spacing: 0.1vw;
}

#emailRightSide a {
  position: absolute;
  right: 2vw;
  top: 50%;
  font-family: 'Flama', sans-serif;
  font-size: 1vw;
  text-decoration: none;
  letter-spacing: 0.1em;
  transform: rotate(-90deg) translate(0, 400%);
  color:rgba(255,255,255,0.6);
}

 #emailRightSide a:before {
  -moz-transition: max-width 0.2s ease-out;
  -o-transition: max-width 0.2s ease-out;
  -webkit-transition: max-width 0.2s ease-out;
  transition: max-width 0.2s ease-out;
  content: attr(data-hover);
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  max-width: 0;
  color: #fff;
}

 #emailRightSide a:hover:before {
  max-width: 100%;
  }

#aboutPage {
  opacity: 0;
  padding-left: 5%;
  position: absolute;
  width: 100%;
  height: 100%;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  flex-direction: column;
  transform: translate(-100%,0);
  transition: .6s;
  z-index:999;
}

.about #aboutPage {
  opacity: 1;
  transform: translate(0,0);
}

#aboutBackground {
  position: absolute;
  top: 36%;
  left: 1%;
  color: rgba(0, 0, 0, 0.8);
  font-family: FlamaBold;
  font-weight: 900;
  font-size: 17vw;
  z-index: -5;
  opacity: 0.6;
}

.slideshow {
  height: 1080;
  width: 1920;
  background-size: cover;
  cursor: zoom-in;
  /*box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 1);*/
}

.openGallery .slideshow {
  cursor: e-resize;
}

.galleryContainer {
  position: absolute;
  right: 10%;
  transition: 0.6s ease-out;
}

.about .galleryContainer {
  transform: translate(100%, 0);
}

.galleryContainer a:before {
  -moz-transition: max-width 0.2s ease-out;
  -o-transition: max-width 0.2s ease-out;
  -webkit-transition: max-width 0.2s ease-out;
  transition: max-width 0.2s ease-out;
  content: attr(data-hover);
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  max-width: 0;
  color: #fff;
}

.galleryContainer a:hover:before {
  max-width: 100%;
  }

.galleryIndicators {
  position: absolute;
  top: 10px;
  right: 11.5vw;
  opacity: 0;
  transition: 0.6s;
}

.openGallery .galleryIndicators {
  opacity: 1;
}

.galleryIndicators .galleryIndicator {
  position: relative;
  float: left;
  width: 11px;
  height: 20px;
  transition: .6s
}

.galleryIndicators .galleryIndicator.active {
  width: 31px;
}

.galleryIndicators .galleryIndicator .top {
  position: absolute;
  top: 6px;
  left: 5px;
  height: 8px;
  width: 1px;
  background-color: white;
  transition: .6s;
  transition-delay: .2s;
}

.galleryIndicators .galleryIndicator .bottom {
  position: absolute;
  bottom: 6px;
  left: 5px;
  height: 8px;
  width: 1px;
  background-color: white;
  transition: .6s;
  transition-delay: .2s;
}

.galleryIndicators .galleryIndicator.active .top {
  left: 15px;
  transform: translate(0,-15px);
  transition-delay: 0s;
}

.galleryIndicators .galleryIndicator.active .bottom {
  left: 15px;
  transform: translate(0,15px);
  transition-delay: 0s;
}

.galleryIndicators .galleryIndicator .index {
  font-family: 'Flama', sans-serif;
  font-size: 12px;
  text-align: center;
  padding-top: 4px;
  opacity: 0;
  transition: .6s;
  transition-delay: 0s;
}

.galleryIndicators .galleryIndicator.active .index {
  font-family: 'Flama', sans-serif;
  font-size: 12px;
  opacity: 1;
}

.scrollIndicator {
  position: absolute;
  left: -60px;
  bottom: 40px;
  transition: 0.6s;
  transform: rotate(270deg);
  opacity: 1;
}

.openGallery .scrollIndicator {
  opacity: 0;
}

.about .scrollIndicator {
  opacity: 0;
}

#fpbox {
  height: 100%;
  width: 100%;
  transition: .6s;
}

.about #fpbox {
  transform: translate(70%, 0);
}

.hidden {
  opacity: 0;
}

#socialMediaLinks {
  padding: 3vw;
}

#socialMediaLinks a {
  font-family: 'Flama', sans-serif;
  margin-right: 20px;
  text-decoration: none;
  font-size: 1vw;
  letter-spacing: 0.1em;
  /*text-transform: uppercase;*/
  color:rgba(255,255,255,0.6);
}

#socialMediaLinks a:visited {
  color: white;
}

#socialMediaLinks a:hover {
  color: white;
}

@media (max-width: 470px) {
  #smartphoneOverlayPortrait {
    display: block;
    opacity: 1;
    position: absolute;
    z-index: 999;
    top: 0;
    text-align: center;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: black;
  }
  #smartphoneOverlayPortrait p{
    position: absolute;
    margin-top: 55vw;
    top: 0;
    left: 0;
    padding: 5vw;
    font-family: AndaleMono;
    letter-spacing: 0.3vw;
    font-size: 4vw;
    line-height: 7vw;
    color: #131414;
  }

  #smartphoneOverlayPortrait img{
    position: relative;
    height: 100%;
    max-width: 100%;
    left:0;


  }
}

@media (max-device-width: 768px) {
  .topic {
    display: none;
  }
  #socialMediaLinks a{
    font-size: 1.8vw;
  }
  #emailRightSide a {
    font-size: 2vw;
    right: 2vw;
    top: 48%;
  }
}

.imprint {
  position:relative;
  width:60vw;
  height:auto;
  margin:5vw;
  margin-left:20vw;
  transition: 0.6s;
}

.imprint h1 {
  position: relative;
  margin:0;
  padding:0 0 30px 0;
  color:#fff;
  line-height: 5vw;
  font-size: 4vw;
  text-transform: uppercase;
}

.imprint h3 {
  font-family: 'AndaleMono',sans-serif;
  font-size:1.3em;
  line-height:1.5em;
  font-weight:200;
  margin:0;
  padding:0;
  color: #fff;
}

.imprint p {
  font-size:1em;
  line-height:1.5em;
  color: rgba(255,255,255,0.6);
  padding:0;
  margin:5px 0 0 0;
  font-weight:200;
}

.imprint#hoverAnimation a {
  font-size:1em;
  line-height:1.5em;
  font-weight:200;
  color: rgba(255,255,255,0.6);
  position: absolute;
}

.imprint#hoverAnimation a:before {
  -moz-transition: max-width 0.2s ease-out;
  -o-transition: max-width 0.2s ease-out;
  -webkit-transition: max-width 0.2s ease-out;
  transition: max-width 0.2s ease-out;
  content: attr(data-hover);
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  max-width: 0;
  color: #fff;
}
.imprint#hoverAnimation a:hover:before {
  max-width: 100%;
  }

@media only screen and ( max-width:768px ) {
  .imprint {
   width:80vw;
   margin-left:5vw;
   }
  .imprint h1 {
    font-size: 3.6vw;
   }
}

// Animations
@-webkit-keyframes scroll-ani {
  0% {
    opacity: 1;
    top: 29%;
  }
  15% {
    opacity: 1;
    top: 50%;
  }
  50% {
    opacity: 0;
    top: 50%;
  }
  100% {
    opacity: 0;
    top: 29%;
  }
}
@-moz-keyframes scroll-ani {
  0% {
    opacity: 1;
    top: 29%;
  }
  15% {
    opacity: 1;
    top: 50%;
  }
  50% {
    opacity: 0;
    top: 50%;
  }
  100% {
    opacity: 0;
    top: 29%;
  }
}
@keyframes scroll-ani {
  0% {
    opacity: 1;
    top: 29%;
  }
  15% {
    opacity: 1;
    top: 50%;
  }
  50% {
    opacity: 0;
    top: 50%;
  }
  100% {
    opacity: 0;
    top: 29%;
  }
}
.mouse-scroll {
  position: absolute;
  bottom: 1vw;
  color:rgba(255,255,255,0.6);
  margin-left: 50vw;
  display: none;
}
.mouse-scroll .mouse {
  position: relative;
  display: block;
  width: 23px;
  height: 36.5px;
  margin: 0 auto 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 11px;
}
.mouse-scroll .mouse .mouse-movement {
  position: absolute;
  display: block;
  top: 29%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  -webkit-animation: scroll-ani 4s linear infinite;
  -moz-animation: scroll-ani 4s linear infinite;
  animation: scroll-ani 4s linear infinite;
}

.intro-page  {
  display: flex;
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: white;
  z-index: 1111;
}

@keyframes intro-animation-texte {
    0% {transform: translateY(120%);}
    25% {transform: translateY(120%);}
    50% {transform: translateY(0%);}
    75% {transform: translateY(0%);}
    100% {transform: translateY(-150%);}
    125% {transform: translateY(-500%);}
}

.intro-text {
  will-change:transform;
  opacity:1;
  -webkit-backface-visibility: visible;
  transition:all 0.3s ease;
  text-rendering: geometricPrecision;
  transform: translateY(0%);
  animation-name: intro-animation-texte;
  animation-duration: 5s;
  animation-fill-mode: forwards;
}

.intro-text.big {
  font-family: FlamaBold;
  line-height: 5vw;
  font-size: 3vw;
  color: black;
  text-transform: uppercase;
}

.intro-text.small {
  font-family: AndaleMono;
  letter-spacing: 0.1vw;
  font-size: 1.1vw;
  line-height: 2vw;
  margin-bottom: 1vw;
  color: rgba(0,0,0,0.6);
  text-align: center;
}

@keyframes intro-animation {
    from {transform: translateY(0%);}
    to {transform: translateY(-100%);}
}

.intro-page {
  transform: translateY(0%);
  animation-name: intro-animation;
  animation-duration: 1.4s;
  animation-delay: 4.2s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

@keyframes intro-animation-content {
    from {transform: translateY(100%);}
    to {transform: translateY(0%);}
}

#fpbox {
  animation-name: intro-animation-content;
  animation-duration: 1.4s;
  animation-delay: 4.2s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}



.text-wrapper {
  overflow: hidden;
}

.intro-wrapper {
  height: auto;
  margin: auto;
  align-self: center;
}
