:root {
    --bg-color: #000000;
    --text-color: #e1e1e1;
    --button-bg: #444444;
}

.light-mode {
    --bg-color: #e1e1e1;
    --text-color: #000000;
    --button-bg: #444444;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background 0.5s, color 0.3s;
}

main {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 900px;
    width: 80%;
}
            
.left {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;   /* Name und Link untereinander */
    justify-content: center;  /* Zentriert sie von oben nach unten */
}

.right {
    flex: 1;
    text-align: left; /* Publikationen lieber linksbündig lesen */
    display: flex;
    flex-direction: column;   /* Name und Link untereinander */
    justify-content: center;  /* Zentriert sie von oben nach unten */
}

.divider {
    width: 1px;
    background-color: var(--text-color);
    margin: 0 30px;
    align-self: stretch; /* Strich wächst automatisch mit dem Text mit */
}

.publication {
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.5;
}


.publication:last-child {
    margin-bottom: 20px;
}

h1 {
    margin: 0;
}

a, a:visited {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.quote-container {
    text-align: center;
    width: 80%;
    max-width: 900px;
    margin-top: 75px;
    opacity: 0.8;
}

#quote-text {
    font-style: italic;
}

footer {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 100%;
    text-align: center;
}

#theme-toggle {
    background: none;
    border: none;
    font: inherit;
    color: var(--text-color);
    font-size: 14px;
}

#theme-toggle:hover {
    text-decoration: underline;
}