/* Reset some basic elements for better cross-browser consistency */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #000;
    line-height: 1.6;
    position: relative;
    padding-bottom: 100px; /* Space for the bottom nav */
}

header {
    background-color: #000;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 1.5em;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px 0;
}

nav ul li {
    margin: 5px 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #444;
}

main {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

section {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2, h3 {
    text-align: center;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #000;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #000;
    color: #fff;
}

tr:nth-child(even) {
    background-color: #e9e9e9;
}

/* Bottom navigation */
.bottom-nav {
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.bottom-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.bottom-nav ul li {
    margin: 0 10px;
}

.bottom-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.bottom-nav ul li a:hover {
    background-color: #444;
}

/* Make the page responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    header h1 {
        font-size: 1.2em;
    }

    main {
        padding: 10px;
    }

    section {
        padding: 15px;
    }

    .bottom-nav ul {
        flex-direction: column;
    }
}