@font-face {
    font-family: "Pixelated MS Sans Serif";
    font-style: normal;
    font-weight: 400;
    src: url('ms_sans_serif.woff2') format("woff2");
}

@font-face {
    font-family: "Pixelated MS Sans Serif";
    font-style: normal;
    font-weight: 700;
    src: url('ms_sans_serif_bold.woff2') format("woff2");
}



body  {
    -webkit-font-smoothing: none;
  font-family: "Pixelated MS Sans Serif";
    background-color: black;
    height: 200vh;
}
#login-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: transparent;
}

#login-window {
    width: 20rem;
    height: 20vh;
    border:2px solid silver;
    background-color:gray;
    background-size:contain;
    margin:2rem auto;
    box-shadow: inset -1px -1px #0a0a0a,inset 1px 1px #dfdfdf,inset -2px -2px grey,inset 2px 2px #0a0a0a;
    box-sizing: border-box;   
    padding: 0;
    display: flexbox;
    z-index: 2;
    position: absolute;
    align-items:center;
    justify-content: center;
    top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.title-bar {
    background: #c0c0c0;
    display:flex;
    height: 27px;
    box-shadow: inset -1px -1px #0a0a0a,inset 1px 1px #dfdfdf,inset -2px -2px grey,inset 2px 2px #fff;
    margin: auto;
    align-items:center;
    background: #c0c0c0;
    justify-content: right;
    padding: 3px 5px 3px 3px;
    box-sizing: border-box;
    object-fit:contain;
    position: relative;
}


.title-bar-text {
    font-size: 15px;
    color:#363636;
    text-shadow: 0 0 2px #191919;
    text-align: center;
    margin: auto;
    padding-right: 20px;
    
}


.window-body{
    width: 20rem;
    height: 20vh;
    text-align: center;
    padding: 0;
    display: flexbox;
    z-index: 2;
    position: relative;
    align-items:center;
    justify-content: center;

}

#login-text{
      color:#363636;
    text-shadow: 0 0 2px #191919;  
    text-align: center;
    padding:10px;
    display: inline-flex;
}

#login-submit{
    width:50px;
    height: 20px;
    position: relative;
    text-align: center;
}

#password-input {
    background-color: silver;
    margin-bottom: 10px;
    font-family: monospace;
    color:#363636;
    text-shadow: 0 0 2px #191919; 
}
#username-input{
    background-color: silver;
    font-family: monospace;
    color:#363636;
    text-shadow: 0 0 2px #191919; 
}
.title-bar-controls {
    display: flex;
    padding: 0;
    margin: none;
    z-index: 100;
}

.title-bar-controls button {
    display: flex;
    min-height: 17px;
    min-width: 19px;
    padding: 5px;
    margin: auto;
    box-shadow: inset -1px -1px #222,inset 1px 1px #dfdfdf,inset -2px -2px grey,inset 2px 2px #fff;
    border: solid 2px #222;
    z-index: 101;
}
button, input[type=reset], input[type=submit] {
    background: #dfdfdf;
    border: none;
    border-radius: 0;
    box-shadow: inset -1px -1px #222,inset 1px 1px #dfdfdf,inset -2px -2px grey,inset 2px 2px #fff;
    box-sizing: border-box;https://rhinestonecherry.neocities.org/login.css
    color: #b5434300;
    text-shadow: 0 0 #222;
}

.title-bar-controls button:active {
    padding: 0
}

.title-bar-controls button:focus {
    outline: none
}

.title-bar-controls button[aria-label=Minimize],.title-bar-controls button[aria-label].minimize {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0 0h6v2H0z'/%3E%3C/svg%3E");
    background-position: bottom 3px left 4px;
    background-repeat: no-repeat;
    margin-left: 2px;
}

.title-bar-controls button[aria-label=Maximize],.title-bar-controls button[aria-label].maximize {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='9' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 0H0v9h9V0zM8 2H1v6h7V2z' fill='%23000'/%3E%3C/svg%3E");
    background-position: top 2px left 3px;
    background-repeat: no-repeat;
    margin-left: 2px;
}

.title-bar-controls button[aria-label=Maximize]:disabled,.title-bar-controls button[aria-label].maximize:disabled {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 1H1v9h9V1zM9 3H2v6h7V3z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 0H0v9h9V0zM8 2H1v6h7V2z' fill='gray'/%3E%3C/svg%3E");
    background-position: top 2px left 3px;
    background-repeat: no-repeat;
    margin-left: 2px;
}

.title-bar-controls button[aria-label=Close],.title-bar-controls button[aria-label].close {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h2v1h1v1h2V1h1V0h2v1H7v1H6v1H5v1h1v1h1v1h1v1H6V6H5V5H3v1H2v1H0V6h1V5h1V4h1V3H2V2H1V1H0V0z' fill='%23000'/%3E%3C/svg%3E");
    background-position: top 2px left 3px;
    background-repeat: no-repeat;
    margin-left: 2px;
}
