@font-face {
  font-family: "w95fa";
  src: url("../fonts/w95fa.woff2") format("woff2"), url("../fonts/w95fa.woff") format("woff"), url("../fonts/w95fa.otf") format("otf");
  font-weight: normal;
  font-style: normal;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}
html, body{
	margin: 0;
	padding: 0;
	height: 100%;
  font-family: "w95fa";
  font-size: 18px;
  line-height: 20px;

    /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
	/*font-family: "Microsoft MS", sans-serif;*/
   -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

p {padding-left: 10px; padding-right: 10px;}
h1{padding-left: 5px;}
  


/*::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.25) 50% , rgba(18, 16, 16, 0) 50% ), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
  opacity: 0.33;
} */

/*::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;

background-image: repeating-linear-gradient(
    90deg,
    rgba(0,0,0,0.01),
    rgba(0,0,0,0.01) 1px,
    rgba(0,0,0,0) 5px
);




}*/




fos-icon {
    background-color: transparent;
    box-shadow: 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    font-size: 2.5em;
    font-family: "w95fa";
}

/*#mainDesktop > fos-icon > img {
    width: 100%;
    -webkit-filter: drop-shadow(5px 5px 3px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(5px 5px 3px rgba(0, 0, 0, 0.5));
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}*/




#mainDesktop > fos-icon > img {
    width: 100%;
    -webkit-filter: none;
    filter: none;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

fos-desktop{
  background-color: #00807F;  
  font-family: "w95fa";
  font-size: 18px;
  line-height: 20px;
  background-image: url('https://www.wallpaperhub.app/_next/image?url=https%3A%2F%2Fcdn.wallpaperhub.app%2Fcloudcache%2Fb%2Fd%2F7%2F6%2F4%2Fb%2Fbd764bb25d49a05105060185774ba14cd2c846f7.jpg&w=4500&q=100');
  background-size:     cover;                      
  background-repeat:   no-repeat;
  background-position: center center;


}

fos-window{
  font-family: "w95fa";
  font-size: 18px;
  line-height: 20px;

}



input, button, textarea, select {
  font: inherit;
}

.dialog-header h1, .dialog-header h2, .dialog-header h3, .dialog-header h4, .dialog-header h5, .dialog-header h6, .dialog-header p {
  font-size: 18px;
  line-height: 20px;
  font-weight: 400;
}

/*fos-menu[name="Start"] {
    background-color: #fff;
    border: solid 1px #000;
    width: 60px;
    text-align: left;*/

fos-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 10px;

    background-color: silver;
    box-shadow:
        inset -1px -1px #0a0a0a,
        inset 1px 1px #fff,
        inset -2px -2px grey,
        inset 2px 2px #dfdfdf;}
        background-color: #C0C0C0;  /* classic Win95 gray */

/*Text boxes*/

input, textarea {

    border-top: 2px solid #ffffff;  
    border-left: 2px solid #ffffff;   
    border-bottom: 2px solid #7b7b7b;
    border-right: 2px solid #7b7b7b; 
    font-family: "w95fa"; 
    padding-right: 10px; 
    box-sizing: border-box;  
    resize: none}

}





fos-window[name="Mail"] button {
    position: absolute;
  bottom: 5px; 
  left: 8px;
      border-top: 2px solid #ffffff;  
    border-left: 2px solid #ffffff;   
    border-bottom: 2px solid #7b7b7b;
    border-right: 2px solid #7b7b7b;




}

fos-window[name="Music"] button {
    padding: 0px;
      border-top: 2px solid #ffffff;  
    border-left: 2px solid #ffffff;   
    border-bottom: 2px solid #7b7b7b;
    border-right: 2px solid #7b7b7b;
}

fos-window[name=Music] {

.time-display {
  background: #ffffff;
  border: 2px solid;
  border-color: #808080 #dfdfdf #dfdfdf #808080;
  padding: 4px 8px;
  font-size: 23px;
  display: inline-block;
  text-align: center;
  margin-top: 10px;
}

.current-time,
.total-duration {
  display: inline;


}
}


fos-menu[name="Start"]::part(title) {

    padding: 3px 16px 3px 12px;
    font-weight: bold;
    background-image: url("../Images/start_icon.png");
    background-repeat: no-repeat;
    background-position: 4px center;
    background-size: 16px 16px;
    padding-left: 24px;

    border-top: 2px solid #ffffff;  
    border-left: 2px solid #ffffff;   
    border-bottom: 2px solid #7b7b7b;
    border-right: 2px solid #7b7b7b; 

    display: inline-block; 
    width: auto;          
    padding-right: 8px; 


    font-family: "w95fa";



}

fos-menu[name="Start"]:hover::part(title) {
    filter: brightness(0.8);
    background-color: #b5b5b5;
}






/*-----------------------------------*/

/* Window container */
fos-window {
  position: fixed;
  min-width: 320px;
  min-height: 240px;
  background-color: #C0C0C0; /* classic gray background */
  border-top: 2px solid #FFFFFF; /* 3D bevel effect */
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #808080;
  border-right: 2px solid #808080;
  box-sizing: border-box;

  color: black;
  resize: both;
  overflow: hidden;
  z-index: 5; /* above icons and scanlines */
}

/* Title bar */
fos-window::part(top),
fos-window #top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  background-color: #000080; /* navy */
  color: white;
  font-weight: bold;
  line-height: 22px;
  padding: 0 4px;
  box-sizing: border-box;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #808080;
  border-right: 2px solid #808080;
  cursor: move;
  user-select: none;
}

/* Window title text */
fos-window #winTitle {
  cursor: inherit;
  user-select: none;
}

/* Target buttons inside shadow DOM using part attribute */
fos-window::part(buttons) {
    all: unset; /* reset browser defaults */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 16px;
    font-size: 12px;
    font-weight: bold;
    line-height: 14px;
    color: black;
    background-color: #C0C0C0;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    cursor: pointer;
    user-select: none;
}

fos-window::part(buttons):active {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
}


/* Content area */
fos-window #content {
  flex: 1 1 auto;
  overflow: auto;
  padding: 4px;
  background-color: #C0C0C0;
  height: 100%;





#taskbar-clock {
    position: absolute;

    line-height: 30px;
    border: solid 1px #000;
    width: 60px;
    text-align: center;
    user-select: none;
    box-shadow:
        inset -1px -1px #fff,
        inset 1px 1px #0a0a0a,
        inset -2px -2px #dfdfdf,
        inset 2px 2px grey;
          margin-right: 100px;

/*-----------*/

fos-menu::part(window) {
    background-color: #C0C0C0;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #000000;
    border-right: 2px solid #000000;
    box-shadow: none;
    padding: 2px;
    min-width: 250px;
}

fos-menu-item {
    display: block;
    padding: 4px 20px 4px 8px;
    color: #000000;
    cursor: default;
    background-color: #C0C0C0;
    font-family: "w95fa";

    line-height: 45px;
}


