@font-face {
  font-family: 'FormaDJRText-Black-Testing';
  src: url('/FormaDJRText-Black-Testing.woff2') format('woff2'),
  url('/FormaDJRText-Black-Testing.woff') format('woff');
  font-style: normal;
  font-weight: 900;
}

@font-face {
  src: url('/FormaDJRText-Medium-Testing.woff2') format("woff2"),
  url('/FormaDJRText-Medium-Testing.woff') format("woff");
  font-family: 'FormaDJRText-Medium-Testing';
  font-style: normal;
  font-weight: 500;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.animated-heading {
  position: relative;
  font-family: 'FormaDJRText-Black-Testing', sans-serif;
  font-size: 5rem;
  color: #5500ff;
  text-align: center;
  text-shadow: 0 -1px 0 #fff;
  z-index: 2;
  opacity: 0.2;
  transform: translateY(10px);
  animation: fadeUp 1.5s ease-out forwards;
  animation-delay: 0.1s;
  margin-bottom: 0.7em;
}

.animated-heading::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: transparent;
  z-index: 1;
  font-family: inherit;
  font-size: inherit;
  text-align: inherit;
  text-shadow:
    0 0 1px #5500ff,
    0 0 3px #5500ff,
    0 0 5px #5500ff88;
  pointer-events: none;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-tag {
  position: relative;
  font-family: 'Brush Script MT', cursive;
  font-size: 2.5rem;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 5px #fff;
  z-index: 2;
  margin-top: -2.5em;
  margin-right: -6.5em;
  opacity: 0;
  transform: translateY(5px);
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 1.1s;
  mask-image: linear-gradient(to top, transparent 0%, black 30%, black 100%);
  -webkit-mask-image: -webkit-linear-gradient(to top, transparent 0%, black 30%, black 100%);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.glow-divider {
  width: 60%; /* Breite */
  margin: 5rem auto; /* zentriert und Abstand oben/unten */
  height: 1px;
  border: none;
}

.downtext {
  font-family: 'FormaDJRText-Medium-Testing', sans-serif;
  text-align: center;
  font-size: 12px;
  color: #fff;
}

@media (max-width: 871px) {
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .video-item {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    box-sizing: border-box;
  }

  .video-item iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    margin: 0;
    border-radius: 0.5rem;
    display: block;
  }

  .video-text {
    text-align: center;
    padding: 1rem;
    width: 100%;
  }

  .video-title-with-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .video-index {
    padding: 1rem;
    gap: 2rem;
    max-width: 100%;
  }

  .video-asset {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    box-sizing: border-box;
  }

  .video-asset video {
    width: 70%;
    height: auto;
    aspect-ratio: 9 / 16; /* Hochformat beibehalten */
    margin: 0;
  }

  .video-script {
    text-align: center;
    padding: 1rem;
    width: 100%;
  }

  .glow-divider {
    width: 70%; /* Breite */
    margin: 5rem auto; /* zentriert und Abstand oben/unten */
    height: 1px;
    border: none;
  }

  .profile-img {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
  }

  .animated-heading{
    font-size: 3.5rem;
    line-height: 3.4rem;
  }

  .animated-heading::after {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .animated-tag {
    font-size: 1.4rem;
    padding: 0 1rem;
    margin-right: 0;
    margin-top: -3.8rem;
    text-shadow: 0px 0px 5px #fff;
  }

  .cta {
    font-size: 0.9rem;
    padding: 0.5rem 1.1rem;
    display: inline-block;
  }

  .split {
    margin-top: 5rem !important;
    font-size: 1.5rem;
    line-height: 2.2rem;
    padding: 0 1rem;
  }

  .downtext,
  footer.downtext {
    font-size: 1rem;
    padding: 1rem;
    text-align: center;
  }

  .XLogo {
    margin: 0;
  }

  .video-item:nth-child(odd) {
    flex-direction: column !important;
  }
}

@media (min-width: 1440px) {
  .video-list {
    max-width: 1600px;
    padding: 3rem 5rem;
    gap: 5rem;
  }

  .video-item {
    gap: 2rem;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 0 16px #5500ff44;
  }

  .video-item iframe {
    max-width: 700px;
  }

  .video-text {
    font-size: 1.25rem;
    line-height: 1.6;
    padding-left: 2rem;
  }

  .video-index {
    max-width: 1200px;
    padding: 3rem 5rem;
    gap: 5rem;
  }

  .video-asset {
    flex-direction: row;
    justify-content: center;
    padding: 2rem 3rem;
    box-shadow: 0 0 20px #5500ff66;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .video-asset video {
    width: 350px;
    height: 600px;
    margin: 0 1rem;
    border-radius: 0.75rem;
  }

  .animated-heading {
    font-size: 6.5rem;
  }

  .animated-tag {
    font-size: 3.2rem;
  }

  .cta {
    font-size: 1.5rem;
    padding: 0.8rem 4rem;
    border-radius: 5rem;
  }

  .split {
    font-size: 4rem;
    line-height: 4.2rem;
    letter-spacing: 1px;
    text-shadow:
      0 0 4px #fff,
      0 0 8px #5500ff;
  }
}
