:root {
  --farbe-dunkel: #1f2a44;
  --farbe-akzent: #2e75b6;
  --farbe-weiss: #ffffff;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.wahl {
  display: flex;
  height: 100vh;
}

.spalte {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: flex 0.4s ease;
}

.spalte-cv {
  background: var(--farbe-dunkel);
}

.spalte-liste {
  background: var(--farbe-akzent);
}

.haelfte {
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-decoration: none;
  color: var(--farbe-weiss);
  transition: transform 0.4s ease, filter 0.3s ease;
}

.ball {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  transform-origin: bottom center;
  animation: huepfen 2s infinite;
}

.ball-cv {
  background: radial-gradient(circle at 35% 30%, #6ba3d8, var(--farbe-akzent) 60%, #235a8c);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}

.ball-liste {
  background: radial-gradient(circle at 35% 30%, #3a5578, var(--farbe-dunkel) 65%, #131b2e);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}

.spalte-liste .ball {
  animation-delay: 1s;
}

@keyframes huepfen {
  0% {
    transform: translateY(0) scale(1.35, 0.65);
    animation-timing-function: ease-out;
  }

  6% {
    transform: translateY(-25px) scale(0.82, 1.18);
    animation-timing-function: ease-out;
  }

  14% {
    transform: translateY(-55px) scale(0.88, 1.12);
    animation-timing-function: ease-out;
  }

  22% {
    transform: translateY(-82px) scale(0.93, 1.07);
    animation-timing-function: ease-out;
  }

  30% {
    transform: translateY(-103px) scale(0.98, 1.02);
    animation-timing-function: ease-out;
  }

  40% {
    transform: translateY(-115px) scale(1, 1);
    animation-timing-function: ease-in;
  }

  50% {
    transform: translateY(-103px) scale(0.98, 1.02);
    animation-timing-function: ease-in;
  }

  58% {
    transform: translateY(-82px) scale(0.93, 1.07);
    animation-timing-function: ease-in;
  }

  66% {
    transform: translateY(-55px) scale(0.88, 1.12);
    animation-timing-function: ease-in;
  }

  74% {
    transform: translateY(-28px) scale(0.82, 1.18);
    animation-timing-function: ease-in;
  }

  82% {
    transform: translateY(-8px) scale(0.74, 1.26);
    animation-timing-function: ease-in;
  }

  88% {
    transform: translateY(0) scale(0.9, 1.1);
    animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1);
  }

  100% {
    transform: translateY(0) scale(1.35, 0.65);
    animation-timing-function: ease-out;
  }
}

.wahl-titel {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 1px;
}

.haelfte:hover {
  filter: brightness(1.1);
}

.spalte:has(.haelfte:hover) {
  flex: 1.3;
}

.wahl:has(.haelfte:hover) .spalte:not(:has(.haelfte:hover)) {
  flex: 0.7;
}

.augen {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 10;
  pointer-events: none;
}

.auge {
  width: 60px;
  height: 60px;
  background: var(--farbe-weiss);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.pupille {
  width: 24px;
  height: 24px;
  background: var(--farbe-dunkel);
  border-radius: 50%;
  transition: transform 0.1s ease-out;
}