body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 20px;
}

.dice-3d {
    transform: perspective(100px) rotateX(20deg) rotateY(20deg);
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.dice-animation {
    animation: slowRotate 2s linear;
}

.active-player {
    background-color: #d0f0d0;
}

#players {
    margin: 20px 0;
}

.player {
    margin: 10px 0;
}

.result-box {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px 0;
    background-color: #f9f9f9;
    text-align: left;
}

.player-name-header {
    font-weight: bold;
    margin-bottom: 5px;
}

.dice-container {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.sum {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}
