/* ---- Basis-Reset ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  cursor: none;
}

/* ---- Video-Container ---- */
.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: white;
}

video {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  transform-origin: center center;
}

.exit {
  animation: exitAnimation 0.5s ease-in-out forwards;
}

@keyframes exitAnimation {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.cursor-text {
  position: absolute;
  font-size: 24px;
  color: white;
  mix-blend-mode: difference;
  text-transform: uppercase;
  letter-spacing: 2px;
  pointer-events: none;
  z-index: 3;
  will-change: transform;
}

@media (hover: none) and (pointer: coarse) {
  .cursor-text {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  video {
    width: auto;
    height: 100vh;
    max-width: 100%;
  }
}

.lang-button {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 16px;
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid black;
  border-radius: 4px;
  z-index: 10;
  transition: all 0.3s ease;
}

.lang-button:hover {
  background-color: black;
  color: white;
}

/* Kontextmenü unterbinden */
body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
