

body {
background: black;
color: #33ff33;
font-family: "Courier New", monospace;
display: flex;
justify-content: flex-end; 
align-items: center;
height: 100vh;
margin: 0;
padding-right: 150px; 
overflow: hidden;
}

.sublabel {
  font-family: 'Advent Pro';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/advent-pro-v33-latin-regular.woff2') format('woff2'); 
}


.loginBox {
position: relative;
width: 350px;
padding: 20px;
border: 2px solid #33ff33;
text-align: center;
filter: contrast(1.2) brightness(1.1);
animation: flicker 0.07s infinite;
}


/* scanlines */
.loginBox::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: repeating-linear-gradient(
to bottom,
rgba(0, 0, 0, 0) 0px,
rgba(0, 0, 0, 0) 2px,
rgba(0, 255, 0, 0.07) 3px
);
pointer-events: none;
z-index: 3;
}


/* crt flicker */
@keyframes flicker {
0% { opacity: 1; }
50% { opacity: 0.93; }
100% { opacity: 1; }
}


input {
width: 80%;
padding: 8px;
margin: 10px 0;
background: black;
border: 1px solid #33ff33;
color: #33ff33;
font-family: inherit;
}


button {
width: 60%;
padding: 8px;
background: black;
border: 2px solid #33ff33;
color: #33ff33;
cursor: pointer;
font-family: inherit;
}


#error {
margin-top: 10px;
color: red;
height: 20px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: flicker 0.07s infinite;
}

.overlay-box {
  border: 2px solid #C73420;
  color: #C73420;
  padding: 20px 30px;
  font-size: 18px;
  cursor: pointer;
  background: black;
}
