/* Basic Reset */
body {
    margin: 0;
    font-family: 'Fira Code', monospace;
    background-color: black;
    color: white;
    display: flex;
    height: 100vh;
}

/* VS Code Container */
.vscode {
    display: flex;
    width: 100%;
}

/* Sidebar */
.sidebar {
    width: 13%;
    background-color: #252526;
    padding: 10px;
    color: #c5c5c5;
}

.sidebar-header {
    font-size: 12px;
    margin-bottom: 10px;
    color: #858585;
}

.file-tree {
    list-style: none;
    padding: 0;
}

.file-tree li {
    padding: 5px;
    cursor: pointer;
}

.file-tree li:hover {
    background-color: #333;
}

/* Main Content */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: black;
}

/* Tabs */
.tabs {
    display: flex;
    background-color: #2d2d30;
    padding: 5px;
    border-bottom: 1px solid #333;
}

.tab {
    padding: 5px 10px;
    margin-right: 5px;
    background-color: #2d2d30;
    color: #c5c5c5;
    border: 1px solid #333;
    border-bottom: none;
    cursor: pointer;
}

.tab.active {
    background-color: #1e1e1e;
}

/* Editor */
.editor {
    flex: 1;
    padding: 10px;
    overflow: auto;
    background-color: black;
    color: white;
    white-space: pre-wrap;
    font-size: 14px;
}

.line-number {
    color: #858585;
    margin-right: 10px;
    display: inline-block;
    width: 30px;
    text-align: right;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    background-color: #007acc;
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
}

/* Syntax Highlighting */
.editor {
    flex: 1;
    padding: 10px;
    padding-left: 3rem;
    overflow: auto;
    background-color: black;
    color: white;
    white-space: pre-wrap;
    font-size: 14px;
    font-family: 'Fira Code', monospace;
    line-height: 1.6;
}

/* Colors for Syntax Highlighting */
.tag {
    color: #569cd6; /* Blue for HTML tags */
}

.attribute {
    color: #9cdcfe; /* Lighter blue for attributes */
}

.string {
    color: #ce9178; /* Orange for string values */
}

.comment {
    color: #6a9955; /* Green for comments */
}

.line-number {
    color: #858585;
    margin-right: 10px;
    display: inline-block;
    width: 30px;
    text-align: right;
}

#cursor {
    margin: 0;
    display: block;
    opacity: 0;
    /*border: 5px solid red;*/
}

@media (max-width: 767px) {
    .sidebar{
        display: none;
    }
    .editor {
        padding-left: 1rem;
    }
}