.window {
    width: calc(80% - 20px); /* Breite 80% des Viewports minus Padding */
    height: calc(70% - 20px); /* Höhe 70% des Viewports minus Padding */
    background-color: #232323f4;
    border: 2px solid #4a4a4a;
    position: absolute;
    top: 10vh;
    left: 10vw;
    box-shadow: 12px 11px 21px -1px rgba(0, 0, 0, 0.66);
    z-index: 0;
    min-width: 20vw;
    min-height: 20vh;
    padding: 0.3rem;
    resize: both;
    overflow: auto;
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    max-width: 90%;
    max-height: 90%;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .window {
        width: 90vw;
        height: 80vh;
        top: 2%;
        left: 2%;
        min-width: 60vw;
        min-height: 60vh;
    }
}


.window-header {
    padding: 20px;
    cursor: move;
    border-radius: 10px;
    background-color: #000716;
    background: linear-gradient(90deg, #0066ff, #be81d1);
    color: #ffffff;
}

.close-btn {
    float: right;
    margin-left: 5px;
    cursor: pointer;
}

.minimize-btn {
    float: right;
    margin-left: 5px;
    cursor: pointer;
}

.window-content {
    padding: 1rem;
    flex-grow: 1;
    overflow: auto;
}

.window-title {
    display: block;
    margin-top: 0.2rem;
}


.taskbar {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 10px 10px 10px 10px;
    background: #000000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.taskbar .taskbar-item {
    width: 55px;
    height: 55px;
    padding: 5px;
    background-color: #000000a1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
    border-style: solid;
    border-radius: 1px;
    border-width: 1px;
}

.taskbar .taskbar-item img {
    width: 100%;
    height: 100%;
    background-color: #000000a1;
    color: #ffffff;

}


.taskbar .taskbar-item .miniui_tooltip {
    visibility: hidden;
    font-size: 85%;
    width: max-content;
    background-color: #ffffff;
    color: #000000;
    text-align: start;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}


.miniui_tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    font-size: 85%;
    text-align: start;
    padding: 100px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.taskbar .taskbar-item:hover .miniui_tooltip {
    visibility: visible;
    opacity: 1;
}

.m-light-gray {
    color: #c2c2c2;
}


a { cursor: default; }
.pointer { cursor: pointer; }


#editorContainer {
    width: 100%;
    height: 100%;
    overflow: auto;
    display:contents;
    flex-direction: column-reverse;
    flex-shrink: 1;
}
.miniui__hide_all {
    display: none;
}




/* FARBEN */

.m-purple {
    color: #bf00ff;
}

.m-bg-purple {
    background-color: #bf00ff;
}

.m-pink {
    color: #d800bc;
}

.m-bg-pink {
    background-color: #d800bc;
}

.m-green {
    color: #00c1be;
}

.m-bg-green {
    background-color: #00c1be;
}

.m-red {
    color: #db0000;
}

.m-bg-red {
    background-color: #db0000;
}

.m-yellow {
    color: #dbba00;
}

.m-bg-yellow {
    background-color: #dbba00;
}

.m-yellow-light {
    color: #ff6f00;
}

.m-bg-yellow-light {
    background-color: #ff6f00;
}

.m-cyan {
    color: #2affc0;
}

.m-cyan-dark {
    color: #23795f;
}

.m-cyan-light {
    color: #afffe7;
}

.m-purple-link {
    color: #eb167b;
}

.m-purple-link-bg {
    color: #eb167b;
    background: #eb167b;
}

.m-cyan-bg {
    color: #23795f;
    background: #2affc0;
}

.m-cyan-dark-bg {
    color: #23795f;
    background: #23795f;
}


.m-gray {
    color: #898989;
}

.m-white {
    color: #ffffff;
}

.m-bg-white {
    background-color: #ffffff;
}

.m-light-gray {
    color: #c2c2c2;
}

.m-light-glow {
    color: #26323d;
    box-shadow: 0 0 90px #ffffff;
    background-color: #fff
}


.m-code {
    font-family: Courier New, monospace;
    color: #ff008c;
    background-color: #1f1f1f;
    font-size: 90%;
}