h1 {
    text-align: center;
}

body {
    background-color: #ffffff;
    color: #000000;
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

#theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ccc;
}

#math-content {
    white-space: pre-wrap; 
    font-family: monospace;
    margin-left: 50px;
    margin-top: 25px;
}