
/*
Theme Name: Algotopia
Theme URI: https://algotopia.org
Author: Marcel Blumberg
Description: Puristisches Zen-Design für Algotopia mit Pinselstrich-Header und Sidebar
Version: 4.0
*/

/* Grundlayout */
body {
    background-image: url('https://algotopia.org/wp-content/uploads/2025/11/Hintergrund.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    font-family: 'Merriweather', serif;
    color: #000;
}

/* Header mit horizontalem Pinselstrich */
.site-header {
    text-align: center;
    position: relative;
    padding: 60px 0 20px;
    font-family: 'Merriweather', serif;
    color: #000;
}
.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: url(https://algotopia.org/wp-content/uploads/2025/12/horizontal_line.svg) center/cover no-repeat;
}

/* Layout */
.layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar mit vertikalem Pinselstrich */
.sidebar {
    width: 250px;
    background: rgba(255, 255, 255, 0);
    border-right: 40px solid transparent;
    border-image: url(https://algotopia.org/wp-content/uploads/2025/12/Vertikal_line.svg) 30 stretch;
    padding: 20px;
    font-family: 'Merriweather', serif;
    color: #000;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1000;
}
.sidebar.open {
    transform: translateX(0);
}
.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar nav ul li {
    margin-bottom: 10px;
}
.sidebar a {
    color: #000;
    text-decoration: none;
}
.sidebar a:hover {
    text-decoration: underline;
}

/* Toggle-Button */
.toggle-sidebar {
    position: fixed;
    top: 10px;
    left: 10px;
    background: #00796b;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 1100;
}

/* Content */
.content {
    flex: 1;
    max-width: 700px;
    margin: auto;
    padding: 30px;
}

h1, h2, h3 {
    font-family: 'Merriweather', serif;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .content {
        max-width: 100%;
        margin: 0;
        padding: 20px;
    }
}
