/* ===== Fonts ===== */
@font-face {
  font-family: 'PixelEmulator';
  src: url('../fonts/PixelEmulator.otf') format('opentype');
}

/* ===== Global Styles ===== */
body {
  background-color: #1a1a1a;
  color: #00FF00; /* True old terminal green */
  font-family: 'PixelEmulator', monospace;
  image-rendering: pixelated;
  margin: 0;
}

a {
  color: #ff00aa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== Layout ===== */
header {
  background: url('../images/header-bg.png') repeat;
  padding: 10px;
  text-align: center;
}

nav a {
  margin: 0 10px;
  color: #ffffff;
  text-decoration: none;
}

.logo {
  height: 64px;
}

main {
  padding: 20px;
  text-align: center;
}

footer {
  font-size: 10px;
  color: #ffffff;
  text-align: center;
  padding: 10px;
  background: #000;
}

/* ===== Music Page ===== */
.track {
  margin: 20px auto;
  padding: 10px;
  border: 2px solid #00FF00;
  width: 300px;
  background: #000;
}

audio {
  width: 100%;
  margin-top: 10px;
}

/* ===== Contact Page ===== */
.contact form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.contact input,
.contact textarea {
  width: 100%;
  box-sizing: border-box;
  background: #1a1a1a;
  border: 2px solid #00FF00;
  color: #00FF00;
  font-family: 'PixelEmulator', monospace;
  padding: 5px;
  margin-bottom: 10px;
  image-rendering: pixelated;
}

.contact button {
  background: #1a1a1a; /* Matches your site's dark background */
  border: 2px solid #00FF00; /* Same cyan border as inputs */
  color: #00FF00; /* Same text color as inputs */
  font-family: 'PixelEmulator', monospace;
  font-size: 16px;
  padding: 8px;
  cursor: pointer;
  image-rendering: pixelated;
  text-transform: uppercase;
}

.contact button:hover {
  background: #00FF00;
  color: #1a1a1a;
}

/* Override browser autofill colors */
.contact input:-webkit-autofill,
.contact input:-webkit-autofill:hover,
.contact input:-webkit-autofill:focus,
.contact textarea:-webkit-autofill,
.contact textarea:-webkit-autofill:hover,
.contact textarea:-webkit-autofill:focus {
  background-color: #1a1a1a !important;
  color: #00FF00 !important;
  -webkit-box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
  box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
  font-family: 'PixelEmulator', monospace !important;
}

/* Force autofill text color to stay green */
.contact input:-webkit-autofill,
.contact textarea:-webkit-autofill {
  -webkit-text-fill-color: #00FF00 !important;
}

.contact input,
.contact textarea {
  width: 100%;
  box-sizing: border-box;
  background: #1a1a1a;
  border: 2px solid #00ff00;
  color: #00ff00;
  font-family: 'PixelEmulator', monospace;
  padding: 5px;
  margin-bottom: 10px;
  image-rendering: pixelated;
  outline: none; /* Prevent browser focus outline */
}

/* Keep border green and square on focus */
.contact input:focus,
.contact textarea:focus {
  border: 2px solid #00ff00;
  border-radius: 0;
  outline: none;
}

/* Fix Chrome autofill background + text color */
.contact input:-webkit-autofill,
.contact textarea:-webkit-autofill {
  background-color: #1a1a1a !important;
  -webkit-box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
  -webkit-text-fill-color: #00ff00 !important;
  border: 2px solid #00ff00;
  border-radius: 0;
}





