@font-face {
  font-family: "IvoryLLWeb";
  src: url("assets/Ivory/IvoryLL-Regular.woff") format("woff");
}

* {
  font-family: "IvoryLLWeb";
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "IvoryLLWeb";
}

.line {
  height: 2px;
  background-color: black;
  border: none;
}

.mail {
  line-height: 0.7em;
}

.accordeon .active .content {
  height: auto;
  top: 100;
}

body {
  margin-top: 5px;
  margin-left: 0;
  margin-right: 0;
  -webkit-font-smoothing: antialiased;
}

.headertitel {
  text-align: center;
  font-size: 2em;
  transition: all 0.3s ease;
}

.headertitel:hover {
  color: rgb(255, 0, 115);
  cursor: ns-resize;
}

.about-style {
  position: relative;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 20px;
  background-color: rgba(255, 0, 76, 0.536);
  border-radius: 0;
  font-size: 2em;
  line-height: 1em;
}

@media (max-width: 800px) {
  .about-style {
    font-size: 17px;
    line-height: 20px;
  }
}

.test {
  position: relative;
  padding-left: 12px;
  padding-right: 13px;
  padding-top: 3px;
  padding-bottom: 5px;
  display: inline;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 0, 76, 0.536);
  border-radius: 0px;
}

.contentBx2 {
  height: 48px;
  transition: height 0.5s ease;
  position: fixed;
  bottom: 0;
  z-index: 1000;
  left: 0;
  right: 0;
}

.active2 {
  height: 95%;
}

.accordeon .contentBx {
  position: relative;
}

/* .accordeon .contentBx .content{
    position: relative;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.7, 0.3, 0.7, 0);
} */

.accordeon .active .content {
  height: auto;
  max-height: 0;
}

.content {
  margin-left: 0;
  padding-bottom: 5px;
  display: none;
}

.text-box {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto;
  padding-left: 1em;
  padding-right: 1em;
  font-size: 20px;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 0.5em;
  border-left: 2px;
  text-align: left;
  line-height: 21px;
}

.tags {
  text-align: center;
}

@media (min-width: 800px) {
  .text-box {
    font-size: 30px;
    line-height: 33px;
  }
}

.scale-box {
  position: sticky;
  display: block;
  top: 0;
  text-align: center;
  color: black;
}

.scale-box.active {
  z-index: 1000;
}

.smaller {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(-20%) scale(0.5);
  position: sticky;
  padding-top: 10px;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 0, 76, 0.536);
  top: 0;
}

@media (min-width: 1000px) {
  .smaller {
    transform: translateY(-30%) scale(0.3);
  }
}

.lable1 {
  transition: all 0.3s ease;
  padding-bottom: 0.2em;
  padding-top: 0.2em;
  margin-left: 20px;
  margin-right: 20px;
  position: sticky;
  display: block;
  /* z-index: 101; */
  font-size: 8vw;
  text-align: center;
  cursor: ns-resize;
  line-height: 1em;
  top: 0;
  z-index: 1000;
}

@media (max-width: 500px) {
  .lable1 {
    font-size: 45px;
  }
  .contentBx2 {
    font-size: 12px;
  }
}

.scale-box:hover {
  color: rgb(255, 0, 115);
}

a {
  color: rgb(255, 0, 115);
  text-decoration: none;
}

.pictures {
  display: grid;
  grid-template-columns: 50% 50%;
  margin-top: 0em;
  margin-left: 0em;
  margin-right: 0em;
  margin-bottom: 1em;
  height: auto;
  background-color: white;
}

.pictures-hochformat {
  display: grid;
  grid-template-columns: 50% 50%;
  margin-top: 0em;
  margin-left: 0em;
  margin-right: 0em;
  margin-bottom: 1em;
  background-color: white;
  height: 100auto;
}

@media (max-width: 1400px) {
  .pictures {
    grid-template-columns: 100%;
  }

  .pictures-hochformat {
    grid-template-columns: 100%;
  }
}

img {
  width: 100%;
}

ul {
  margin-left: 0.5em;
}

.untertitel-box {
  position: sticky;
  margin-right: 1em;
  top: 0;
  font-size: 2em;
}

.untertitel {
  top: 0;
}

.lable a {
  margin-left: 0.3em;
}

.gridbox {
  display: flex;
  flex-direction: column;
}

.blackbox {
  margin-top: 10px;
  margin-bottom: 10px;
}

a:hover {
  color: white;
  transition: all 0.3s cubic-bezier(0.3, 0.3, 0.7, 0.1);
}

/*card stlyes; */

.card {
  width: 90vw;
  max-width: 400px;
  height: 80vw;
  max-height: 500px;
  margin: 0rem auto;
  perspective: 1000px;
  cursor: pointer;
  position: relative; /* Ensure z-index works */
  z-index: 10; /* Higher than overlapping text */

}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  z-index: 10; /* Higher than overlapping text */
}

.card:hover .card-inner,
.card.rotate {
  transform: rotateY(180deg);
}
.card-sticky {
  position: sticky !important;
  top: 10%;
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card-front {
  background: black;
  border: 2px solid black;
  color: white;
  font-family: "IvoryLLWeb";
  font-weight: normal;
  font-size: 25rem;
}

.card-back {
  background: rgb(255, 0, 115);
  color: white(7, 0, 0);
  transform: rotateY(180deg);
  font-size: 30px;
  font-family: "IvoryLLWeb";
  font-weight: normal;
  text-align: center;
  padding: 20px; /* Adjust padding as needed */
  display: flex; /* Keep flex for centering */
  align-items: center;
  justify-content: center;
  word-wrap: break-word; /* Ensure hyphens or word wrapping works */
  hyphens: auto; /* Enable hyphenation */
}
/*flex-direction: column; */

.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8rem;
  justify-content: center;
  align-items: center;
  margin: 6rem;
  padding: 0;
  position: sticky;
  overflow: hidden;
  z-index: 10; /* Ensure hover effect works */

}

@media (max-width: 800px) {
  .card-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0;
    padding: 0;
    width: 100vw;
    box-sizing: border-box;
  }
  .card-back {
    font-size: 20px;
  }
  .card-front {
    font-size: 15rem;
  }
}

.video-container {
  position: sticky;
  top: 0;
  /*height: 100vh;*/
  overflow: hidden;
  /* z-index: 0; */
  display: flex;
  justify-content: center;
}

video {
  top: 30%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 800px) {
  .video-container {
    transform: none !important;
    width: auto !important;
    height: 100% !important;
    /* Alternativ: ausblenden */
    /* display: none; */
  }

  .video-container video {
    width: auto !important;
    height: 100% !important;
    object-fit: cover;
  }
}

.spacer {
  height: 100vh;
}

.intro-text-wrapper {
  position: relative;
  height: 400vh; /* Doppelte Höhe: ermöglicht das Hängenbleiben und Hochscrollen */
  /* z-index: 0; */
  pointer-events: none; /* Prevent blocking hover events */

}

.intro-text {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 35%;
  text-align: left;
  max-width: 100vw;
  margin: 0 auto;
  color: rgb(255, 0, 115);
  /* z-index: 0; */
  padding: 2rem;
  background: rgba(255, 255, 255, 0.107);
  border-radius: 0rem;
  transition: opacity 0.3s ease;
  z-index: 5; /* Lower than the card */
  pointer-events: none; /* Prevent blocking hover events */
}

.intro-text h1 {
  line-height: 33px;
  font-weight: normal;
  font-size: 30px;
  margin-bottom: 0rem;
}

.intro-text p {
  font-size: 30px;
  line-height: 33px;
}

@media (max-width: 800px) {
  .intro-text p {
    font-size: 20px;
    line-height: 22px;
  }
  .intro-text {
    top: 26%;
  }
}

.sticky-cards {
  position: sticky;
  overflow: hidden;

  top: 0; /* Sticks to the top of the container */
}

.background {
  background-color: black;
  margin: 0;
}

.textarea {
  /* definiert 1em (1em=15px)*/
  font-size: 30px;
  font-family: "IvoryLLWeb";
  margin: 20px;
  /*resize: none;*/
  margin: 0px;
  background-color: white;
  color: rgb(255, 0, 115);
  padding: 1em;
  border-radius: 0em;
  outline: none;
  text-align: center;
  height: 20vh;
  width: 100vw;
}

.button-content {
  /*padding: 40px;*/
  overflow: hidden;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.button {
  background-color: transparent; /* Green */
  border: none;
  color: rgb(255, 0, 115);
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 250px;
  font-family: "IvoryLLWeb";
  animation: nudge 5s linear infinite alternate;
  overflow: hidden;
}


@media screen and (max-width: 800px) {
  .button {
    font-size: 70px;
  }
}

.textarea-box {
  overflow: hidden;
}

@keyframes nudge {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(150vw, 0);
  }

  80% {
    transform: translate(-150vw, 0);
  }
}

.pictures_overlay_sticky {
  position: sticky;
  top: 0px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



@media screen and (max-width: 800px) {
  .pictures_overlay_sticky img {
    transform: none !important;
    width: 210vw !important;
    height: auto !important;
    /* Alternativ: ausblenden */
    /* display: none; */
  }
}

@media screen and (max-width: 800px) {
  .pictures_overlay_sticky {
    top: 17%; /* Reduce the sticky offset */
  }
}

.stickypicturesbox {
  height: 40px;
  position: absolute;
  background-color: black;
}

  

.contact-link {
  color: rgb(255, 0, 0); /* Example color */
  text-decoration: underline; /* Example decoration */
}