body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
}

/* Zeit-Balken: Vergangene und verbleibende Zeit */
#time-bar {
  width: 280px;
  height: 10px;
  border-radius: 2px;
  margin: 10px 0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  position: relative; /* Notwendig für absolute Platzierung der inneren Balken */
  background-color: #d32f2f; /* Hintergrundfarbe für verbleibende Zeit */
}

#progress-past {
  position: absolute;
  height: 100%;
  background-color: #4caf50;
  border-radius: 2px 0 0 2px; /* Abrundung nur auf der linken Seite */
  z-index: 1; /* Sicherstellen, dass es über dem Hintergrund liegt */
}

#progress-remaining {
  position: absolute;
  height: 100%;
  background-color: transparent; /* Transparent, da der Hintergrund von #time-bar gilt */
  z-index: 0;
}

/* Zentrierter Container für Zeitangaben */
.time-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 5px;
}

/* Einzelne Zeitspalte */
.time-stat {
    text-align: center;
    flex: 1;
    min-width: 70px;
    position: relative; /* Für die Linie */
}

/* Zahl */
.time-value {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
}

/* Einheit */
.time-unit {
    font-size: 12px;
    font-weight: 300;
    color: #cccccc;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Container Styling */
.container {
    text-align: center;
    max-width: 600px;
    padding: 20px;
}

button {
    background: none;
    border: 2px solid #00e676;
    color: #00e676;
    font-size: 1em;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 10px;
    margin-top: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
    background-color: #00e676;
    color: #121212;
}
