/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.game-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.stack {
    width: 100px;
    height: 220px; /* Höhe für 10 Steine plus etwas Platz */
    border: 2px solid #333;
    border-radius: 5px;
    background-color: #fff;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto; /* Scrollbar hinzufügen, falls nötig */
}

.token {
    width: 90px;
    height: 20px; /* Feste Höhe für die Steine */
    margin: 2px 0;
    border-radius: 3px;
    cursor: grab;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.token:active {
    cursor: grabbing;
}

.controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

#undo-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#undo-button:hover {
    background-color: #0056b3;
}

#move-counter {
    font-size: 18px;
    color: #333;
}

.highscores {
    margin-top: 20px;
}

.highscores h2 {
    font-size: 24px;
    color: #333;
}

.highscores ul {
    list-style-type: none;
    padding: 0;
}

.highscores li {
    font-size: 18px;
    color: #333;
    margin: 5px 0;
}
