html {
    width: 100%;
    height: 100%;
    background-image: url('https://tse3.mm.bing.net/th?id=OIP.DtKV96tH6lok3RTS4D_kLgHaEK&pid=Api&P=0&h=220');
    background-size: contain;
}

body {
    height: 100%;
    overflow: hidden;
    color: white;
}

.taskbar {
    position: absolute;
    width: 100%;
    background-color: black;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    height: 50px; /* Increased height to fit search bar */
    padding: 0 10px; /* Added padding for better spacing */
    overflow: hidden;
}

.tray {
    margin-left: auto; /* Aligns the tray to the right */
    display: flex;
    align-items: center;
    color: white;
    padding-right: 10px; /* Added padding to the right */
}

.tray img {
    width: 20px;
    height: auto;
    margin: 0 10px; /* Adjusted margin for better spacing */
}

#battery {
    margin: 0 10px;
}

#time {
    margin: 0 10px;
    white-space: nowrap; /* Prevents date and time from wrapping */
    text-align: right;   /* Aligns text to the right */
    padding-right: 5px;
}


.taskbar img {
    width: auto;
    height: 30px;
    margin: 5px;
}

button {
    background-color: black;
    border: none;
}

#search {
    flex: 1;
    max-width: 300px;
    padding: 8px;
    margin: 0 10px;
    border-radius: 5px;
    border: none;
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
    color: black;
    bottom: 5px;
    background-color: white;
}

.windowshown, .windowhidden {
    width: 80vw;
    height: 60vh;
    margin: 0 auto; /* Center the window horizontally */
}

.windowshown {
    display: block;
    width: 80vw;
    z-index: 100;
}

.windowhidden {
    display: none;
}

.frameshown {
    background-color: lightgray;
    width: 80vw;
    height: 35px;
    z-index: 100;
    
}
.framehidden {
    background-color: lightgray;
    width: 80vw;
    height: 35px;
    display:none;
}

.control-box {
    float: right;
    padding: none;
    /* Remove float: right; */
}

.controls {
    width: 30px;
    height: 30px;
    background-color: lightgray;
    border: none;
}

#close:hover {
    background-color: red;
}

.controls:hover {
    background-color: gray;
}

.fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    top: 0 !important;
    left: 0 !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 100;
}

.fullscreen [id*="frameheader"] {
    width: 100vw !important;
    top: 0 !important;
    left: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

#time {
    float: right !important;
}

.window {
    position: absolute;

}

/* #setwindow {
    background-color: white;
    font-family: Calibri;
} */
#trash {
    position: fixed;
    top: 20px;
    left: 2px;
    width: 150px;
    height: auto;
    z-index: 1;
     /* Ensure it is on top of other elements */
}

#trash + p {
    position: fixed;
    top: 60px; /* Adjust to be below the trash icon */
    left: 45px;
     /* Ensure it is on top of other elements */
}
.start-menu {
    position: absolute;
    bottom: 50px;
    left: 10px;
    width: 200px;
    background-color: white;
    border: 1px solid gray;
    display: none;
    z-index: 1000;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.start-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.start-menu li {
    padding: 10px;
    cursor: pointer;
}

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

/* buggy bug*/

