@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeout {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}


:root {
  --green: #05FF00;
  --l: 60px;
  --m: 32px;
  --s: 18px;
}


html {
  scroll-behavior: smooth;
}


@font-face {
  font-family: 'MG';
  font-style: normal;
  font-weight: 700;
  src: local('Awesome Font'),
    url("../fonts/MonumentGrotesk-Bold.woff2") format('woff2'),
    url('../fonts/MonumentGrotesk-Bold.woff') format('woff');
}



body {
  font-family: 'MG', sans-serif;
  font-size: var(--s);
  line-height: 109%;
  letter-spacing: -0.03em;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;

  color: #000;
  background-color: #fafafa;

  height: 100%;
  margin: 0px 0px 8px 0px;
  padding: 0;


}

.margin {
  margin-left: 20px;
}

ul,
li,
dt,
dl,
dd {
  margin: 0;
  text-decoration: none;
  color: #000;
  list-style-type: none;
  padding-inline-start: 0px;
}

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

h1,
h2,
h3,
h4 {
  font-family: 'MG', sans-serif;
  font-weight: 900;
  font-size: var(--s);
  line-height: 109%;
  letter-spacing: -0.03em;
  color: #000;
  margin-block-start: 0em;
  margin-block-end: 0em;

}

h2 {
  margin-block-start: 0em;
  margin-block-end: 10px;
}

p {
  font-size: var(--m);
  font-size: 32px;
  line-height: 100%;
  margin: 0;
}



footer {
  min-height: 100px;
}

::selection {
  color: var(--green);
  background-color: transparent;
}

/* --------- Teasers ---------*/

.title {
  margin-block-start: 0em;
  margin-block-end: 0em;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 2;
  font-size: 16px;
}

/* Alle Teaser */
.teasers-container {
  position: relative;
  top: -52px;
  width: 100vw;
  height: auto;
  min-height: 100vh;
}

/* Single */
.teaser-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.teaser-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.teaser-img.contain {
  object-fit: contain;
  width: 60vmin;
  height: auto;
  transform: scale(0, 0);
  transition: transform 600ms;
  transform-origin: 50% 100vh;
}

.teaser-img.contain.scaled,
.teaser-img.cover.scaled {
  transform: scale(1, 1) !important;
}

.teaser-img.cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transform: scale(0, 0);
  transition: transform 600ms;
  transform-origin: 50% 100vh;
}

.teaser-video {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.teaser-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

div.client-title {
  position: sticky;
  top: 20px;
  margin: 20px 0px 0px 160px;
  z-index: 9;
  display: flex;
  flex-direction: row;
}

div.client {
  font-size: var(--m);
  z-index: 9;
  line-height: 100%;
}

div.pfeil {
  width: 25px;
  height: 25px;
  transform: translate(0, 4px);
  margin-left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* animation-name: fadein;
  animation-duration: 0.6s;
  animation-delay: 1s;
  animation-iteration-count: 1; */
}



div.pfeil img {
  width: 90%;
  height: 90%;
  /* animation-name: fadein;
  animation-duration: 0.6s;
  animation-delay: 1s;
  animation-iteration-count: 1; */
}


.titel {
  display: none;
}

/* --------- Navigation--------*/

.menu {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  float: left;
  font-size: 12px;
  height: 15px;
  line-height: 0;
  width: 100vw;
  background-color: transparent;
  z-index: 100;
  top: 0;
  left: 0;
}

.menu a {
  padding: 10px;
}

.anker {
  visibility: hidden;
  height: 0px !important;
  position: absolute;
  margin: -20px;
}

/* --------- Progress Bar --------*/

div.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 15px;
  background-color: var(--green);
  width: 0;
  z-index: 99;
}






/* --------- Projekt-Liste + Informationen --------*/

div.information p,
div.information h3 {
  padding: 0 10px;
  text-indent: 75px;
}

div.information p:first-child {
  text-indent: 0px;
}

div.information a {
  white-space: nowrap;
}

div.information h3 {
  line-height: 190%;
}

div.projekt-liste,
div.information {
  position: relative;
  /* top: 0px; */
  /* margin: 5vh auto 0 auto; */
  max-width: 100%;
}


.projekt {
  margin-bottom: 2px;
}

.close {
  cursor: pointer;
}

.titel-container {
  /* position: -webkit-sticky;
  position: sticky; */
  cursor: pointer;
  width: 100vw;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  z-index: 1;
}

.titel-container:hover .col-1 {
  margin-right: 10px;
  transition: margin-right 300ms;
  transition-timing-function: cubic-bezier(0, .68, .36, 1);
}

.col-0 {
  width: 160px;
}

.col-1 {
  width: 10%;
}

.col-2 {
  width: 14%;
  float: left;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.jahr {
  padding: 0;
  margin: 0;
  width: 50px;
  margin-right: 16px;
}

.monat,
.tag {
  padding: 0;
  margin: 0;
  width: 25px;
}

.monat {
  margin-right: 16px;
}

.col-3 {
  width: auto;
}

.noContent {
  cursor: auto;
}

.noContent:hover .col-1 {
  padding-right: 0px;
  transition: none;
  cursor: auto;
}

.projekt-inhalt {
  width: 100%;
  display: none;
  margin-bottom: 12px;
}

.projekt-text {
  padding-left: 160px;
  width: calc(100% - 15% - 40px);
  max-width: 1400px;
  height: auto;
  float: left;
  margin-bottom: 10px;
}

.link-liste {
  display: flex;
  flex-direction: row;
  float: left;
  margin-top: 4px;
}

.link,
div.information a {
  position: relative;
  padding: 2px 12px 3px 12px;
  border: 1px solid #000000;
  border-radius: 50px;
  margin-right: 7px;
  transition: padding .15s ease;
}


.link:hover,
div.information a:hover {
  padding: 2px 20px 3px 20px;
}


.projekt-images {
  width: 100vw;
  height: auto;
  margin: 0px auto;
  overflow: auto;
  overflow-y: hidden;
}

.projekt-images::-webkit-scrollbar {
  display: none;
}

.projekt-images {
  -ms-overflow-style: none;
}

.projekt-images ul {
  float: left;
  margin-right: -999em;
  white-space: nowrap;
  list-style: none;
}

.projekt-images li {
  text-align: center;
  float: left;
  display: inline;
}

.projekt-images ul li:first-child {
  padding-left: 160px;
}

.projekt-images img {
  display: block;
  height: 300px;
  width: auto;
  padding-right: 20px;
}


/* --------- Impressum --------*/
.impressum {
  top: 30px;
}


/* --------- Media Queries --------*/

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .col-0 {
    width: 15%;
  }

  .titel-container:hover .col-1 {
    padding-right: 0px;
    transition: none;
  }

  .projekt-text {
    padding-left: 15%;
  }

  .projekt-images ul li:first-child {
    padding-left: 15vw;
  }

}


/*--Smartphone--*/
@media only screen and (min-width: 200px) and (max-width: 767px) and (-webkit-min-device-pixel-ratio: 1) {
  :root {
    --green: #05FF00;
    --l: 30px;
    --m: 24px;
    --s: 16px;
  }

  p {
    font-size: 24px;
  }

  body {
    overflow-x: hidden;
  }

  .margin {
    margin-left: 12px;
  }

  .space {
    height: 50px;
  }

  .mobile {
    display: block;
  }

  .browser {
    display: none;
  }

  .projekt {
    margin-bottom: 12px;
  }

  .titel-container {
    margin-left: 60px;
    margin-bottom: 4px;
  }

  .wrapper {
    position: relative;
    overflow-X: hidden;
  }

  .titel-container:hover .col-1 {
    padding-right: 0px;
    transition: none;
  }

  .col-0 {
    display: none;
  }

  .col-1 {
    width: 25%;
  }

  .col-2 {
    width: 70%;
  }

  .jahr {
    width: 32px;
    margin-right: 12px;
  }

  .monat,
  .tag {
    width: 20px;
    margin-right: 12px;
  }

  .col-3 {
    width: calc(100% - 110px);
  }

  .projekt-inhalt {
    margin: 0 auto;
  }

  .projekt-text {
    width: calc(100% - 24px);
    padding-left: 0%;
    margin-left: 12px;
  }

  .projekt-images img {
    padding-right: 12px;
  }

  .projekt-images ul li:first-child {
    padding-left: 12px;
  }

  .link,
  div.information a {
    padding: 0px 10px 2px 10px;
  }

  div.client-title {

    width: calc(100% - 24px);
    margin-left: 12px;
  }

  div.information p {
    text-indent: 60px;
  }

  div.information h3 {
    text-indent: 0px;
  }


}


/*-----Iphone X ----*/
@media only screen and (min-width: 375px) and (max-width: 960px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
  .titel-container:hover .col-1 {
    width: 20%;
    transition: none;
  }

}


@media only screen and (min-width: 375px) and (max-width: 812px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {

  .titel-container:hover .col-1 {
    width: 20%;
    transition: none;
  }

}