/* Import a fantasy-style Google Font */
@import url('https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap');

body {
    background-color: #f4e7c5; /* Parchment-like background */
    color: #4b2e1e; /* Dark brown text */
    font-family: 'Uncial Antiqua', cursive;
    text-align: center;
    padding: 20px;
}

/* Style the main title */
h1 {
    font-size: 2.5em;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Remove extra UI elements that may be causing the white box */
input {
    display: none !important;
}

/* Fix button styling */
button {
    all: unset; /* Reset browser styles */
    background-color: #8B4513;
    color: white;
    font-size: 1.2em;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    display: inline-block;
    outline: none;
}

button:hover {
    background-color: #A0522D;
    transform: scale(1.1);
}

/* Style the rolling method dropdown */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f4e7c5;
    border: 2px solid #8B4513;
    padding: 8px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
}

/* Style the stats display box */
#statsDisplay {
    display: none; /* Hide initially */
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* Show stats only when it has content */
#statsDisplay.show {
    display: inline-block;
}

/* Style unordered list */
ul {
    list-style-type: none;
    padding: 0;
}

/* Style list items */
li {
    font-size: 1.3em;
    margin: 5px 0;
}
