body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
}

nav {
    background-color: #333;
    color: #fff;
    padding: 10px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav ul li {
    float: left;
    margin-right: 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    display: block;
}

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

.container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
}

.code-comparison {
    display: flex;
    justify-content: space-around;
}

.code-block {
    width: 30%;
}

pre[class*=language-], code[class*=language-] {
    color: #ccc;
    background: #2d2d2d;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 1em;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.5;
    tab-size: 4;
    hyphens: none;
}

pre[class*=language-] {
    padding: 1em;
    margin: .5em 0;
    overflow: auto;
    background: #2d2d2d;
}

.function-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.function-item {
    margin: 10px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.function-item a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.function-item a:hover {
    text-decoration: underline;
}

.navigation {
    text-align: center;
    margin-top: 20px;
}

.navigation a {
    margin: 0 10px;
    text-decoration: none;
    color: #007bff;
}

.navigation a:hover {
    text-decoration: underline;
}
