body {
    font-family: Arial, sans-serif;
    background-color: #e0f7e0;
   ;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    text-align: center;
    background-color: #a8d5a8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dice {
    width: 300px; /* 3倍の大きさに設定 */
    height: 300px; /* 3倍の大きさに設定 */
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(0deg) rotateY(0deg);
    transition: transform 1s;
    auto; /* 真ん中に配置 */
}

.face {
    position: absolute;
    width: 300px; /* 3倍の大きさに設定 */
    height: 300px; /* 3倍の大きさに設定 */
    background-color: #fff;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px; /* フォントサイズも大きく */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

#face1 { transform: rotateY(0deg) translateZ(150px); }
#face2 { transform: rotateY(90deg) translateZ(150px); }
#face3 { transform: rotateY(180deg) translateZ(150px); }
#face4 { transform: rotateY(-90deg) translateZ(150px); }
#face5 { transform: rotateX(90deg) translateZ(150px); }
#face6 { transform: rotateX(-90deg) translateZ(150px); }

button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #45a049;
}

.input-form {
    margin-top: 20px;
}

input, select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}