body {
  font-family: "Comic Sans MS", sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #74ebd5, #acb6e5);
}

.main-layout {
  display: flex;
  height: 100vh;
}

/* --- Linkes Menü --- */
.sidebar {
  background: #2F6FED;
  color: white;
  width: 220px;
  padding: 20px;
  text-align: center;
}

.sidebar h2 {
  margin-bottom: 20px;
}

.sidebar button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  font-size: 18px;
  border: none;
  border-radius: 10px;
  background: white;
  color: #2F6FED;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

.sidebar button:hover {
  background: #e0e0e0;
}

/* --- Rechter Bereich --- */
.content {
  flex: 1;
  padding: 40px;
  text-align: center;
}

/* --- Schwierigkeitsrad --- */
.wheel-container {
  position: relative;
  margin: 60px auto;
  width: 300px;
  height: 300px;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid #2F6FED;
  position: relative;
  overflow: hidden;
  transition: transform 3s ease-out;
}

.segment {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 50%;
  left: 50%;
  transform-origin: 0% 0%;
  text-align: center;
  line-height: 150px;
  color: white;
  font-weight: bold;
  font-size: 20px;
}

.segment.leicht {
  background: #4CAF50;
  transform: rotate(0deg) skewY(-30deg);
}
.segment.mittel {
  background: #FFC107;
  transform: rotate(120deg) skewY(-30deg);
}
.segment.schwer {
  background: #F44336;
  transform: rotate(240deg) skewY(-30deg);
}

#wheel::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  border: 3px solid #2F6FED;
}

#spinButton {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 18px;
  border: none;
  border-radius: 10px;
  background: #2F6FED;
  color: white;
  cursor: pointer;
}

#spinButton:hover {
  background: #1d4bcc;
}

.hidden {
  display: none;
}
