*{
    margin: 0;
    padding: 0;
}
html{
    height: 100%;
}

body{
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: flex-start; /* Vertical centering */
    height: 100%; /* or any other height */
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    background-color: hsla(0, 1%, 68%, 0.329);
}

#rollerContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    min-height: 100%;
    background-color: hsla(180, 100%, 94%, 0.596);
    box-shadow: 0px 0px 100px rgba(136, 134, 134, 0.267);
}

h1 {
    margin-bottom: 10px;
    margin-top: 100px;
}

label {
    margin-bottom: 10px;
    margin-top: 20px;
}

input {
    text-align: center;
    width: 150px;
    height: 30px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

#inputWarning{
    color: red;
    margin-bottom: 10px;
    font-weight: bold;
}

button {
    width: 150px;
    padding: 10px 15px;
    border: none;
    border-radius: 50px;
    font-size: 1.5rem;
    color: white;
    background-color: hsl(0, 87%, 56%);
    box-shadow: 3px 3px 10px rgba(70, 68, 68, 0.459);
}

button:active {
    box-shadow: none;
    background-color: hsl(0, 83%, 44%);
}

#diceList {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 60%;
    margin-top: 50px;
    margin-bottom: auto;
}

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

img {
    width: 50px;
    border-radius: 15px;
    box-shadow: 3px 3px 10px rgba(70, 68, 68, 0.459);
    animation: fade 0.5s linear;
    margin: 0px 7px;
    margin-top: 10px;
}

@media screen and (max-width: 500px)  {
    #rollerContainer {
        width: 100%;
    }

    #diceList {
        width: 90%;
    }
}