body {
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, color 0.3s;
}

h1,
h2,
h3 {
    color: #007bff;
}

code {
    background-color: #e8e8e8;
    padding: 2px 4px;
    border-radius: 4px;
}

pre {
    background-color: #e8e8e8;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
}

.equation {
    background-color: #e8e8e8;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    margin: 10px 0;
}

/* Dark mode styles */
.dark-mode {
    background-color: #181818;
    color: #ffffff;
}

.dark-mode .container {
    background: #282828;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3 {
    color: #1e90ff;
}

.dark-mode pre,
.dark-mode .equation,
.dark-mode code {
    background-color: #333;
}

#themeToggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

#themeToggleIcon {
    width: 24px;
    height: 24px;
}

.chart {
    width: 100%;
    height: 300px;
    margin: 20px 0;
    background-color: #e8e8e8;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dark-mode .chart {
    background-color: #333;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

.dark-mode th {
    background-color: #444;
}

.dark-mode th,
.dark-mode td {
    border-color: #555;
}

.graph-container {
    width: 100%;
    height: auto;
    /* margin: 20px 0; */
    /* overflow: auto; */
}