/* Grundreset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body + Hintergrund */
body {
    font-family: 'Delius', cursive;

    /* Hintergrundbild */
    background-image: url('bg.png');
    background-repeat: repeat-x; /* horizontal wiederholen */
    background-size: auto 100vh; /* H”he immer Bildschirmh”he */
    background-attachment: fixed; /* fixiert */
	overflow: hidden;
    height: 100vh;
}

/* Zentrierung */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: 100vh;
}

/* Logo */
.logo {
    width: 500px;
    height: 500px;
    object-fit: contain;
    margin-bottom: 30px;
}

/* Button Container */
.buttons {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn {
    text-decoration: none;
    padding: 12px 25px;
    font-size: 20px;

    border-radius: 25px;

    /* Farblich passend (Pastell) */
    background: linear-gradient(135deg, #ffb6d9, #b6d8ff);
    color: #ffffff;

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);

    transition: all 0.2s ease;
}

/* Hover Effekt */
.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Klick Effekt */
.btn:active {
    transform: scale(0.98);
}

/* Layout Container */
.main-layout {
    display: flex;

    position: absolute;
    top: 80px;   /* Header Höhe */
    bottom: 60px; /* Footer Höhe */
    left: 0;
    right: 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;

    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Linkes Menü */
.nav-left {
    display: flex;
    gap: 20px;
}

.nav-left a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

/* Logo mittig (wichtig!) */
.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-logo img {
    height: 60px;
}

/* Rechter Bereich */
.nav-right {
    display: flex;
    align-items: center;
}

/* Logout Button */
.logout-btn {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;

    background: linear-gradient(135deg, #ffb6d9, #b6d8ff);
    color: white;

    font-size: 16px;
    transition: 0.2s;
}

.logout-btn:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    height: 60px;

    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Panels */
.panel {
    width: 20%;
    padding: 20px;

    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(5px);

    overflow: hidden; /* ? kein Scroll */
}

/* Content */
.content {
    width: 60%;
    padding: 20px;

    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(5px);

    overflow-y: auto; /* ? nur hier scrollen */
}

.left-panel {
    border-right: 1px solid rgba(0,0,0,0.05);
}

.right-panel {
    border-left: 1px solid rgba(0,0,0,0.05);
}

.content::-webkit-scrollbar {
    width: 8px;
}

.content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

p:not(:last-child) {
    margin-bottom: 10px;
}

.content-box {
    padding: 10px;
}

.category {
    margin-top: 20px;
}

.category-header {
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}

.category-content {
    display: none;
    margin-top: 10px;
}

.item-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.item-card {
    width: 100px;
    text-align: center;
}

.item-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.delete-btn {
    font-size: 12px;
    color: red;
    text-decoration: none;
}

.subcategory {
    margin-top: 10px;
    padding-left: 15px;
}

.subcategory-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.level-box {
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 15px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 5px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #ffb6d9, #b6d8ff);
}

.task-stats {
    margin-top: 30px;
}

.pie {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 10px auto;
}