/* Global Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #0f0f0f;
    color: #f4f4f4;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
a {
    color: #4caf50;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: center;
    background-color: #1c1c1c;
    border-bottom: 2px solid #4caf50;
    padding: 10px 0px;
}
nav a {
    color: #f4f4f4;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}
nav a:hover {
    background-color: #4caf50;
    color: #0f0f0f;
}
nav a.active {
    background-color: #4caf50;
    color: #0f0f0f;
}

/* Header */
header {
    padding: 20px;
    text-align: center;
    background-color: #1c1c1c;
    border-bottom: 2px solid #4caf50;
}
header h1 {
    font-size: 2.5em;
    margin: 0;
}
header p {
    font-size: 1.2em;
    margin: 5px 0;
    color: #a6a6a6;
}

/* Sections */
section {
    margin: 20px auto;
    max-width: 800px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
}
h2 {
    font-size: 1.8em;
    margin: 0 0 10px 0;
    color: #4caf50;
}
ul {
    list-style: none;
    padding: 0;
}
ul li {
    padding: 10px;
    background: #222;
    margin-bottom: 8px;
    border-radius: 5px;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
table th, table td {
    padding: 12px 15px;
    text-align: left;
}
table th {
    background-color: #333;
    color: #f4f4f4;
}
table td {
    background-color: #222;
}
table tr:nth-child(even) td {
    background-color: #2a2a2a;
}
table td {
    color: #dcdcdc;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px 10px;
    font-size: 0.9em;
    color: #a6a6a6;
    background-color: #1c1c1c;
    border-top: 2px solid #4caf50;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #4caf50;
    color: #0f0f0f;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: none; /* Initially hidden */
    transition: opacity 0.3s ease;
}
#back-to-top:hover {
    background-color: #45a049;
}
