* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%; /* Ensure the body takes full height */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #1a1a1a; /* Dark background */
    color: #e0e0e0; /* Light text color for better readability */
    display: flex;
    flex-direction: column; /* Enable column layout for footer positioning */
}

header {
    background: #2a2a2a; /* Darker shade for the header */
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}

h1 {
    margin: 0;
    font-size: 2.5rem;
}

p {
    font-size: 1.2rem;
}

main {
    flex: 1; /* Allow main content to grow and push the footer down */
    padding: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.button-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    max-width: 800px; /* Set a maximum width for the grid */
    margin: 0 auto; /* Center the grid */
}

button {
    background-color: #333333; /* Dark button background */
    color: #ffffff; /* White text color */
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Darker shadow */
    position: relative;
}

button:hover {
    background-color: #4d4d4d; /* Lighter shade on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7); /* Darker hover shadow */
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #2a2a2a; /* Match footer with header */
    color: #ffffff;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}

.back-button-container {
    margin-top: 20px; /* Space above the back button */
    text-align: center; /* Center align the back button */
}

.back-button {
    background-color: #555555; /* Different shade for the back button */
    color: #ffffff; /* White text */
    border: none;
    padding: 10px 15px; /* Smaller padding */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    font-size: 0.9rem; /* Smaller font size */
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); /* Shadow for depth */
}

.back-button:hover {
    background-color: #777777; /* Lighter shade on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Darker hover shadow */
}

