*,
*::after,
*::before {
  box-sizing: border-box;
}

:root {
  font-size: 15px;
}

@font-face {
  font-family: SangBleuVersailles-R;
  src: url(/fonts/SangBleuVersailles-Regular.otf) format('opentype'),
    url('/fonts/sangbleuversailles-regular-webfont.woff2') format('woff2'),
    url('/fonts/sangbleuversailles-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
  font-family: SangBleuVersailles-M;
  src: url(fonts/SangBleuVersailles-M.otf) format('opentype'),
  url('/fonts/sangbleuversailles-medium-webfont.woff2') format('woff2'),
  url('/fonts/sangbleuversailles-medium-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


body {
  --color-text: #000;
  --color-bg: #fff;
  --color-link: #000;
  --color-link-hover: #000;
  --color-cover: #000;
  --color-copy: #000;
  --color-content-title: #000;
  --color-indicator: #000;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-family: SangBleuVersailles-R, serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#log {
  scale: 1.5;
}

.cursor {
  display: none;
}

/* Page Loader */

.js .loading::before {
  content: '';
  position: fixed;
  z-index: 100000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
}

.js .loading::after {
  content: '';
  position: fixed;
  z-index: 100000;
  top: calc(50% - 100px);
  left: calc(50% - 100px);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 1;
  background: var(--color-link);
  animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
  to {
    opacity: 1;
    transform: scale3d(0.5, 0.5, 1);
  }
}

a {
  text-decoration: none;
  color: var(--color-link);
  outline: none;
}

a:hover,
a:focus {
  color: var(--color-link-hover);
  outline: none;
}

main {
  /*position: relative;*/
  height: 100vh;
  display: flex;
  flex-direction: column;

}

.footer {
  display: flex;
  align-self: flex-end;
  margin: 0px 20px;
  height: 70px;
  align-items: flex-end;
}

.message {
  background: var(--color-text);
  color: var(--color-bg);
  padding: 1rem;
  text-align: center;
}

.frame {
  z-index: 1005;
  text-transform: uppercase;
  font-kerning: auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 10%;
}

.frame__title-wrap {
  display: flex-end;
}

.frame__links {
  display: flex;
  font-size: 3.5vh;
  line-height: 2vh;
  color: black;
}

.frame__links a {
  margin: 0 0.35rem;
  padding: 0 0.35rem;
  position: relative;
  color: black;
}

a:hover {
  opacity: 0.7;
}

.frame__links a:first-child {
  margin-left: 0;
  padding-left: 0;
}

/* .frame__links a:not(:last-child)::after {
	content: '';
	width: 1px;
	height: 1rem;
	background: var(--color-link);
	position: absolute;
	left: calc(100% + 0.35rem);
	top: calc(50% - 0.5rem);
	pointer-events: none;
} */



.frame__subtitle {
  font-weight: normal;
  font-kerning: auto;
  font-size: 1rem;
  margin: 0.5rem 0 1rem;
}

.frame__indicator {
  display: none;
  background: var(--color-indicator);
  width: 100%;
  height: 0.5rem;
  transform-origin: 0 100%;
}

.Ebene_1-wrapper {
  max-height: 100%;
  overflow: hidden;
  position: absolute;
  /*top: -2.5%;*/
  width: 100vw;
  z-index: 1005;
}

#Ebene_1 {
  width: 70%;
  min-width: 800px;
  margin-top: -0.60%;
}

#Ebene_1-mobile {
  display: none;
}

.strip-outer {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /*justify-content: center;*/
}

.strip-inner {
  position: relative;
  top: 10px;
  height: 80%;
  width: -moz-fit-content;
  width: fit-content;
}

.strip-inner-hide {
  display: none
}

.content__about {
  opacity: 0;
}

.draggable {
  height: 500px;
  top: calc(50% - 250px);
  width: 100%;
  position: absolute;
  cursor: grab;
}

.draggable:active {
  cursor: grabbing;
}

.strip {
  height: 100%;
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  align-items: start;
  position: relative;
  pointer-events: none;
}

.strip__item {
  height: 90%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.img-outer {
  --imgheight: 90.5vh;
  height: var(--imgheight);
  width: calc(var(--imgheight) * 0.7);
  overflow: hidden;
  position: relative;
  flex: none;
}

.img-outer--size-xl {
  --imgheight: 90.5vh;
}

.img-inner {
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  left: -20px;
  top: -20px;
  background-size: cover;
  background-position: 50% 50%;
  position: absolute;
}

.strip__item-number {
  font-size: 20px;
  margin-top: 10px;
  position: relative;
  display: flex;
  align-items: end;
  justify-self: end;
  align-self: end;
  justify-content: space-between;
  /* padding: 0.5rem; */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.strip__item-link {
  pointer-events: auto;
  cursor: pointer;
  display: block;
  position: relative;
}

.strip__item-link::before {
  content: '';
  position: absolute;
  width: 160%;
  height: 120%;
  left: -30%;
  top: -10%;
}

.strip__item-link span {
  display: block;
}

.strip__item-plus {
  display: none;
  width: 20px;
  height: 20px;
  color: black;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='13' height='13' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7 6h6v1H7v6H6V7H0V6h6V0h1v6z' fill='%23505050'/%3e%3c/svg%3e");
  background-size: 100%;
}

.strip__item-link:hover {
  display: none:
}

.strip-cover {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  : var(--color-cover);
  pointer-events: none;
  opacity: 0.7;
}

.strip-cover__title {
  font-family: SangBleuVersailles-M;
  font-weight: 200;
  font-size: 10vw;
  margin: 0;
  line-height: 1;
  color: black;
}

.strip-cover__subtitle {
  color: black;
  font-size: 1.5rem;
  margin: -50px;
}

.content {
  top: 0;
  position: absolute;
  height: 100vh;
  width: 100%;
  z-index: 1000;
}

.js .content {
  pointer-events: none;
}

.content__item {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  height: 100vh;
  display: grid;
  align-items: center;
  grid-template-rows: 50% 40% 10%;
  grid-column-gap: 0;
  grid-template-areas: 'content-img''content-copy''...';
  display: none;
}

.js .content__item {
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.js .content__item--current {
  pointer-events: auto;
  opacity: 1;
  top: 0;
  display: grid;
}

.img-outer--content {
  height: 100%;
  width: auto;
  grid-area: content-img;
}

.img-inner--content {
  background-position: 50% 35%;
}

.content__item-title {
  font-weight: normal;
  font-weight: 30px;
  color: var(--color-content-title);
}

.content__item-copy {
  grid-area: content-copy;
  padding: 1.5rem 2rem;
  color: var(--color-copy);
}

.content__item-text {
  margin-top:-35px;
}

.content__close {
  display: block;
  background: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid white;
  margin: 0;
  padding: 0;
  color: white;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  position: absolute;
  bottom: 1.5rem;
  left: 3rem;
  scale: 1.5;
  mix-blend-mode: difference;
}

.content__item--current~.content__close {
  pointer-events: auto;
}

.content__close svg {
  fill: currentColor;
}

.content__close:focus,
.content__close:hover {
  outline: none;
  color: blue;
  opacity: 0.5;
}

/* Will-change */

.strip,
.strip__item,
.cursor__side,
.content__close,
.content__item-title,
.content__item-copy {
  will-change: transform;
}

/* about */

.aboutcontent {
  top: 0;
  position: absolute;
  height: 100vh;
  width: 100%;
  z-index: 1000;
}

.js .content {
  pointer-events: none;
}

.aboutcontent__item {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  height: 100vh;
  display: grid;
  align-items: center;
  grid-template-rows: 50% 60%;
  grid-column-gap: 0;
  grid-template-areas: 'content-img''content-copy''...';
  /* display: none; */
}

.js .aboutcontent__item {
  height: 100%;
  opacity: 1;
  pointer-events: none;
}

.js .aboutcontent__item--current {
  pointer-events: auto;
  opacity: 1;
  top: 0;
  display: grid;
}

.img-outer--aboutcontent {
  height: 100%;
  width: auto;
  grid-area: content-img;
}

.img-inner--aboutcontent {
  background-position: 50% 35%;
}

.aboutcontent__item-title {
  font-weight: normal;
  font-weight: 30px;
  color: var(--color-content-title);
}

.aboutcontent__item-copy {
  grid-area: content-copy;
  padding: 1.5rem 2rem;
  color: var(--color-copy);
}

.aboutcontent__item-text {
  margin: 0;
}

/* end about site */

/*  */
@media screen and (min-width: 53em) {
  body {
    overflow: hidden;
  }

  .frame__title-wrap {
    display: flex;
  }

  .frame__title {
    margin: 0;
  }

  .frame__subtitle {
    grid-area: sub-title;
    justify-self: end;
    position: fixed;
    bottom: 5px;
    right: 10px;
    margin: 0;
    padding-top: 0px;
  }

  .frame__links {
    padding: 0;
    margin: 0 0 0 2rem;
  }

  .frame__indicator {
    grid-area: indicator;
    margin: 0;
  }

  .content__item,
  .aboutcontent__item {
    top: 0;
    grid-template-columns: 50% 45% 15%;
    grid-template-rows: 100%;
    grid-template-areas: ' content-img  content-copy... ';
  }

  .content__item-copy,
  .aboutcontent__item-copy {
    line-height: 1.3;
    font-size: 24px;
    max-width: 600px;
    justify-self: start;
    align-self: end;
    text-align: left;
  }

  .aboutcontent__item-copy {
    max-width: 1200px;
  }

  .strip-cover__title {
    font-size: 15vw;
  }

  .strip-cover__subtitle {
    font-size: 3rem;
  }
}

@media (any-pointer: fine) {
  .cursor {
    display: block;
  }

  .cursor__inner {
    z-index: 9999;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    mix-blend-mode: difference;
    border-radius: 50%;
  }

  .cursor__side {
    position: absolute;
    top: 50%;
    width: 5px;
    height: 1px;
    background: #fff;
    opacity: 0;
  }

  .cursor__side--left {
    right: calc(100% + 5px);
  }

  .cursor__side--right {
    left: calc(100% + 5px);
  }

  .cursor__inner--circle {
    width: 25px;
    height: 25px;
    border: 1px solid #fff;
  }
}

/* end about site */

/* iPads (portrait) ----------- */
@media only screen and (max-device-width : 900px) {
  /* Styles */


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

  .frame__title-wrap {
    display: flex;
    justify-content: center;
    max-width: 100%;
  }

  .frame__links {
    font-size: 24px;
  }

  #Ebene_1 {
<<<<<<< HEAD
    width: 65%;
  }


/* Smartphones (portrait) ----------- */
@media only screen and (max-device-width : 500px) {
/* Styles */
    .frame {
       padding: 0.5rem;
       display: inline-block;
       justify-content: center;
       height: auto;
    }

    .frame__title-wrap {
      display: flex;
      justify-content: center;
      max-width: 100%;
      margin-top: 10px;
    }

    #Ebene_1 {
      display: none;
    }

    #Ebene_1-mobile {
      display: flex;
      width: 100%;
      margin: auto;
    }

    .content__close {
      color: black;
    }
    .content__item-text{
      margin-top:0px;
    }


    .content__item {

      grid-template-rows: 77% 13% 10%;
    }

    .strip__item-number {
      font-size: 50px;
    }

    .strip {
      height: 80%;
    }

    .strip__outer {
      height: 80vh;
    }

    .frame__links {
      font-size: 18px;
    }

    .draggable {
      top: calc(39% - 247px);
    }

    .frame__subtitle {
      position: absolute;
      bottom: 5px;
      right: 9px;
    }

    .js .content__item {
      height: 85%;
    }

    .aboutcontent__item-copy{
      margin-top:30px;
    }
}



