/* lets assume width>=320xp && height>=480px */

#searchBar{
    position: absolute;
    top: calc(100vh - 30px);
    left: 0;
    height: 30px;
    width: 100vw;
    z-index: 100;
    background: radial-gradient(circle at -10% 10%, rgba(57, 43, 50, 0.8), rgba(26, 29, 29, 0.8));
    backdrop-filter: blur(3px);
}

#menuButton{
    background-image: url("./files/this_pc/photos/icon.png");
    background-size: cover;
    position: absolute;
    top: 0px;
    left: 5px;
    height: 26px;
    width: 26px;
    opacity: 1;
    z-index: 2;
    transform: rotate(-90deg);
    border-radius: 12px;
    border: 1px transparent solid;
} #menuButton:hover{
    background-color: rgba(128,128,128,0.3);
    border: 1px rgba(211, 211, 211, 0.3) solid;
}
#menu {
  position: absolute;
  top: 300px; /* Start off-screen (inside container's coordinate space) */
  left: 0;
  height: 270px;
  width: 200px;
  background:radial-gradient(circle at -10% 10%, rgba(40, 96, 94, 0.3), rgba(72, 48, 79, 0.3));
  border: 1px solid rgba(255,255,255,0.19);
  border-radius: 0px 20px 0px 0px;
  transition: top 0.5s ease;
  z-index: 3 ;
  pointer-events: all;
  backdrop-filter: blur(2px);
}
#menuContainer{
position: absolute;
  top: -270px; /* This places the container in view */
  left: 0;
  height: 270px; /* 300px - 30px */
  width: 200px;
  overflow: hidden; /* Hides any child overflow */
  z-index: 0;
  pointer-events: none;
}.menuItem{
    position: absolute;
    top: var(--top);
    left: var(--left);
    height: var(--height);
    width: var(--width);
    z-index: 4;
    border: 1px solid transparent;
    border-radius: 20px 20px 20px 20px;
}.menuItem:hover{
    border: 1px rgba(211, 211, 211, 0.9) solid;
    background: radial-gradient(circle at 10% 50%, rgba(211,211,211,0.6),rgba(128,128,128,0.4));
}.menuItemIcon{
    position: absolute;
    background-size: cover;
    top: 3px;
    left: 3px;
    height: 34px;
    width: 34px;
    z-index: 5;
    opacity: 1;
}.menuItemLabel{
    position: absolute;
    background-size: cover;
    top: 0px;
    left: 45px;
    height: 40px;
    width: 115px;
    z-index: 5;
    opacity: 1;
    text-align:left;
    color: white;
    font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", sans-serif;
    font-size: 13px;
    text-shadow: 0px 2px 2px black;
    display:flex;
    align-items: center;
}



#searchMenuButton{
    background-image: url("./files/this_pc/photos/icon.png");
    background-size: cover;
    position: absolute;
    top: 0px;
    left: 45px;
    height: 26px;
    width: 26px;
    opacity: 1;
    z-index: 2;
    transform: rotate(-90deg);
    border-radius: 12px;
    border: 1px transparent solid;
} #searchMenuButton:hover{
    background-color: rgba(128,128,128,0.3);
    border: 1px rgba(211, 211, 211, 0.3) solid;
}
#searchMenu {
  position: absolute;
  top: 300px; /* Start off-screen (inside container's coordinate space) */
  left: 0px;
  height: 270px;
  width: 260px;
  background:radial-gradient(circle at -10% 10%, rgba(40, 96, 94, 0.3), rgba(72, 48, 79, 0.3));
  border: 1px solid rgba(255,255,255,0.19);
  border-radius: 20px 20px 0px 0px;
  transition: top 0.5s ease;
  z-index: 11;
  pointer-events: all;
  backdrop-filter: blur(3px);
}
#searchMenuContainer{
position: absolute;
  top: -270px; /* This places the container in view */
  left: 45px;
  height: 270px; /* 300px - 30px */
  width: 260px;
  overflow: hidden; /* Hides any child overflow */
  z-index: 1;
  pointer-events: none;
}


#background{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgb(255, 255, 255);
    opacity: 1;
    z-index: -1;
}


.iconBase{
    position: absolute;
    top: var(--top);
    left: var(--left);
    height: var(--height);
    width: var(--width);
    background-color: transparent;
    z-index: 0;
}
.icon{
    position: absolute;
    top: var(--top);
    left: var(--left);
    height: var(--height);
    width: var(--width);
    background-color: transparent;
    z-index: 1;
    
}.icon:hover {
    backdrop-filter: blur(1px);
    
    background:radial-gradient(circle at -10% 10%, rgba(157, 241, 227, 0.3), rgba(177, 142, 186, 0.3));
    border-radius: 10px;
    outline: 1px solid rgba(255,255,255,0.19);
}
.icon.selected {
    backdrop-filter: blur(1px);
    background:radial-gradient(circle at -10% 10%, rgba(194, 253, 243, 0.4), rgba(237, 212, 244, 0.3));
    border-radius: 10px;
    outline: 1px solid rgba(255,255,255,0.4);
}
.iconImg{
    position: absolute;
    top: var(--top);
    left: var(--left);
    height: var(--height);
    width: var(--width);
    z-index: 2;
    pointer-events: none;
    background-color:transparent;
    opacity: 1;
    outline: none ; 
}.iconName{
    position: absolute;
    top: var(--top);
    left: var(--left);
    height: var(--height);
    width: var(--width);
    z-index: 2;
    pointer-events: none;
    color: white;
    font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", sans-serif;
    font-size: 13px;
    text-align: center;
    text-shadow: 0px 2px 2px black;
}


.windowContainer{
    will-change: top, left;
    position: absolute;
    width: 300px;
    height: 200px;
    min-width: 200px;
    min-height: 50px;
    max-width: 100vw;
    max-height: calc(100vh - 30px);
    top: calc(20vh + var(--windowCount));
    left: calc(20vw + var(--windowCount));
    background-color: transparent;
    resize: both;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.19);
    border-radius: 10px;
    backdrop-filter: blur(3px);
    z-index: 10;
    pointer-events: auto;
}.topBar{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 25px;
    backdrop-filter: blur(3px);
    background:radial-gradient(circle at -10% 10%, rgba(157, 241, 227, 0.3), rgba(177, 142, 186, 0.3));
}
.cross{
    position: absolute;
    top: 0px;
    left: calc(100% - 40px);
    width: 40px;
    height: 25px;
    background-color: transparent;
    display: flex;
    justify-content: center;  /* horizontal centering */
    align-items: center;      
    color: lightgray;
}.cross:hover{
    transition: background-color 0.3s ease;
    background-color: rgba(255, 0, 0, 0.6);
}
.square{
    position: absolute;
    top: 0px;
    left: calc(100% - 80px);
    width: 40px;
    height: 25px;
    background-color: transparent;
    display: flex;
    justify-content: center;  /* horizontal centering */
    align-items: center;      
    color: lightgray;
}.square:hover{
    transition: background-color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.2);
}
.minus{
    position: absolute;
    top: 0px;
    left: calc(100% - 120px);
    width: 40px;
    height: 25px;
    background-color: transparent;
    display: flex;
    justify-content: center;  /* horizontal centering */
    align-items: center;      
    color: lightgray;
}.minus:hover{
    transition: background-color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.2);
}
.windowIcon{
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    top: 2px;
    left: 7px;
    width: 20px;
    height: 20px;
    background-color: transparent;
}
.windowName{
    position: absolute;
    top: 0px;
    left: 35px;
    width: calc(100% - 155px);
    height: 25px;
    background-color: transparent;
    display: flex;
    justify-content: left;  /* horizontal centering */
    align-items: center;      
    color: white;
    white-space: nowrap;         /* Prevents text from wrapping to the next line */
    overflow: hidden;            /* Hides text that overflows the div */
    font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", sans-serif;
    font-size: 13px;

}
.canvas{
    position: absolute;
    top: 25px;
    left: 0px;
    width: 100%;
    height: calc(100% - 25px);
    background:radial-gradient(circle at -10% 10%, rgba(40, 96, 94, 0.3), rgba(72, 48, 79, 0.3));
    overflow: auto;
}
.browser{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: none;
}
.browserErrorDiv{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: none;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    align-content: center;
}
.pdf{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
#dragOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  z-index: 9999;
  background: transparent;
  pointer-events: auto;
}




.fileExplorerSideBar{
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100px;
}.fileExplorerSideBarBackground{
    position: fixed;
    top: 25px;
    left: 0px;
    height: 100%;
    width: 100px;
    background-color: rgba(255,255,255,0.3);
}.fileExplorerSideBarMenuText{
    position: absolute;
    top: var(--top);
    left: 10px;
    height: var(--height);;
    width: calc(100% - 20px);
    color: rgb(183, 183, 183);
    text-shadow: 1px 1px 3px black;
    font-size: 12px;
    font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", sans-serif;
    white-space:pre-wrap;
}.fileExplorerSideBarMenuItem{
    position: absolute;
    top: var(--top);
    left: 5px;
    height: var(--height);;
    width: calc(100% - 10px);
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 3px black;
    font-size: 15px;
    display: flex;
    justify-content: left;  /* horizontal centering */
    align-items: center;   
    font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", sans-serif;
    white-space:pre-wrap;
    border-radius: 10px;
    border: 1px rgba(211, 211, 211, 0) solid;
}.fileExplorerSideBarMenuItem:hover{
    border: 1px rgba(211, 211, 211, 0.9) solid;
    background: radial-gradient(circle at 10% 50%, rgba(211,211,211,0.6),rgba(128,128,128,0.4));
}.fileExplorerStagingArea{
    position: absolute;
    top: 0px;
    left: 100px;
    height: 100%;
    width: calc(100% - 100px);
}.fileExplorerStagingAreaItem{
    position: absolute;
    top: var(--top);
    left: 10px;
    width: calc(100% - 20px);
    height: 25px;
    overflow: hidden;
    border-radius: 15px;

}.fileExplorerStagingAreaItem:hover{
    background: radial-gradient(circle at -10% 10%, rgba(255, 255, 255, 0.321), hsla(288, 46%, 37%, 0.129));;
}.fileExplorerStagingAreaItemText{
    position: absolute;
    top: 0px;
    left: 40px;
    height: 25px;
    width: 100px;
    font-size: 16px;
    color: white;
    display: flex;
    justify-content: left;  /* horizontal centering */
    align-items: center;   
    font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", sans-serif;
}




.not-selectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}