body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: ArtifaktElement;
}

#main-container {
    display: flex;
    height: calc(100vh - 3em); /* Adjust for header height */
}

#sidebar {
    width: 25%;
    min-width: 150px;
    max-width: 50%;
    background-color: #f4f4f4;
    border-right: 1px solid #ccc;
    overflow-y: auto;
    position: relative;
}

#sidebar-resizer {
    width: 5px;
    cursor: ew-resize;
    background-color: #ccc;
    z-index: 1000;
}

#preview {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}



#header > * {
    height: 2em;
    margin: 0 0.5em;
}

#login {
    font-family: ArtifaktElement;
    font-size: 1em;
}

#header .title {
    height: auto;
    margin-right: auto;
}

#attribNameSelector {
    /* width: 100%; */
    padding: 5px;
    box-sizing: border-box;
}

#tree {
    margin: 0.5em;
}

@media (max-width: 768px) {
    #sidebar {
        width: 100%;
        top: 3em;
        bottom: 75%;
    }
    #preview {
        width: 100%;
        top: 25%;
        bottom: 0;
    }
}

.icon-hub:before {
    background-image: url(https://raw.githubusercontent.com/primer/octicons/main/icons/apps-16.svg); /* or https://raw.githubusercontent.com/primer/octicons/main/icons/stack-16.svg */
    background-size: cover;
}

.icon-project:before {
    
    background-image: url(https://raw.githubusercontent.com/primer/octicons/main/icons/project-16.svg); /* or https://raw.githubusercontent.com/primer/octicons/main/icons/organization-16.svg */
    background-size: cover;
}

.icon-my-folder:before {
    background-image: url(https://raw.githubusercontent.com/primer/octicons/main/icons/file-directory-16.svg);
    background-size: cover;
}

.icon-item:before {
    background-image: url(https://raw.githubusercontent.com/primer/octicons/main/icons/file-16.svg);
    background-size: cover;
}

.icon-version:before {
    background-image: url(https://raw.githubusercontent.com/primer/octicons/main/icons/clock-16.svg);
    background-size: cover;
}



#overlay {
    position: absolute;
    left: 1em;
    top: 1em;
    z-index: 1;
  }



