:root {
   --font-size-small: .6rem;
   --font-size-normal: .9rem;
   --color-white: #FDFDFD;
   --color-grey:#B0B0B0;
}
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   -webkit-overflow-scrolling: touch;
   -webkit-text-size-adjust: 100%;
   font-feature-settings:'kern';  
   text-rendering: optimizeLegibilaity; 
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}
html {
   width: 100%;
   -webkit-tap-highlight-color: transparent;
   font-size: 20px;
   background-color: var(--color-white);
   overscroll-behavior: none;
}
body {
   font-family:"Signs";
   background-color: var(--color-white);
   height: 100%;
   color: var(--color-grey);
   font-size:var(--font-size-normal);
   display: flex;
   letter-spacing: 0;
   overflow-x: hidden;
   line-height: 1.2;
   flex-direction: column;
   min-height: 100vh;
}
header {
    font-size: var(--font-size-normal);
    display: flex;
    background: linear-gradient(180deg, var(--color-brown) 14%, rgba(255, 255, 255, 0) 100%);
    position: fixed;
    z-index: 3;
    gap: .25em;
    width: 100%;
    top: 3.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: auto;
    display: flex;
}
a{
    color:inherit;
    text-decoration:none;
}
h1 {
    font-size: 0;
    position: absolute;
}
.projectTiles{
    /* overflow-y: scroll; */
    /* height: 100%; */
    /* scroll-snap-type: y mandatory; */
    width: 100%;
    /* position: fixed; */
    /* overflow-x: hidden; */
}
.projectTile.in figcaption {
    opacity: 1;
}
.projectpage article.textbox {
    position: fixed;
    bottom: 0;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    width: 58em;
}
.swiper-slide.indexslide.swiper-slide-active {}
.projectpage .textbox .text {
    max-height: 0;
    overflow: hidden;
    transition: .5s max-height ease-out;
}
.indexImage.landscape img {
    width: auto;
    height: 100%;
    /* position: absolute; */
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: left;

}
.indexCurrent.projectpage .textbox .text,.switched.projectpage .textbox .text {
    max-height: 10em;
}
.indexImage {
    height: 6.75rem;
    display: inline-flex;
    /* width: 10.125rem; */
    width: auto;
    position: relative;
}
.indexImage button {
    background-color: transparent;
    border: none;
    height: 100%;
    width: auto;
    display: inline-flex;

}
.projectTile:first-of-type {
    margin-top: 10vh;
}
.projectTile:last-of-type {
    margin-bottom: 10%;
}
.indexslide {
    padding: 8rem 1rem 0;
    scroll-snap-align: start;
    width: 100%;
    transform: translateX(100%);
    position: fixed;
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}
.indexBox{
    display: flex;
    flex-wrap: wrap;
    column-gap: .25rem;
    row-gap: .9rem;
}
.indexImage img, .indexImage video {
    height: 100%;
    width: auto;
}
.projectpage h1 {
    font-size: unset;
    position: static;
    font-weight: inherit;
    text-align: center;
}
.imageslide {
    display: flex;
    width: 100%;
    overflow-y: hidden;
    overflow-x: auto;
    height: 100svh;
}
.projectTile {
    height: 80vh;
    width: auto;
    display: flex;
    cursor: default;
    /* scroll-snap-align: center; */
    position: relative;

}
.anchorblock {
    height: 40%;
    position: absolute;
    top: 30%;
    /* width: 100%; */
    /* background-color: red; */
}
.projectTiles:after {
    content: '';
    height: 1px;
    position: fixed;
    width: 100%;
    /* background-color: black; */
    top: 50%;
    z-index: 2;
    display: block;
}
.projectTile img {
    height: 100%;
    width: auto;
    display: block;
}

.projectTile .image {
    height: 80%;
    display: block;
    margin: auto;
    /* top: 50%; */
    position: relative;
    cursor: pointer;
    /* transform: translateY(-50%); */
}
.swiper-container {
    /* overflow-x: scroll; */
}
.projectTile .image, a,.indexImage button {
    cursor: url("../img/hand.svg") 15 8, pointer;
    cursor: -webkit-image-set(url("../img/hand.svg") 1x, url("../img/hand_big.svg") 2x) 15 8, pointer;

}

@-moz-document url-prefix() {
.projectTile .image, a,.indexImage button{
   cursor: url("../img/hand.svg") 15 8, pointer;
}
}

#logo {
    text-transform: uppercase;
}
.subpage main {
    margin: 8rem 0 4rem;
}
p.small{
    font-size: var(--font-size-small);
}
.indexImage.portrait {
    /* margin-right: 3.5rem; */
}
.swiper-container:not(.in) {
     opacity: 0; 
}
figcaption {
    position: fixed;
    bottom: 2rem;
    padding: 1rem 0;
    opacity: 0;
    text-align: center;
    width: 50em;
    transition: .25s opacity ease-out;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
}
.switched .swiper-container {
    transform: translateX(-100%);
}

.switched .indexslide {
    transform: translateX(0%);
}
strong {
    font-weight: normal;
    text-transform: uppercase;
}
.bildslide.swiper-slide {
    width: auto;
    display: block;
    height: 100%;
    /* scroll-snap-align: center; */
}
.bildslide.swiper-slide.secondlastimage {
    scroll-snap-align: center;
}
.swiper-wrapper::-webkit-scrollbar,.imageslide::-webkit-scrollbar {
  display: none;
}

.swiper-wrapper,.imageslide {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.bildslide.swiper-slide:first-of-type {
    /* scroll-snap-align: start; */
}
.swiper-slide{
    flex-shrink: 0;
    position: relative;
}
.swiper-wrapper{
        /* scroll-snap-type: x mandatory; */
        /* position: relative; */
        /* width: 100%; */
        /* height: 100%; */
        /* z-index: 1; */
        /* display: flex; */
        /* box-sizing: content-box; */
        /* position: fixed; */
        /* overflow-x: scroll; */
        /* overflow-x: auto; */
        /* overflow-y: hidden; */
        /* scroll-behavior: smooth; */
}
.swiper-slide img {
    height: 100%;
    display: block;
}

.swiper-slide picture, .swiper-slide > video {
    height: 100vh;
    position: relative;
    display: block;
}

.projectTile picture {
    display: block;
    top: 50%;
    transform: translateY(-50%);
    position: relative;
}
.bildslide.swiper-slide.lastimage {
    scroll-snap-align: end;
}

.redirectslide {
    width: 4rem;
    /* scroll-snap-align: end; */
    height: 4rem;
}
.swiper-container {
    height: 100%;
    position: fixed;
    width: 100%;
    transition: .25s opacity ease-out, transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    opacity: 1;
    overflow: hidden;
}
html.is-changing .transition-fade {
  transition: opacity 0.25s;
  opacity: 1;
}
html.is-animating .transition-fade {
  opacity: 0;
}
nav.skiplinks {
    left: 1.2rem;
    top: 3rem;
    padding: 0;
    z-index: 10;
    position: fixed;
}
nav.skiplinks ul {
    position: absolute !important;
    left: 0;
    top: 0;
    padding: 0;
    display: block;
    margin: 0;
    list-style: none;
}
.skiplink {
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    font-size: 1rem;
    display: inline-block;
    white-space: nowrap;
}
.skiplink:focus {
    display: block;
    border-radius: 0;
    z-index: 100;
    width: auto;
    height: auto;
}
.textbox h2 {
    font-size: inherit;
    text-transform: uppercase;
    font-weight: inherit;
}

.text p:not(:last-child) {
    margin-bottom: 1em;
}

article.textbox {
    width: 58em;
    margin: 0 auto;
}
article.textbox:not(:last-child) {
    margin-bottom: 3rem;
}
#cookiemessage {
    display: none;
}

@media (min-width: 1900px) {
  html {
      font-size: 25px;
  }  
}
@media (min-width: 1025px) {
 .projectTile .image{
     width:unset !important;
 }
}
@media (orientation: portrait) and (min-width: 501px) and (max-width: 1025px) {
  html {
      font-size: 3vw;
  }  
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1025px) {
  html {
      font-size: 20px;
  }
}


@media (min-width: 200px) and (max-width: 500px) {
  html {
      font-size: 4.25vw;
  }  
  
}
@media (max-width: 1025px){
:root {
  --font-size-small: .65rem;
  --font-size-normal: .85rem;
}
    #logo {
    width: 100%;
    text-align: center;
}
    
.projectTile {
    height: 130vw;
}

figcaption {
    max-width: 100%;
}
.projectTile .image.portrait {
    width: 70%;
}
.indexslide {
    padding-top: 8.75rem;
    transform: translateY(100%);
    height: 100svh;
}
.projectTile .image {
    height: auto;
    width: 100%;
}
    .swiper-wrapper {
    /* scroll-snap-type: y mandatory; */
    /* flex-direction: column; */
    /* overflow-y: auto; */
    /* overflow-x: hidden; */
}
article.textbox,.projectpage article.textbox {
    width: calc(100% - 1.5rem);
}
    .switched .swiper-container {
    transform: translateY(-100%);
}

.switched .indexslide {
    transform: translateY(0%);
}
    .indexCurrent.projectpage .textbox .text {
    max-height: 20em;
}
.indexBox {
    display: none !important;
}
.subpage main {
    margin-top: 8.75rem;
}
.projectTile img {
    height: auto !important;
    width: 100%;
}
    body.projectpage.switched {
    overflow: hidden;
    position: fixed;
}
    .swiper-slide picture, .swiper-slide video {
    height: auto;
    width: 100%;
}
    .projectTile:last-of-type {
    margin-bottom: calc((100svh - 130vw) / 2);
}
.projectTile picture {
    top: unset;
    transform: none;
}
.swiper-slide picture img {
    width: 100%;
    height: auto;
}

.bildslide.swiper-slide {
    height: unset;
}
}
@media (hover: hover) {

}
@font-face {
    font-family: 'Signs';
    src: url('fonts/signs.woff2') format('woff2'),
        url('fonts/signs.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

::selection {
   color: var(--color-white);
   background-color: var(--color-grey);
}
::-moz-selection {
   color: var(--color-white);
   background-color: var(--color-grey);
}