body{
    margin: 0;
    padding:0;
    background-color: #2b6cb0;
    height: 100vh;
    overflow: hidden;
    font-family: sans-serif;
}

.window {
    width: 300px;
    height: auto;
    min-height: 200px;
    min-width: 250px;
    background-color: white;
    border: 2px solid #000;
    position: absolute;
    top: 50px;
    left: 50px;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
    resize: both;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.title-bar {
    background-color: #000;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    cursor: grab;
    display: flex;
    justify-content: space-between;
    align-items: center;
}




.welcome-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 99998;
}

.window-controls button {
    background-color: #c0c0c0;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    font-weight: bold;
    cursor: pointer;
    margin-left: 2px;
}

.window-controls button:active {
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

.window.maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 40px) !important;
}

.window-content {
    padding: 15px;
    flex-grow: 1;
    display:flex;
    flex-direction: column;
}


.taskbar {
    position:absolute;
    bottom:0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #c0c0c0;
    border-top: 2px solid #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
    z-index: 999;
}

.start-button {
    background-color: #c0c0c0;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    padding: 4px 15px;
    font-weight: bold;
    cursor: pointer;
}

.start-button:active {
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

.clock {
    font-family: monospace;
    padding: 4px 10px;
    border: 2px inset #fff;
}

.taskbar-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.taskbar-app {
    background-color: #c0c0c0;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    padding: 4px 15px;
    font-weight: bold;
    cursor: pointer;
    min-width: 100px;
    text-align: center;
}

.taskbar-app.active {
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    background-color: #d4d4d4;
}

.start-menu {
    display: none;
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 200px;
    background-color: #c0c0c0;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    z-index: 1000;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);
    padding: 2px;
}

.start-menu-item {
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
}

.start-menu-item:hover {
    background-color: #000080;
    color: white;
}

.start-menu-divider {
    height: 2px;
    background-color: #808080;
    border-bottom: 1px solid #fff;
    margin: 5px 2px;
}


.notepad-text {
    width: 100%;
    flex-grow: 1;
    height: calc(100% - 30px);
    box-sizing: border-box;
    border: none;
    resize: none;
    padding: 10px;
    font-family: monospace;
    font-size: 14px;
    outline: none;
}


.calc-display {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
    padding: 5px 10px;
    font-size: 24px;
    text-align: right;
    font-family: monospace;
    background-color: #fff;
    border: 2px inset #c0c0c0;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.calc-btn {
    padding: 10px 0;
    font-size: 16px;
    font-weight: bold;
    background-color: #c0c0c0;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    cursor: pointer
}

.calc-btn:active {
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}



.settings-group {
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
    font-size: 14px;
}

.settings-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.settings-group select, .settings-group input {
    padding: 5px;
    font-size: 14px;
    font-family: sans-serif;
}




.desktop-environment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 40px);
    z-index: 1;
}

.desktop-icon {
    position: absolute;
    width: 75px;
    text-align: center;
    cursor: pointer;
    padding: 5px;
    border: 1px dotted transparent;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.desktop-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px dotted #fff;
}

.icon-emoji {
    font-size: 32px;
    pointer-events: none;
}

.icon-label {
    color: white;
    font-family: sans-serif;
    font-size: 12px;
    text-shadow: 1px 1px 2px black;
    margin-top: 5px;
    pointer-events: none;
}

.desktop-environment.hide-labels .icon-label {
    display: none;
}



.context-menu {
    position: absolute;
    background-color: #c0c0c0;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    width: 150px;
    z-index: 9999;
    padding: 2px;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);
}

.context-item {
    padding: 5px 10px;
    cursor: pointer;
    font-family: sans-serif;
    font-size: 12px;
}

.context-item:hover {
    background-color: #000080;
    color: white;
}

.context-divider {
    height: 1px;
    background-color: #808080;
    border-bottom: 1px solid #fff;
    margin: 3px 2px;
}