body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: linear-gradient(135deg, #2c2c2c, #8a8a8a, #2c2c2c);
    color: #fff;
}

header {
    background: linear-gradient(135deg, #2c2c2c, #8a8a8a, #2c2c2c);
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 150px; /* Höhe des Headers anpassen */
}

header .logo {
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
}

header .logo img {
    height: 80px; /* Höhe des Logos anpassen, damit es in den Header passt */
    width: auto;
}

header .formulas-left {
    position: absolute;
    top: 10px;
    left: 10px;
    text-align: left;
}

header h1 {
    margin: 0;
    line-height: 100px; /* Vertikale Ausrichtung des Textes im Header */
}

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

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

nav ul li a.active {
    font-weight: bold;
    text-decoration: underline;
}

.formulas {
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: right;
}

main {
    padding: 1rem;
    background: linear-gradient(135deg, #2c2c2c, #8a8a8a, #2c2c2c);
    margin: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 2rem;
}

footer {
    background: linear-gradient(135deg, #2c2c2c, #8a8a8a, #2c2c2c);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: 10px;
    overflow: auto;
}

code {
    color: #00ff00;
}

@media (max-width: 600px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 60%;
    max-width: 600px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}