body {
  margin: 0;
  font-family: sans-serif;
  background: url('background.png') no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
}
.navbar {
  background-color: rgba(0, 0, 0, 0.9);
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.navbar li {
  display: inline;
}

.navbar a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #ff69b4; /* zartes Rosa für Hover-Effekt */
}

.skill-tree {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: 60px; /* Platz für die Navbar */
}

.skill-node {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  color: #000;
  border: 2px solid #333;
  z-index: 2;
}

.skill-node:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.skill-node.gold { background: gold; }
.skill-node.love { background: pink; }
.skill-node.plan { background: lightblue; }
.skill-node.fun  { background: plum; }

.skill-node.unlocked {
  box-shadow: 0 0 12px 4px limegreen;
  border: 2px solid limegreen;
  transform: scale(1.2);
}

.tooltip {
  position: absolute;
  padding: 8px 12px;
  background: #fff;
  color: #000;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 999;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  max-width: 220px;
  font-size: 14px;
}