*,
html {
  scroll-behavior: smooth !important;
  cursor: url("/assets/images/Click.svg"), auto;
}

body {
  background-color: white;
}

nav .nav-box-project {
  left: 10px;
  right: 10px;
  position: fixed;
  z-index: 100;
  display: flex;
  justify-content: center;
  text-align: center;
  top: calc(50vh - 44px);
  mix-blend-mode: exclusion;
}

nav .nav-box-project div {
  text-decoration: none;
  color: white;
  padding: 0px 0px 0px 0px;
  border-radius: 100px;
}

.nav-box-right-project {
  opacity: 1;
  width: 20vw;
  border-radius: 100px;
}

.nav-plus-box {
  background-color: rgb(190, 190, 190);
  height: 46.5px;
  width: 46.5px;
}

.nav-box-left-project {
  opacity: 0.1;
  width: 20vw;
  visibility: hidden;
}

.nav-box-middle-project {
  background-color: rgb(215, 215, 215);
  opacity: 0.1;
  width: 70vw;
}

#nav-title-project {
  left: 10px;
  right: 10px;
  position: fixed;
  z-index: 150;
  display: flex;
  justify-content: center;
  text-align: center;
  /* margin-left: 50px; */
  top: calc(50vh - 40px);
}

.nav-box-left-project,
.nav-box-right-project,
.nav-title-left-project,
.nav-title-right-project,
div.nav-box-left-project,
div.nav-box-right-project,
div.nav-title-left-project,
div.nav-title-right-project {
  width: 20vw;
}

.nav-plus-wrapper {
  width: 46.5px;
  text-align: center;
  padding: 3.25px 0px 0px 0px;
  align-items: center;
}

.nav-plus {
  width: 46.5px;
  text-decoration: none;
  border-radius: 100px;
  text-align: left !important;
  animation: plusScale 3s infinite alternate-reverse ease-in-out;
  text-align: center;

  & a img {
    padding-left: 8px;
  }
}

.category-title {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  margin: 50px 0 20px 0;
  font-size: 13px;
  height: 1.2em; /* feste Höhe, damit Layout stabil bleibt */
  color: transparent; /* Text ist unsichtbar, wird per JS getippt */
  position: relative;
}

.category-title .typed-text {
  color: black; /* Sichtbarer Text */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

@keyframes plusScale {
  0% {
    transform: scale(0.1);
  }
  10% {
    transform: scale(1.1);
  }
  20% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

.nav-title-middle-project {
  width: 70vw;
  text-decoration: none;
  color: rgb(255, 255, 255, 0.7);
  padding-top: 10px;
  border-radius: 100px;
}

.project {
  left: 20vw;
  display: flex;
  justify-content: center;
  width: 60vw;
  top: calc((100vh / 3) - 20px);
  color: white;
  text-decoration: none;
  color: white;
  padding-top: 20px;
  padding-bottom: 20px;
}

.project-container {
  height: 100%;
  width: 100vw;
  position: relative;
}

#project-text {
  color: #3f3f3f;
  position: fixed;
  width: calc(100vw - 28px);
  height: 100%;
  z-index: 100;
  padding: 12px 15px 0px 15px;
  opacity: 0;
}

a.weblink {
  text-decoration: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: inherit;
  cursor: pointer;
}

.text-klein {
  color: inherit;
  font-size: 11.5px;
  line-height: 0;
}

ul .list-title {
  color: #3f3f3f;
  font-size: 11.5px;
}

ul {
  opacity: 0;
  color: #3f3f3f;
  list-style: none;
  margin: 0;
  margin: 15px 0 15px 0;
  padding: 0;
}

#project-images {
  width: 100vw;
  display: flex;
  flex-direction: column;
  position: relative;
}

.full-width {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 10vw;
  gap: 3vw;
}

.full-width-responsiv {
  width: calc(100vw - 12vw);
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 10vw;
  gap: 3vw;
}

.full-width-responsiv img,
.full-width-responsiv video {
  margin-left: 6vw;
  margin-right: 6vw;
  width: 100%;
  height: 100%;
  max-width: unset;
}

.full-width img,
.full-width video {
  width: 100vw;
}

.center-margin-portrait2 {
  display: flex;
  flex-direction: column;
  gap: 3vw;
  margin-bottom: 10vw;
}

.center-margin-portrait2 img,
.center-margin-portrait2 video {
  margin-left: auto;
  margin-right: auto;
  width: 95vw;
  max-width: 800px;
}

.center-margin-portrait {
  display: flex;
  flex-direction: column;
  gap: 3vw;
  margin-bottom: 10vw;
}

.center-margin-portrait img,
.center-margin-portrait video {
  margin-left: auto;
  margin-right: auto;
  max-width: 80vw;
  /* max-height: 67svh; */
}

.two-rows {
  width: 80vw;
  margin-left: 7.5vw;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3vw;
  row-gap: 3vw;
  margin-bottom: 10vw;
  margin-top: 4vw;
}

.two-rows img,
.two-rows video {
  width: 40vw;
}

.full-width-coverfit-no-margin {
  width: 100vw;
  /* height: 90svh; */
  height: 100%;
  overflow: hidden;
  margin-bottom: 3vw;

  & img,
  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 1000px) {
  .full-width-coverfit-no-margin {
    width: 100vw;
    /* height: 90svh; */
    height: 100%;
    overflow: hidden;
    margin-bottom: 10vw;
    margin-inline: auto;

    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .with-margin {
    width: 90vw;
  }

  .margin-top {
    margin-top: 7vw;
  }
}

.full-width-coverfit,
.full-width-coverfit-no-margin-special {
  display: flex;
  flex-direction: column;
  gap: 3vw;
  margin-bottom: 3vw;
  object-fit: contain;
  align-items: center;
  overflow-x: hidden;
}

.full-width-coverfit img,
.full-width-coverfit-no-margin-special img,
.full-width-coverfit video {
  width: 185vw;
  max-width: 1000px;
  object-fit: contain;
}

.full-width-coverfit .left-page,
.full-width-coverfit-no-margin-special .left-page {
  translate: 50vw;
}

.full-width-coverfit .left-page img,
.full-width-coverfit-no-margin-special .left-page img,
.full-width-coverfit .left-page video {
  translate: 50vw;
}

.full-width-coverfit .right-page,
.full-width-coverfit-no-margin-special .right-page {
  translate: -50vw;
}

.full-width-coverfit .right-page img,
.full-width-coverfit-no-margin-special .right-page img,
.full-width-coverfit .right-page video {
  translate: -50vw;
}

.grey-back {
  box-shadow: 0px 0px 60px 0px rgb(209, 209, 209);
}

.not-displayed {
  opacity: 0.5;
  /* background-color: aqua; */
  height: 100vh !important;
  margin-bottom: 0 !important;
}

.sticky {
  position: sticky;
  top: 0;
}

.shadow img,
.shadow video {
  -webkit-box-shadow: 0px 0px 46px 9px rgba(0, 0, 0, 0.07);
  box-shadow: 0px 0px 46px 9px rgba(0, 0, 0, 0.07);
}

/* NEXT CASE BUTTON   */

.footer {
  -webkit-box-shadow: 0px 0px 46px 9px rgba(0, 0, 0, 0.07);
  box-shadow: 0px 0px 46px 9px rgba(0, 0, 0, 0.07);
  /* background-color: rgba(255, 255, 255, 0.3); */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: top;
  flex-direction: column;
  position: absolute;
  z-index: 1000 !important;
  align-items: center;
  gap: 10px;
  bottom: -100vh;
  margin-bottom: 100vh;
}

.footer-cases {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav {
  min-height: 46.5px;
  width: calc(100vw - 20px);
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  text-align: center;
  padding-top: 10vh;
  margin-bottom: 25px;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav-left,
.footer-nav-right {
  width: 20vw;
  text-decoration: none;
  color: white;
  border-radius: 100px;
  padding: 13.5px 0px 0px 0px;
  text-align: center;
}

.footer-nav-middle {
  width: 70vw;
  text-decoration: none;
  color: white;
  background-color: rgb(0, 0, 0, 0.1);
  border-radius: 100px;
  padding: 13.5px 0px 0px 0px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.next-case {
  width: 60vw;
  text-decoration: none;
  color: white;
  background-color: rgb(0, 0, 0, 0.1);
  border-radius: 100px;
  padding: 13.5px 0px 14px 0px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.next-case:hover {
  background-color: rgb(0, 0, 0, 0.7);
}

.footer-nav-middle:hover {
  background-color: rgb(0, 0, 0, 0.7);
}

/* NAVIGATION */

@media (min-width: 700px) {
  .nav-box-left-project,
  .nav-box-right-project,
  .nav-title-left-project,
  .nav-title-right-project,
  div.nav-box-left-project,
  div.nav-box-right-project,
  div.nav-title-left-project,
  div.nav-title-right-project {
    width: 46.5px;
  }
}

@media (min-width: 700px) {
  nav .nav-box-middle-project,
  nav .nav-title-middle-project,
  div.nav-box-middle-project,
  div.nav-title-middle-project,
  .project {
    width: 300px;
  }
  #nav-title-project {
    margin-left: 0;
  }
}

/* LAYOUT */

@media (min-width: 1000px) {
  .full-width,
  .center-margin-portrait,
  .full-width-coverfit {
    margin-bottom: 3vw;
    gap: 3vw;
  }

  .center-margin-portrait img,
  .center-margin-portrait video {
    margin-left: auto;
    margin-right: auto;

    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 95svh;
  }

  .center-margin-portrait2 {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    margin-bottom: 10vw;
  }

  .center-margin-portrait2 img,
  .center-margin-portrait2 video {
    margin-left: auto;
    margin-right: auto;
    width: 80vw;
    max-width: 800px;
  }
}

@media (min-width: 700px) {
  .ninety-deg {
    width: 100%;
    height: 56.3vw;
  }

  .ninety-deg img,
  .ninety-deg video {
    width: 56.3%;
    height: 100vw;
    object-fit: cover;
    transform: rotate(90deg) translateY(-100%);
    transform-origin: top left;
  }
}

@media (min-width: 700px) {
  .ninety-deg-alt {
    width: 100%;
    height: 56.3vw;
  }

  .ninety-deg-alt img,
  .ninety-deg-alt video {
    width: 56.3%;
    height: 100vw;
    object-fit: cover;
    transform: rotate(-90deg) translateX(-100%);
    transform-origin: top left;
  }
}

@media (min-width: 1000px) {
  .two-rows {
    margin-top: 0vw;

    margin-bottom: 3vw;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1.5vw;
    row-gap: 1.5vw;
  }

  .two-rows img,
  .two-rows video {
    width: 19.35vw;
  }
}

@media (min-width: 1000px) {
  .full-width-coverfit .left-page,
  .full-width-coverfit-no-margin-special .left-page {
    translate: 0;
  }

  .full-width-coverfit .left-page img,
  .full-width-coverfit-no-margin-special .left-page img,
  .full-width-coverfit .left-page video {
    translate: 0;
  }

  .full-width-coverfit .right-page,
  .full-width-coverfit-no-margin-special .right-page {
    translate: 0;
  }

  .full-width-coverfit .right-page img,
  .full-width-coverfit-no-margin-special .right-page img,
  .full-width-coverfit .right-page video {
    translate: 0;
  }
}

@media (min-width: 1000px) {
  .full-width-responsiv {
    width: 100vw;
    margin-bottom: 3vw;
    gap: 3vw;
  }
}

@media (min-width: 1000px) {
  .full-width-responsiv img,
  .full-width-responsiv video {
    margin-left: auto;
    margin-right: auto;
    width: 60vw;
    max-width: 600px;
  }
}

@media (min-width: 700px) {
  .desktop-klein video {
    margin-left: 15vw;
    width: 70vw;
  }
}

/* FOOTER */

@media (min-width: 700px) {
  #project-text {
    padding: 26px 30px 30px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }
  #project-text ul {
    margin-top: 0;
  }
}

@media (min-width: 700px) {
  .footer-nav-middle,
  .next-case {
    width: 300px;
  }
}

@media (min-width: 700px) {
  .footer-nav-left,
  .footer-nav-right {
    width: 70px;
  }
}

@media (min-width: 1000px) {
  .footer-nav-left,
  .footer-nav-right {
    width: 300px;
  }
}

@media (min-width: 700px) {
  .footer-nav {
    width: auto;
  }
}

@media (min-width: 700px) {
  .full-width-coverfit-no-margin-special {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100% !important;
    overflow: hidden !important;
    margin-bottom: 3vw !important;
  }
  .full-width-coverfit-no-margin-special img {
    width: 100% !important;
    max-width: 100vw !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}
