/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #1a1a1a; /* Dark background color */
    color: #ccc; /* Light text color */
    padding: 20px;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
    position: relative; /* Required for positioning the dropdown menu */
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    display: block;
}

/* Dropdown styles */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #555; /* Darker background color */
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1;
    width: 160px; /* Adjust width as needed */
    border-radius: 5px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
    width: 100%;
    text-align: left;
}

.dropdown-menu li a {
    padding: 10px;
    display: block;
    color: #fff;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background-color: #777; /* Darker hover color */
}

main {
    background-color: #2d2d2d; /* Darker background color */
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
    color: #ccc; /* Light text color */
}

section {
    margin-bottom: 30px;
}

section h1 {
    font-size: 40px;
    font-weight: 800;
    color: #fff; /* White text color */
}

section h2 {
    font-size: 20px;
    font-weight: 800;
    color: #fff; /* White text color */
}

footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: #333;
    color: #fff;
}

/* Code snippet styling */
.code-container {
    margin-top: 20px;
}

.code-object {
    width: 100%;
    border: 1px solid #ccc;
    background-color: #333; /* Darker background color */

    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    height: 200px; /* Optional: Limit height and add overflow */
    overflow: auto; /* Optional: Add scrollbars if content exceeds height */
    font-size: 10px;
}

.lib-object {
    width: 100%;
    border: 1px solid #ccc;
    background-color: #333; /* Darker background color */
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    height: 200px; /* Optional: Limit height and add overflow */
    overflow: hidden; /* Optional: Add scrollbars if content exceeds height */
    font-size: 10px;
}

/* Table styling */
.table-section {
    margin-top: 20px;
    background-color: #2d2d2d; /* Darker background color */
    border-radius: 5px;
    color: #ccc; /* Light text color */
    overflow-x: auto;
}

/* Function box styling */
.function-box {
    border: 1px solid #fff; /* White border */
    background-color: #333; /* Darker background color */
    color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden; /* Ensure content doesn't overflow */
    display: flex;
    flex-direction: column; /* Stack items vertically */
}

.function-name {
    font-weight: bold;
    padding-bottom: 5px; /* Space between name and line */
    border-bottom: 1px solid #fff; /* White line */
}

.function-description {
    padding-top: 10px; /* Space between line and description */
    flex: 1;
    color: #ccc; /* Light text color for description */
}
