.language-card {
  width: 22vw;
  /* border: 1px solid black; */
  padding: 1rem;
}
.language-card-number {
  background-color: var(--main-bg-color);
  color: var(--text-white-color);
  width: 4vh;
  height: 4vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.language-test-content {
  height: auto;
  padding: 14vh 0vw 0vh 0vw;
}
.language-test-video {
  width: 100%;
  border-radius: 20px;
}
.language-test-video::-webkit-media-controls-timeline {
  background-color: #555;
}
.language-card-number-fake {
  /* background-color: var(--main-bg-color);
    color: var(--text-white-color); */
  width: 5.9vh;
  height: 5.9vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.video-wrapper {
  position: relative;
  width: 100%;
  margin: auto;
  background: black;
  overflow: hidden;
  border-radius: 12px;
}

/* 🎥 VIDEO */
video {
  width: 100%;
  display: block;
}

/* 🧾 CUSTOM CAPTIONS */
#customCaptions {
  position: absolute;

  /* 👉 HIER steuerst du die Position */
  bottom: 100px;
  padding: 8px 16px;
  width: auto;
  height: auto;
  text-align: center;
  display: inline-block;
  background: rgba(0, 0, 0, 0.7);
  font-size: var(--font-video);
  color: var(--text-white-color);
  font-family: var(--montserat-bold);
  text-shadow: 0 2px 10px black;
  pointer-events: none;
  line-height: 1.4;
  white-space: pre-line;
  border-radius: 8px;
}
#customCaptions:empty {
  display: none;
}

/* 🎛 CONTROLS */
.controls {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  gap: 8px;
  padding: 10px;
  background: var(--text-black-color);
}

button,
select {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
}
#seekBar {
  width: 100%;
  cursor: pointer;
  appearance: none;
  background: transparent;
}

/* =========================
   🎯 TRACK (Hintergrundlinie)
========================= */
#seekBar::-webkit-slider-runnable-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

#seekBar::-moz-range-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

/* =========================
   🔥 PROGRESS (gefüllter Teil - Firefox)
========================= */
#seekBar::-moz-range-progress {
  background: var(--main-bg-color);
  height: 5px;
  border-radius: 3px;
}

/* =========================
   🎯 THUMB (der Kreis)
========================= */
#seekBar::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background: var(--main-bg-color);
  border-radius: 50%;
  margin-top: -4px;
  cursor: pointer;
}

#seekBar::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--main-bg-color);
  border-radius: 50%;
  cursor: pointer;
}

/* Standard Button */
#captionsBtn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
/* 🔧 Grundelement */
#volume {
  width: 15%;
  cursor: pointer;
  appearance: none;
  background: transparent;
}

/* =========================
   🎯 TRACK (Hintergrundlinie)
========================= */
#volume::-webkit-slider-runnable-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

#volume::-moz-range-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

/* =========================
   🔥 PROGRESS (gefüllter Teil - Firefox)
========================= */
#volume::-moz-range-progress {
  background: var(--main-bg-color);
  height: 5px;
  border-radius: 3px;
}

/* =========================
   🎯 THUMB (der Kreis)
========================= */
#volume::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background: var(--main-bg-color);
  border-radius: 50%;
  margin-top: -4px;
  cursor: pointer;
}

#volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--main-bg-color);
  border-radius: 50%;
  cursor: pointer;
}
/* Hover */
#captionsBtn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* 🔥 AKTIV (wie YouTube) */
#captionsBtn.active {
  color: var(--main-bg-color);
}
@media (max-width: 1399.98px) {
  .language-card-number {
    background-color: var(--main-bg-color);
    color: var(--text-white-color);
    width: 5.2vh;
    height: 5.2vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .language-card {
    width: 100%;
  }
}

/* Hochformat für iPad Pro 12.9 */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
}

/* Hochformat für iPad Pro 11 Zoll */
@media only screen and (min-width: 834px) and (max-width: 1194px) and (orientation: portrait) {
}

/* Querformat für iPad Pro 11 Zoll */
@media only screen and (min-height: 832px) and (max-width: 1194.98px) and (orientation: landscape) {
}

@media (max-width: 1199.98px) {
  .language-card-number {
    background-color: var(--main-bg-color);
    color: var(--text-white-color);
    width: 6vh;
    height: 6vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .language-card {
    width: 90%;
  }
}

@media (max-width: 991.98px) {
  .language-test-content {
    height: auto;
    padding: 3vh 0vw 7vh 0vw;
  }
  .language-card-number {
    background-color: var(--main-bg-color);
    color: var(--text-white-color);
    width: 7vh;
    height: 7vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .language-card-number-fake {
    /* background-color: var(--main-bg-color);
    color: var(--text-white-color); */
    width: 5.9vh;
    height: 5.9vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (max-width: 767.98px) {
  #customCaptions {
    position: absolute;

    /* 👉 HIER steuerst du die Position */
    bottom: 70px;
    padding: 8px 16px;
    width: auto;
    text-align: center;
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    font-size: var(--font-video);
    color: var(--text-white-color);
    font-family: var(--montserat-bold);
    text-shadow: 0 2px 10px black;
    pointer-events: none;
    line-height: 1.4;
    white-space: pre-line;
  }
  .language-card-number {
    background-color: var(--main-bg-color);
    color: var(--text-white-color);
    width: 7vh;
    height: 7vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .language-test-content {
    height: auto;
    padding: 5vh 0vw 8vh 0vw;
  }
}
/* // `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {


  video {
    width: auto;
    display: block;
    height: 90vh;
  }
  .language-card-number {
    background-color: var(--main-bg-color);
    color: var(--text-white-color);
    width: 3.9vh;
    height: 3.9vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .language-card-number-fake {
    /* background-color: var(--main-bg-color);
    color: var(--text-white-color); */
    width: 3.9vh;
    height: 5.9vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .language-card {
    width: 80vw;
  }
}
