body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #222;
    flex-direction: column;
}

.container {
    display: flex;
}

canvas {
    border: 1px solid white;
    margin-top: 10px; /* Przesunięcie planszy o jeden wiersz w dół */
}

.sidebar {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
}

.box {
    border: 1px solid white;
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    position: relative;
}

.box-title {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 14px;
}

#next, #hold, #level {
    display: flex;
    justify-content: center;
    align-items: center;
}

.high-scores {
    color: white;
    margin-top: 10px;
}

#startButton, #highScoresButton {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    font-size: 20px;
}

#buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    width: 300px;
}

.stat-bar {
    width: 120px;
    height: 30px;
    border: 1px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: none;
}

.level-box {
    width: 80px;
    height: 80px;
    border: 1px solid white;
    margin: 0 auto 10px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    position: relative;
}

.level-box div {
    font-size: 18px;
}

/* Styles for the results table in wyniki.php */
table {
    margin: 20px auto;
    border-collapse: collapse;
    width: 80%;
    color: white; /* Dodano kolor tekstu */
}

table, th, td {
    border: 1px solid white;
}

th, td {
    padding: 10px;
    text-align: center;
    color: white; /* Dodano kolor tekstu */
    background-color: #333; /* Dodano tło dla lepszej czytelności */
}

button {
    display: inline-block;
    margin: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}
