body {
    margin-top: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-image: url('pokertablebackground.jpg');
}

.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dice-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.dice {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s;
    display: inline-block;
    margin: 10px;
    align-items: flex-start;
}

.available-numbers-container {
    margin-bottom: 5%;
}

.available-numbers-button {
    width: 80px;
    height: 80px;
    background: white;
    border: 1px solid black;
    text-align: center;
    font-size: 3em;
}


.dice .side {
    position: absolute;
    width: 100px;
    height: 100px;
    background: white;
    border: 1px solid black;
    line-height: 100px;
    text-align: center;
    font-size: 3em;
}

.roll-button {
    margin-top: 20px;
    width: 150px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 8px;
    border: 0;
}

.roll-button:hover {
    background-color: #04AA6D;
    color: white;
}

.reset-button{
    margin-top: 30px;
    width: 150px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 8px;
    border: 0;
}

.reset-button:hover {
    background-color: #f44336;
    color: white;
}

.modal {
    top: 0;
    left: 25%;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 50%;
    background-color: whitesmoke;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.jackpot{
    color: green;
    font-size: 3em;
}

.dice .front  { transform: rotateY(0deg) translateZ(50px); }
.dice .back   { transform: rotateY(180deg) translateZ(50px); }
.dice .right  { transform: rotateY(90deg) translateZ(50px); }
.dice .left   { transform: rotateY(-90deg) translateZ(50px); }
.dice .top    { transform: rotateX(90deg) translateZ(50px); }
.dice .bottom { transform: rotateX(-90deg) translateZ(50px); }
