body {
    background-color: #050510; /* Fallback color */
    background-image: url('space.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

#welcome-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050510;
    color: #00ffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#start-btn {
    background: transparent;
    color: #00ffff;
    border: 2px solid #00ffff;
    padding: 12px 24px;
    font-size: 18px;
    font-family: inherit;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

#start-btn:hover {
    background: #00ffff;
    color: #050510;
    box-shadow: 0 0 15px #00ffff;
}


.window {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 350px;
    background-color: #050510;
    border: 1px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    color: #00ffff;
}

.window-header {
    background-color: #00ffff;
    color: #050510;
    padding: 8px 12px;
    font-weight: bold;
    cursor: grab;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.window-header:active {
    cursor: grabbing;
}

.close-btn {
    background: transparent;
    border: none;
    color: #050510;
    font-weight: bold;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
}

.window-content {
    padding: 15px;
    min-height: 100px;
}

#taskbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 50px;
    background-color: rgba(5, 5, 16, 0.85); /* Slightly transparent background */
    border-top: 1px solid #00ffff;
    display: flex;
    justify-content: center; /* Centers the icons */
    align-items: center;
    gap: 20px; /* Space between icons */
    z-index: 10000; /* Keeps it above the windows */
}

.app-icon {
    background: transparent;
    color: #00ffff;
    border: 1px solid #00ffff;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.app-icon:hover {
    background: #00ffff;
    color: #050510;
    box-shadow: 0 0 10px #00ffff;
}

#os-clock {
    position: absolute;
    right: 20px;
    color: #00ffff;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}

.calc-container {
    padding: 10px;
    background-color: #050510;
}

#calc-display {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #000;
    color: #00ffff;
    border: 1px solid #00ffff;
    text-align: right;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
}

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

.calc-buttons button {
    background-color: #111;
    color: #00ffff;
    border: 1px solid #00ffff;
    padding: 10px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    transition: 0.2s;
}

.calc-buttons button:hover {
    background-color: #00ffff;
    color: #000;
}
