body {
    margin: 0;
    font-family: 'Tahoma', sans-serif;
    background-size: auto;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 95vh;
    object-fit: cover;
    z-index: -1;
}

.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background-color: #0c4da2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    padding: 0 10px;
    font-size: 14px;
}

.start-button {
    background-color: #1c6ea4;
    padding: 5px 10px;
    border: 2px outset #fff;
    cursor: pointer;
}

.clock {
    font-family: monospace;
}

.start-menu-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background-color: #0c4da2;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.start-menu-profile img {
    width: 32px;
    height: 32px;
    border: 2px solid white;
    border-radius: 4px;
    background-color: #ece9d8;
}

.start-menu {
    position: fixed;
    bottom: 40px;
    left: 0;
    width: 220px;
    background-color: #ece9d8;
    border: 2px outset #fff;
    display: none;
    z-index: 999;
    font-family: 'Tahoma', sans-serif;
}

.start-menu-header {
    background-color: #0c4da2;
    color: white;
    padding: 8px;
    font-weight: bold;
    font-size: 14px;
}

.start-menu-list {
    list-style: none;
    margin: 0;
    padding: 5px;
}

.start-menu-list li {
    padding: 6px 10px;
    border-bottom: 1px solid #ccc;
}

.start-menu-list li a {
    text-decoration: none;
    color: black;
    display: block;
}

.start-menu-list li:hover {
    background-color: #c0c0c0;
}

.desktop-icons {
    position: absolute;
    top: 40px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
}

.icon {
    width: 80px;
    text-align: center;
    cursor: pointer;
    color: white;
    font-size: 13px;
    font-family: 'Tahoma', sans-serif;
}

.icon img {
    width: 48px;
    height: 48px;
    margin-bottom: 5px;
    border: none;
    background-color: transparent;
    padding: 0;
}

.icon span {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-weight: bold;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0px 0px 2px #000;
}

.window {
    position: absolute;
    top: 100px;
    left: 100px;
    width: 400px;
    border: 2px solid #000;
    background-color: #ece9d8;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    display: none;
}

.window-header {
    background-color: #0c4da2;
    color: white;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

.close-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 2px 6px;
    cursor: pointer;
}

.window-content {
    padding: 10px;
}

.recycle-bin {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 1;
}

.recycle-bin .icon {
    width: 80px;
    text-align: center;
    cursor: pointer;
    color: white;
    font-size: 13px;
    font-family: 'Tahoma', sans-serif;
}

.recycle-bin .icon img {
    width: 48px;
    height: 48px;
    margin-bottom: 5px;
    background-color: transparent;
    border: none;
    padding: 0;
}

.recycle-bin .icon span {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-weight: bold;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0px 0px 2px #000;
}

@media screen and (max-width: 420px) {
    body {
        font-size: 12px;
    }

    .taskbar {
        height: 36px;
        font-size: 12px;
        padding: 0 6px;
    }

    .start-button {
        padding: 4px 8px;
        font-size: 12px;
    }

    .clock {
        font-size: 12px;
    }

    .start-menu {
        width: 180px;
        font-size: 12px;
    }

    .start-menu-profile img {
        width: 28px;
        height: 28px;
    }

    .start-menu-header,
    .start-menu-profile {
        font-size: 12px;
        padding: 6px;
    }

    .start-menu-list li {
        padding: 5px 8px;
    }

    .desktop-icons {
        top: 20px;
        left: 10px;
        gap: 16px;
    }

    .icon {
        width: 64px;
        font-size: 11px;
    }

    .icon img {
        width: 40px;
        height: 40px;
    }

    .window {
        width: 90vw;
        left: 5vw;
        top: 60px;
    }

    .window-header {
        padding: 4px;
        font-size: 12px;
    }

    .window-content {
        padding: 8px;
        font-size: 12px;
    }

    .close-btn {
        padding: 2px 5px;
        font-size: 12px;
    }

    .recycle-bin {
        bottom: 70px;
        right: 10px;
    }

    .recycle-bin .icon {
        width: 64px;
        font-size: 11px;
    }

    .recycle-bin .icon img {
        width: 40px;
        height: 40px;
    }
}