@font-face {
  font-family: JavaMenu;
  src: url("java.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
* { box-sizing: border-box; }
:root { color-scheme: dark; }
body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: clamp(20px, 6vh, 74px) 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(#0003, #0004), #483621 url("autumn.webp") center / cover no-repeat;
  font: clamp(16px, 1.55vw, 22px)/1.5 JavaMenu, "Courier New", monospace;
  color: #fff;
}
main { width: min(100%, 670px); }
header { text-align: center; }
.logo {
  position: relative;
  width: min(94%, 580px);
  aspect-ratio: 256 / 52;
  margin: 0 auto;
}
.logo img { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.logo .edition { top: 71.154%; left: 25%; width: 50%; }
h1 {
  margin: 10px 0 clamp(18px, 4.5vh, 50px);
  font-weight: 400;
  font-size: clamp(24px, 3.5vw, 42px);
  line-height: 1.12;
  text-shadow: .12em .12em #252525, 0 0 .25em #171710;
}
form {
  width: min(100%, 440px);
  margin: auto;
  padding: clamp(14px, 3vw, 25px);
  background: rgba(15, 13, 12, .88);
  border-block: 2px solid;
  border-color: #9998 #111;
}
label { display: block; margin-bottom: 8px; text-shadow: .1em .1em #393939; }
input, button {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  font: inherit;
  color: #fff;
  border-radius: 0;
}
input { border: 2px solid #b3b3b3; padding: 4px 10px; background: #0b0b0b; }
button {
  margin-top: 15px;
  padding: 0 10px;
  appearance: none;
  border: 6px solid transparent;
  border-image: url("button.png") 3 fill / 6px stretch;
  background: transparent;
  image-rendering: pixelated;
  text-shadow: 2px 2px #383838;
  cursor: pointer;
}
button:hover, button:focus-visible { border-image-source: url("hover.png"); }
:focus-visible { outline: 2px solid #ffff80; outline-offset: 2px; }
[role="alert"] { margin: 8px 0 0; color: #ffb2a7; }
