@font-face {
    font-family: 'San Francisco';
    src: url('https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'San Francisco', -apple-system, BlinkMacSystemFont, sans-serif;
    background: none;
}

body {
    display: flex;
    background: #191A1B;
    min-height: 100vh;
    overflow-x: hidden;
}

.sidebar {
    width: 260px;
    height: 100vh;
    background: #191A1B;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    position: fixed;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.nav-item {
    margin-bottom: 10px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: #3f3f3f;
    transform: translateX(5px);
}

.folder {
    cursor: pointer;
    user-select: none;
}

.folder-icon {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
    margin-right: 10px;
}

.folder.active .folder-icon {
    transform: rotate(90deg);
}

.sub-items {
    margin-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    opacity: 0;
}

.folder.active + .sub-items {
    max-height: 200px;
    opacity: 1;
}

.main-content {
    margin-left: 260px;
    width: calc(100% - 260px);
    min-height: 100vh;
    padding: 0;
}

.hero-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-link {
    animation: slideIn 0.3s ease-out;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(25, 26, 27, 0.95);
}

::-webkit-scrollbar-thumb {
    background: #4a9eff;
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #357abd;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #4a9eff rgba(25, 26, 27, 0.95);
}

/* Spezifische Scrollbar für die Sidebar */
.sidebar {
    scrollbar-width: thin;
    scrollbar-color: #4a9eff rgba(25, 26, 27, 0.95);
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(25, 26, 27, 0.95);
}

.sidebar::-webkit-scrollbar-thumb {
    background: #4a9eff;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #357abd;
}