/* Base styles - Typography, resets, and core element styles */
/* Share Tech Mono is loaded once, via the <link> in index.html's <head> */
@font-face {
  font-family: "Pixel Operator";
  src: url("/assets/fonts/PixelOperator.ttf") format("truetype");
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Share Tech Mono', monospace;
}

html {
  overflow: hidden;
  height: 100%;
  width: 100%;
  position: fixed;
}

body {
  background-color: var(--color-black);
  color: var(--text-color);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.45;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  image-rendering: pixelated;
  letter-spacing: 0.2px;
  position: fixed;
  top: 0;
  left: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  color: var(--highlight);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

h2 {
  font-size: 1.25rem;
  margin-top: 0.75rem;
}

h3 {
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

h4,
h5,
h6 {
  font-size: 0.95rem;
}

p {
  margin-bottom: 10px;
  font-family: var(--font-body);
  color: var(--color-black);
}

a {
  color: var(--highlight);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: var(--color-white);
  background-color: var(--highlight);
  border-bottom: 1px solid var(--color-white);
}

button,
.start-menu-item,
.taskbar-item,
.folder-label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.2px;
  color: var(--color-black);
}

/* ===== Form Elements ===== */
label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  font-family: var(--font-ui);
  font-weight: bold;
}

input,
select,
textarea {
  width: 100%;
  padding: 5px;
  margin-bottom: 15px;
  background-color: var(--color-white);
  border: 2px inset var(--button-border);
  font-family: 'Share Tech Mono', monospace;
}

select {
  cursor: pointer;
}

button {
  background-color: var(--button-bg);
  border: 2px outset var(--button-border);
  padding: 5px 10px;
  cursor: pointer;
  font-family: 'Share Tech Mono', monospace;
}

button:active {
  border: 2px inset var(--button-border);
}

.caption,
.portrait-caption,
small {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--color-gray-dark);
}

