html,
body {
    background-color: #000;
    font-family: sans-serif;
    color: #020202;
}

.green-bg {
    position: fixed;
    width: 100dvw;
    height: 100dvh;
    top: 0px;
    left: 0px;
    background-color: #008080;
}

.task-bar {
    box-sizing: border-box;
    position: fixed;
    bottom: 0px;
    left: 0px;
    height: 40px;
    width: 100dvw;
    background-color: #C0C0C0;
    border-top: 2px solid #E7E7E7;

    .start-button {
        box-sizing: border-box;
        display: inline-block;
        height: 30px;
        background-color: #C0C0C0;
        border-top: 2px solid #E7E7E7;
        border-left: 2px solid #E7E7E7;
        border-right: 2px solid #343434;
        border-bottom: 2px solid #343434;
        box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.5);
        margin-left: 15px;
        margin-top: 4px;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 1px;
        padding-right: 3px;
        line-height: 25px;
        user-select: none;
        position: relative;

        img {
            width: 25px;
            position: relative;
            top: -2px;
        }

        span {
            position: relative;
            top: -1px;
        }
    }

    .start-button:hover {
        background-color: #AAA;
    }

   
    .start-button.pressed,
    .start-button.pressed:hover {
        background-color: #909090;
        border-top: 2px solid #333333;
        border-left: 2px solid #434343;
        border-right: 2px solid #AAA;
        border-bottom: 2px solid #AAA;
        line-height: 27px;
        color: #111;
        box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.3);

        img {           
            top: -1px;
        }
        span {
            position: relative;
            top: 0px;
        }
    }

    .start-button.pressed {
        .pressed-dots {
            position: absolute;
            top: 2px;
            left: 2px;
            width: calc(100% - 5px);
            height: calc(100% - 5px);
            border: 1px dashed #222;
            border-radius: 2px;
        }
    }
}

.window {
    display: block;
    box-sizing: border-box;
    position: fixed;
    top: 25dvh;
    left: 25dvw;
    width: 50dvw;
    height: 50dvh;
    min-width: 120px;
    background-color: #C0C0C0;
    border-top: 2px solid #E7E7E7;
    border-left: 2px solid #E7E7E7;
    border-right: 2px solid #777;
    border-bottom: 2px solid #777;
    box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    font-size: 15px;

    transition: width .2s linear, height .2s linear, top .2s linear, left .2s linear;

    .window-title-area {
        position: absolue;
        box-sizing: border-box;
        width: calc(100% - 1px);
        height: 26px;
        
        background-color: rgb(0, 1, 172);
        color: white;
        display: flex;
        align-items: center;
        user-select: none;

        .ico {
            height: 20px;
            margin-left: 2px;
            margin-right: 4px;
        }

        .window-title-text {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .window-title-button {
            padding: 0px;
            margin-left: auto;
            color: black;
            width: 17px;
            height: 17px;
            background-color: #C0C0C0;
            border-top: 2px solid #E7E7E7;
            border-left: 2px solid #E7E7E7;
            border-right: 2px solid #777;
            border-bottom: 2px solid #777;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .window-title-button:active,
        .window-title-button.pressed,
        .window-title-button.pressed:hover {
            background-color: #909090;
            border-top: 2px solid #333333;
            border-left: 2px solid #434343;
            border-right: 2px solid #AAA;
            border-bottom: 2px solid #AAA;
            color: #111;
            
            svg {
                position: relative;
                top: 1px;
                left: 1px;
            }
            
        }
    }

    .window-main-area {
        height: calc(100% - 28px);
        width: calc(100% - 2px);
        box-sizing: border-box;
        padding: 10px;
        overflow-y: auto;
        border: 0px dashed red;
    }
}

.start-menu {
    top: initial;
    bottom: 36px;
    left: 3px;
    width: 220px;
    height: 400px;
    z-index: 9999;

    .vertical-label {
        position: absolute;
        writing-mode: vertical-lr;
        transform: rotate(180deg);
        transform-origin: left top;
        height: 393px;
        left: 25px;
        bottom: -391px;
        background-color: #0004FA;
        color: white;
        padding-left: 2px;
        padding-right: 4px;
        font-weight: bold;
        font-size: 16px;
    }

    .vertical-label-dark-overlay {
        position: absolute;
        writing-mode: vertical-lr;
        transform: rotate(180deg);
        transform-origin: left top;
        height: 393px;
        width: 24px;
        left: 25px;
        bottom: -391px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, .7) 0%, transparent 5%, transparent 28%, rgba(0, 0, 0, .7) 35%);
    }

    .start-menu-item {
        position: absolute;
        left: 23px;
        bottom: 2px;
        width: 192px;
        height: 50px;
        display: flex;
        align-items: center;
        color: #111;
        user-select: none;
        font-size: 15px;

        img {
            height: 40px;
            width: 40px;
            margin-left: 13px;
            margin-right: 13px;
        }
    }

    .start-menu-item:hover {
        background-color: #00014A;
        color: #DDD;
    }
}