html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #000;
  font-family: sans-serif;
  scrollbar-width: none; /* Firefox Scrollbar ausblenden */
}

body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge Scrollbar ausblenden */
}

/* Seite zentriert */
.page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, #111 0%, #000 70%);
}

/* Video Card */
.video-card {
  width: min(900px, 90vw);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  position: relative;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Video */
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lichtschalter */
.switch {
  margin-top: 20px;
  width: 90px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  position: relative;
  transition: background 0.3s ease;
}

/* Knopf */
.switch .knob {
  width: 35px;
  height: 35px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Labels */
.switch .label {
  position: absolute;
  font-size: 11px;
  font-weight: bold;
  color: rgba(255,255,255,0.6);
  pointer-events: none;
}

.switch .label.on {
  left: 12px;
}

.switch .label.off {
  right: 12px;
}

/* ON Zustand */
.switch.active {
  background: rgba(0,255,120,0.25);
  border-color: rgba(0,255,120,0.5);
}

.switch.active .knob {
  transform: translateX(50px);
}
/* Power Button (Uiverse.io) */
.container {
  width: 7em;
  height: 7em;
  position: relative;
  margin-top: 25px;
}

/* Responsive Landscape Modus */
@media (orientation: landscape) and (max-height: 600px) {
  .page {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100vh;
    gap: 2vw;
  }
  .video-card {
    width: min(70vw, 900px);
    height: 60vh;
    aspect-ratio: 16 / 9;
    max-height: 90vh;
  }
  .container {
    margin-top: 0;
    align-self: center;
  }
}

.button {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #090909;
  background-color: transparent;
  background-image: linear-gradient(145deg, #171717, #444245);
  box-sizing: border-box;
  box-shadow: inset 2px 2px 0 #7d7c7e, inset -2px -2px 0px #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.container input {
  display: none;
}

.button::before {
  position: absolute;
  content: "";
  width: 7.25em;
  height: 7.25em;
  border-radius: inherit;
  background-color: transparent;
  background-image: linear-gradient(145deg, #262626, #606060);
  z-index: -1;
  box-shadow: 11px 11px 22px #141414, -11px -11px 22px #525252;
}

.button .icon {
  width: 60px;
  height: 60px;
  display: inline-block;
}

.button .icon svg {
  height: 100%;
  width: 100%;
  fill: #a5a5a5;
}

.container input:checked + .button {
  box-shadow: inset -2px -2px 0 #5e5e5e, inset 2px 2px 0 #1c1c1c;
  border: 4px solid rgb(0, 215, 0);
  animation: animeBorder 0.3s linear alternate-reverse infinite;
}

.container input:checked + .button .icon svg {
  fill: rgb(0, 215, 0);
  animation: animeFill 0.3s linear alternate-reverse infinite;
}

@keyframes animeFill {
  to {
    fill: rgba(0, 194, 0, 0.954);
  }
}

@keyframes animeBorder {
  to {
    border-color: rgba(0, 175, 0, 0.878);
  }
}
