/* General Styles */
html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Roboto', sans-serif; /* Google Fonts: Roboto */
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa; /* Light gray background */
}

.container {
    flex: 1;
}

/* Header Styles */
header {
    background-color: #212529; /* Dark background for header */
    color: #ffffff;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #ffc107; /* Highlight color on hover */
}

/* Main Content Styles */
main {
    padding: 20px;
    max-width: 900px;
    margin: 20px auto;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Card-like shadow */
    border-radius: 8px;
}

main h2 {
    color: #212529;
    font-size: 1.5rem;
    border-bottom: 2px solid #ffc107; /* Yellow underline */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

main p {
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Footer Styles */
footer {
    background-color: #212529;
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
}

/* Special Styles */
#dice-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.dice-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.dice-button img {
    width: 50px;
    height: 50px;
}

.dice-button span {
    margin-top: 5px;
    font-size: 14px;
    color: #333;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
}

.dice-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.history-entry {
    margin-top: 10px;
}

.history-entry p {
    text-align: center;
    font-size: 14px;
    margin: 10px 0 0 0;
}