body {
    background-image: url(./assets/background.png); 
    background-size: cover; 
    font-family: 'Comic Sans MS', 'Comic Sans';
    background-repeat: no-repeat;
    min-height: 100vh;
    overflow: hidden;
}
/* status bar with os name and time */
.topbartext {
    font-weight: 700; 
    background-color: rgba(256, 256, 256, 0.125); 
    padding: 4px 12px; 
    border-radius: 16px;
    z-index: 9999;  
}
.topbar {
    padding: 0px 10px; 
    color: azure; 
    display: flex; 
    justify-content: space-between; 
    backdrop-filter: blur(10px); 
    background-color: rgba(0, 0, 0, 0.25); 
    border-radius: 12px;
    user-select: none;
    z-index: 9999;
    position: relative;
}
/* welcome screen */
.welcome {
    background-color: azure; 
    padding: 16px; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    align-items: flex-start;
    justify-content: center;
    user-select: none;
}
.window {
  border: solid;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  position: absolute;
  backdrop-filter: blur(4px);
  overflow: hidden;
  border-color: aliceblue;
}
.app-window {
  resize: both;
  width: min(800px, 90vw);
  height: min(600px, 80vh);
  min-width: 240px;
  min-height: 160px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.app-window .window-box {
  flex: 1;
  overflow: auto;
}
.app-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: none;
}
.window-box {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.windowheader {
  box-sizing: border-box;
  backdrop-filter: blur(10px); 
  background-color: rgba(0, 0, 0, 0.25); 
  padding: 5px; 
  width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  cursor: grab;
  justify-content: space-between;
  border-radius: 12px;
  background-color: silver;
  backdrop-filter: blur(4px);
}
.appicon {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  filter: drop-shadow(0 0 8px rgb(255, 255, 255)); 
  width: 96px;
  box-sizing: border-box;
}
#desktopApps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
}
.appicon:hover {
  filter: drop-shadow(0 0 8px rgb(196, 193, 9)); 
}
.apptext {
  width: 100%;
  margin: 5px;
  color: #fff;
  text-align: center; 
  user-select: none;   
}
.appiconimg {
  width: 64px; 
  height: 64px; 
  border-radius: 15px;
  user-select: none;   
}
/* added a simple thing so it targets elements with header in them */
[id*="header"] {
  cursor: grab;
}
.closebutton {
  background-color: rgba(256, 256, 256, 0.125); 
  padding: 4px 12px; 
  border-radius: 16px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.closebutton:hover {
    background-color: darkred;
}
.closebutton img {
  width: 100%;
  height: 100%;
  display: block;
}
#drag {
  width: 20px; 
  height: 20px
}

/* apps */
#sepic {
  display: none;
}
#calcapp {
  display: none;
}
#minecraftapp {
  display: none;
}