body {
    text-align: center;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

h1 {
    font-size: 40px;
    color: hsl(240, 66%, 46%);
}

label {
    font-size: 20px;
    font-weight: bold;
}

input {
    text-align: center;
    padding: 10px;
    font-size: 15px;
    width: 100px;
    border-radius: 10px;
    border: 1px solid hsl(217, 87%, 42%);
    font-weight: bold;
    box-shadow: 0.5px 0.5px 2px hsl(212, 87%, 36%);
}

input:focus {
    outline: none;
}

button {
    padding: 10px;
    margin-left: 5px;
    width: 70px;
    border: none;
    background-color: hsl(212, 77%, 50%);
    color: white;
    border-radius: 10px;
    font-weight: bold;
}

button:hover {
    background-color: hsl(218, 93%, 48%);
}

#diceResult {
    margin-top: 18px;
    font-size: 20px;
}

#diceImage img {
    width: 60px;
    height: 60px;
    margin: 5px;
    border-radius: 50%;
    box-shadow: 1px 1px 5px hsl(203, 90%, 42%);
}

#diceImage {
    background-color: hsl(84, 91%, 37%);
    min-width: 200px;
    min-height: 100px;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

.board_container {
    display: flex;
    justify-content: center;
    padding: 10px;
}
.board img{
    border-radius: 20px;
}

/* 📱 Responsive for small screens (phones) */
@media (max-width: 600px) {
    h1 {
        font-size: 28px;
    }

    label {
        font-size: 16px;
    }

    input {
        width: 80%;
        font-size: 14px;
        margin-bottom: 10px;
    }

    button {
        width: 80%;
        margin: 10px 0;
    }

    #diceImage {
        width: 90%;
        height: auto;
        padding: 15px;
    }

    #diceImage img {
        width: 45px;
        height: 45px;
    }

    .board_container {
        flex-direction: column;
        align-items: center;
    }
    .board img{
        width: 300px;
    }
}
