@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400&display=swap');
*{
  margin: 0;
  position: relative;
}
body{
    background-color: var(--primary-color);
    overflow-y: hidden;
}
:root{
   --primary-color: white;
   --secondary-color: black;
   }
.dark-theme{
   --primary-color: black;
   --secondary-color: white;
 }
 ::-webkit-scrollbar {
 background-color: var(--primary-color);
 height: 2vh;
 }
 ::-webkit-scrollbar-thumb {
   background: var(--secondary-color);
 }
 @keyframes scaleWidthAnimation {
   0% {
     max-width: 1%;
   }
   100% {
     max-width: 100%;
   }
 }
 @keyframes opacityAnimation {
   0% {
     opacity: 0%;
   }
   100% {
     opacity: 100%;
   }
 }
 .scroll{
 }
 .theme{
   background-color: var(--primary-color);
   color: var(--secondary-color);
   border-color: var(--secondary-color);
 }
.grid{
  padding-left: 2vw;
  padding-right: 2vw;
}
.layout{
  display: block;
  box-sizing: border-box;
  overflow-y: hidden;
}
.layout-wrapper{
display: flex;
flex-direction: column;
height: 100vh;
overflow-y: hidden;
flex-wrap: nowrap;
}
.imprint-wrapper{
  display: flex;
  overflow-y: scroll;
  width: 100%;
  justify-content: space-around;
  margin-bottom: auto;
}
.imprint{
width: clamp(250px, 60%, 90%);
flex-shrink: 1;
justify-content:space-around;
}
.header{
  max-height: 15%;
  box-sizing: border-box;
  width: 100vw;
  flex: 0 1 15%;
  display: flex;
  align-items: center;
  padding-top: 1vw;
  padding-bottom: 1vw;
  border-top: 2px solid;
  border-bottom: 2px solid;
}
.logo{
  height: 100%;
  width: auto;
  flex-shrink: 1;
}
#logocolor{
  fill: var(--secondary-color);
}
.bar{
  display: flex;
  flex-grow: 1;
  width: auto;
  max-width: 100%;
  height: 100%;
  justify-content: flex-end;
  align-items: center;
  margin-left: 5px;
  min-width: 15%;
  max-height: 100%;
}
.baranimation{
    animation: scaleWidthAnimation 5s ease;
}
.balken{
  background-color: var(--secondary-color);
  width: 100%;
  height: 1.2vw;
  max-height: 15%;
  min-height: 4.5px;
  position: absolute;
  margin-right: 5px;
  box-sizing: border-box;
}
.K{
  height: 9vw;
  min-height: 33px;
  max-height: 100%;
  width: auto;
  flex-shrink: 1;
}
.selector-wrapper{
  box-sizing: border-box;
  flex: 1 1 65%;
  overflow-x: scroll;
  display: flex;

  animation: scaleWidthAnimation 2s ease, opacityAnimation 3s ease;
}
.selector-wrapper::-webkit-scrollbar {
display: none;
}
.gallery {
      padding-top: 5px;
      padding-bottom: 5px;
      padding-right: 10px;
      box-sizing: border-box;
      display: flex;
      flex-wrap: wrap;
      flex-direction: column;
      overflow-x: scroll;
      height: 100%;
      background-color: var(--primary-color);
    }
    .item {
      box-sizing: border-box;
      margin: 5px;
    }
    .textbox{
        overflow: auto;
        box-sizing: border-box;
        margin: 5px;
    }
    .textbox::-webkit-scrollbar {
    display: none;
    }
    .full img{
      height: 100%;

    }
    .half{
      flex-basis: calc(50% - 20px);
    }
    .half img {
      width: auto;
      overflow: hidden;
      height: 100%;
      object-fit:cover;
    }
    .half img:hover{
      object-fit: contain;
    }
    .flex{
      box-sizing: border-box;
      flex-basis: 20%;
      flex-grow: 1;
      overflow: hidden;
      }
    .flex img{
      width: auto;
      height: 100%;
      object-fit: cover;
    }
    .flex img:hover{
      object-fit: contain;
}
    .aspect1 img{
      aspect-ratio: 16 / 9;
    }
    .aspect2{
      aspect-ratio: 2 / 4;
    }
    .text{
      padding: 20px;
      padding-right: 40px;
      padding-top: 0;
      overflow-y: scroll;
   }
    .half{
      height: calc(50% - 10px);
      }
    .full{
      height: calc(100% - 10px);
      width: auto;
    }
   iframe{
     height: 100%;
     aspect-ratio: 16 / 9;
     pointer-events: none;
      }

.project{
  padding-top: 2%;
  height: auto;
  width: 20vw;
  max-width: 100%;
  flex-grow: 0;
  flex-shrink: 0;
  box-sizing: border-box;
  background-size: cover;
  scroll-snap-align: start;
  text-decoration: none;
  hyphens: auto;
  padding-top: 0;
  padding-right: 0;
  border-right: 0px solid white;
  transition: all 0.5s;
  cursor: none;
}

.project:hover{
  border-right: 20px solid white;
  filter:grayscale(100%);
}
.project:hover .arrow{
  display: block;
}
.arrow{
  transform: translateY(0);
  right: -10px;
  position:absolute;
  display: none;
  z-index: 100;
  width: 50%;
  max-width: 200px;
}
.info-wrapper{
    box-sizing: border-box;
    gap: 3vw;
    flex-shrink: 0;
    width: 100%;
    display: flex;
    flex-direction:row;
    flex-wrap: nowrap;
    overflow: auto;
    scroll-snap-type: x mandatory;
    border-top: 2px solid;
}
.info{
  flex: 1 0 350px;
  height: auto;
  max-width: 100%;
  box-sizing: border-box;
  scroll-snap-align: center;
  padding-bottom: 4vh;
  align-items: center;
}
.info ul{
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  justify-content: flex-start;
  font-weight: normal;
}
.info ul li{
  flex: 0 1 50%;
  text-align: left;
  box-sizing: border-box;
}
.nowrap{
flex-direction: column;
}
.navigation{
  background-color: white;
  height: auto;
  width: 3vw;
  max-width: 100%;
  flex-grow: 0;
  flex-shrink: 0;
  box-sizing: border-box;
  background-size: cover;
  scroll-snap-align: start;
  border: 20px solid white;
  padding-right: 2vw;
  box-sizing: content-box;

}
.back{
  width: 100%;
  height: auto;
  transform: rotatey(180deg);
  padding-left: 20px;

  cursor: pointer;
}
.button img{
  height:20px;
  padding-left: 10px;
}
h1{
font-family: 'PT Sans', sans-serif;
  font-weight: 600;
  color: black;
  margin: 0;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  position: absolute;
  top: 2%;
  right:-19px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
h2{
font-family: 'PT Sans', sans-serif;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0;
  font-size: 8vh;
  padding-top: 40px;
  text-transform: uppercase;
  line-height: 1;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
h3, h4{
  padding: 2px;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: left;
  margin-top: 1em;
  margin-bottom: .5em;
  padding-left: 0;
}

p, li{
  line-height: 1.5;
  font-family: 'PT Sans', sans-serif;
  font-weight: normal;
  font-size: 1em;
}
li a{
  color: var(--secondary-color);
  text-decoration: underline;
}

footer{
  padding-top: .5vh;
  padding-bottom: .5vh;
  box-sizing: border-box;
  width: 100vw;
  display: flex;
  flex-direction: row;
  height: auto;
  justify-content: flex-start;
  align-items: center;
  border-top: 2px solid;
}
footer p{
  margin: 0;
  flex: 0 1 90%;
}
footer a{
  text-align: right;
  flex: 0 1 5%;
  color: var(--secondary-color);
  text-decoration: underline;
  padding-left: 10px;
  line-height: 1.5;
font-family: 'PT Sans', sans-serif;
  font-weight: normal;
  font-size: 1em;
}
