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

@font-face {
  font-family: 'Stanley';
  src: url('../fonts/Stanley-Italic.woff') format('woff');
  font-weight: 400;
  /* Die Datei enthält den gewünschten Schnitt und wird global verwendet. */
  font-style: normal;
}

body {
  margin: 0;
  font-family: 'Stanley', serif;
}

img {
  display: block;
}

.project-carousel {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  overscroll-behavior-y: none;
}

.project-carousel__viewport {
  height: 100%;
  overflow: hidden;
}

.project-carousel__container {
  display: flex;
  align-items: stretch;
  gap: 0.7vw;
  height: 100%;
  touch-action: pan-x pinch-zoom;
}

.seitenname {
  position: fixed;
  top: 1.2vw;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  margin: 0;
  color: inherit;
  text-decoration: none;
}

.project-navigation {
  position: fixed;
  bottom: 0.6vw;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.7vw;
  transform: translateX(-50%);
}

.projects {
  margin: 0;
  color: inherit;
  text-decoration: none;
}

.project-navigation__language {
  margin: 0;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.seitenname,
.projects,
.project-navigation__language {
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  padding-bottom: 0.15rem;
  padding-top: 0.15rem;
  border-radius: 100px;
  /* border-top-left-radius: 100px;
  border-bottom-left-radius: 100px; */
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.project-carousel__slide {
  flex: 0 0 auto;
}

.project-carousel__slide:last-child {
  margin-right: 0.7vw;
}

.project {
  height: 100vh;
  width: fit-content;
  display: grid;
  gap: 0.9vh;
  grid-template-rows: repeat(15, 1fr);
}

.project--detail {
  width: 100%;
  padding: 0 1vw;
}

.image-box {
  align-self: start;
  height: 100%;
  width: fit-content;
}

.image-box-1 {
  grid-row: 7 / span 5;
}

.text-box-1 {
  grid-row: 6 / span 1;
  align-self: end;
}

.image-box-1-1 {
  grid-row: 4 / span 5;
}

.image-box-1-1 video {
  clip-path: inset(0 0 0.15rem 0);
}

.text-box-1-1 {
  grid-row: 3 / span 1;
  align-self: end;
}

.image-box-2 {
  grid-row: 6 / span 6;
}

.text-box-2 {
  grid-row: 5 / span 1;
  align-self: end;
}

.image-box-3 {
  grid-row: 3 / span 5;
}

.text-box-3 {
  grid-row: 2 / span 1;
  align-self: end;
}

.image-box-4 {
  grid-row: 7 / span 5;
}

.text-box-4 {
  grid-row: 6 / span 1;
  align-self: end;
}

.image-box-5 {
  grid-row: 4 / span 6;
  overflow: hidden;
}

.image-box-5 video {
  clip-path: inset(0 0 0.15rem 0);
}

.project--detail .image-box {
  justify-self: center;
}

.project__text-grid {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  grid-template-rows: repeat(15, 1fr);
  gap: 0.9vh;
  padding: 0.7vw;
  pointer-events: none;
}

.text-box-5 {
  grid-row: 3 / span 1;
  align-self: end;
}

.image-box-6 {
  grid-row: 6 / span 5;
}

.text-box-6 {
  grid-row: 5 / span 1;
  align-self: end;
}

.image-box-7 {
  grid-row: 6 / span 7;
}

.text-box-7 {
  grid-row: 5 / span 1;
  align-self: end;
}

.image-box img,
.image-box video {
  display: block;
  width: auto;
  height: 100%;
}

.image-box a {
  display: block;
  width: fit-content;
  height: 100%;
}



/* project details */


.project-details {
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  gap: 0.7vw;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  padding: 0.7vw;
  align-content: center;
}

/* just around the corner */

.jatc-project-image-box-1 {
  grid-column: 3 / span 8;
  }

.jatc-project-image-box-2 {
  grid-column: 1 / span 4;
  }

.jatc-project-image-box-3 {
  grid-column: 5 / span 4;
  }

.jatc-project-image-box-4 {
  grid-column: 1 / span 4;
  }

.jatc-project-image-box-5 {
  grid-column: 5 / span 4;
  }

.jatc-project-image-box-6 {
  grid-column: 3 / span 8;
  }

.jatc-project-image-box-7 {
  grid-column: 1 / span 8;
  }

.jatc-project-image-box-8 {
  grid-column: 3 / span 8;
  }

.jatc-project-image-box-9 {
  grid-column: 1 / span 8;
  }

.jatc-project-image-box-10 {
  grid-column: 3 / span 4;
  }

.jatc-project-image-box-11 {
  grid-column: 7 / span 4;
  }

.jatc-project-image-box-12 {
  grid-column: 3 / span 4;
  }

.jatc-project-image-box-13 {
  grid-column: 7 / span 4;
  }


.jatc-projektbeschrieb {
  grid-column: 4 / span 4;
  padding-bottom: 5vh;
  text-align: justify;
}

/* place des vosges */

.pdv-project-image-box-1 {
  grid-column: 3 / span 8;
  }

.pdv-project-image-box-2 {
  grid-column: 1 / span 8;
  }

.pdv-project-image-box-3 {
  grid-column: 3 / span 4;
  }

.pdv-project-image-box-4 {
  grid-column: 7 / span 4;
  }

.pdv-project-image-box-5 {
  grid-column: 1 / span 8;
  }

.pdv-project-image-box-6 {
  grid-column: 3 / span 8;
  }

.pdv-project-image-box-7 {
  grid-column: 1 / span 8;
  }

.pdv-project-image-box-8 {
  grid-column: 3 / span 8;
  }

.pdv-project-image-box-9 {
  grid-column: 1 / span 8;
  }


.pdv-project-image-box-10 {
  grid-column: 3 / span 8;
  }

.pdv-project-image-box-11 {
  grid-column: 1 / span 8;
  }


.pdv-projektbeschrieb {
  grid-column: 4 / span 4;
  padding-bottom: 5vh;
  text-align: justify;
}


/* mid century design */

.mcm-project-image-box-1 {
  grid-column: 3 / span 8;
  }

.mcm-project-image-box-2 {
  grid-column: 1 / span 8;
  }

.mcm-project-image-box-3 {
  grid-column: 3 / span 4;
  }


.mcm-project-image-box-4 {
  grid-column: 7 / span 4;
  }


.mcm-project-image-box-5 {
  grid-column: 1 / span 8;
  }

.mcm-project-image-box-6 {
  grid-column: 3 / span 8;
  }

.mcm-project-image-box-7 {
  grid-column: 1 / span 8;
  }

.project-image-box img,
.project-image-box video {
  width: 100%;
}


.mcm-projektbeschrieb {
  grid-column: 4 / span 4;
  padding-bottom: 5vh;
  text-align: justify;
}

/* einfach klasse */

.ek-project-image-box-1 {
  grid-column: 3 / span 8;
  }

.ek-project-image-box-2 {
  grid-column: 1 / span 4;
  }

.ek-project-image-box-3 {
  grid-column: 5 / span 4;
  align-self: end;
  }

.ek-project-image-box-4 {
  grid-column: 3 / span 8;
  }

.ek-project-image-box-5 {
  grid-column: 1 / span 8;
  }

.ek-project-image-box-6 {
  grid-column: 3 / span 4;
  }

.ek-project-image-box-7 {
  grid-column: 7 / span 4;
  }


.ek-projektbeschrieb {
  grid-column: 4 / span 4;
  padding-bottom: 5vh;
  text-align: justify;
}

/* Quadrate: Erste Zahl = Startspalte, zweite Zahl = Spaltenbreite. */

.q-project-image-box-1 {
  grid-column: 1 / span 4;
  }

.q-project-image-box-2 {
  grid-column: 5 / span 4;
  }

.q-project-image-box-3 {
  grid-column: 3 / span 4;
  }

.q-project-image-box-4 {
  grid-column: 7 / span 4;
  }

.q-projektbeschrieb {
  grid-column: 4 / span 4;
  padding-bottom: 5vh;
  text-align: justify;
}


/* technische umsetzung */

.tu-project-image-box-1 {
  grid-column: 1 / span 8;
  }

.tu-project-image-box-1-1 {
  grid-column: 3 / span 4;
  }

.tu-project-image-box-1-2 {
  grid-column: 7 / span 4;
  }

.tu-project-image-box-2 {
  grid-column: 1 / span 8;
  }

.tu-project-image-box-3 {
  grid-column: 3 / span 8;
  }

.tu-project-image-box-3-1 {
  grid-column: 1 / span 4;
  }

.tu-project-image-box-3-2 {
  grid-column: 5 / span 4;
  }

.tu-projektbeschrieb {
  grid-column: 4 / span 4;
  padding-bottom: 5vh;
  text-align: justify;
}


/* Typostadt */

.t-project-image-box-1 {
  grid-column: 1 / span 8;
  }

.t-project-image-box-2 {
  grid-column: 3 / span 8;
  }

.t-project-image-box-3 {
  grid-column: 1 / span 8;
  }

.t-project-image-box-3-1 {
  grid-column: 1 / span 4;
  }

.t-project-image-box-4 {
  grid-column: 3 / span 4;
  }

.t-project-image-box-5 {
  grid-column: 7 / span 4;
  }

.t-project-image-box-6 {
  grid-column: 3 / span 4;
  }

.t-project-image-box-7 {
  grid-column: 7 / span 4;
  }

.t-project-image-box-8 {
  grid-column: 1 / span 8;
  }

.t-project-image-box-9 {
  grid-column: 3 / span 4;
  }

.t-project-image-box-10 {
  grid-column: 7 / span 4;
  }

.t-project-image-box-11 {
  grid-column: 3 / span 4;
  }

.t-project-image-box-12 {
  grid-column: 7 / span 4;
  }

.t-projektbeschrieb {
  grid-column: 4 / span 4;
  padding-bottom: 5vh;
  text-align: justify;
}

/* Lia Huber */

.lh-project-image-box-1 {
  grid-column: 4 / span 4;
  padding-top: 5vh;
  animation: lh-von-unten 1200ms ease-out both;
  }

.lh-projektbeschrieb {
  grid-column: 4 / span 4;
  padding-bottom: 5vh;
  text-align: justify;
  animation: lh-von-unten 1200ms ease-out both;
}

@keyframes lh-von-unten {
  from {
    transform: translateY(100vh);
  }
  to {
    transform: translateY(0);
  }
}


/* sonstiges */

.text-flex{
  display:flex;
  justify-content: space-between;
}


.text-flex-start{
  display:flex;
  justify-content: space-between;
}

.text-flex span{
  display:block;
}
