/* Basis-Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem;
    text-align: center;
}

header h1 {
    margin-bottom: 0.5rem;
}

/* Grid Layout für Main Container */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    min-height: 70vh;
}

.aufgaben {
    background-color: #fff3cd;
    padding: 1.5rem;
    border: 2px solid #856404;
}

.aufgaben h2 {
    margin-bottom: 1.5rem;
    color: #856404;
}

.aufgabe {
    background-color: white;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #856404;
}

.aufgabe h3 {
    margin-bottom: 0.5rem;
    color: #856404;
}

.aufgabe ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.aufgabe code {
    background-color: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

/* Testbereich */
.testbereich {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    grid-template-rows: auto;
}

.testbereich>h2 {
    grid-column: 1 / -1;
}

/* Flexbox für Navigation */
.nav-menu {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: #ecf0f1;
    grid-column: 1 / -1;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid #bdc3c7;
}

/* Button Bereich */
.button-bereich {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 1rem;
}

button {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    background-color: #95a5a6;
    color: white;
    border: 1px solid #7f8c8d;
    border-radius: 3px;
}

/* Highlight Box */
#highlight-box {
    background-color: #d1ecf1;
    border: 2px solid #0c5460;
    padding: 1rem;
}

/* Footer */
footer {
    background-color: #34495e;
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}