/*DOCUMENT WIDE STYLING */
* {
    font-family: 'Inconsolata', monospace;
}
body {
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    min-height: 100vh;
    margin: 0;
}

/* body > div {
    display: flex;
} */

/*NAVBAR CONFIG and FOOTER CONFIG*/
nav div a {
    text-decoration: none;
    color: black;        /* default link color */
}
nav div a:hover {
    text-decoration: underline;
    color: ivory;
}
.navbar {
  display: flex;
  justify-content: space-evenly;  /* left logo, right menu */
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  flex: initial;
  background-color: black;
  padding: 26px;
  color: #00A86B;
}
.nav-links, .logo {
    align-items: center;
    justify-content: space-evenly;
    display: flex;
    margin-left: 30px;
}
.nav-links {
  display: flex;
  justify-content: space-evenly;
  color: #00A86B;
}
.logo {
    color: #00A86B;
}
.footer {
    text-align: center;
    color: white;
    padding: 22px;
    font-size: 12px;
}
/*DOCUMENT WIDE STYLING */


/* MATRIX BACKGROUND */

/* 1. Target the Canvas element by its ID */
#canvas {
    /* Make the canvas fill the entire screen */
    width: 100vw;
    height: 100vh;

    /* Lock it in place regardless of scrolling */
    position: fixed; 
    top: 0;
    left: 0;

    /* Move it behind all other content (your header, tiles, etc.) */
    z-index: -1; 
}

/* --- Adjust the overall size here --- */
#matrix-font-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 200px; /* Adjust this value to set the overall width */
  height: 12px; /* Set the height of the track */
  background: transparent;
  outline: none;
  overflow: visible; /* Allows the image to extend past the track height */
  /* This variable is updated by the JavaScript below */
  --slider-progress: 50%; 
}

/* Style the track (the grey and green bars) for Webkit */
#matrix-font-slider::-webkit-slider-runnable-track {
  height: inherit; 
  border-radius: 6px; 
  /* CHANGE: Switched #00A86B to rgba(0, 168, 107, 0.6) */
  background: linear-gradient(to right, rgba(0, 168, 107, 0.25) var(--slider-progress), transparent var(--slider-progress)); 
  cursor: pointer;
}

/* Style the thumb (your image replacement) for Webkit */
#matrix-font-slider::-webkit-slider-thumb {
  -webkit-appearance: none !important; 
  appearance: none !important;
  height: 36px; /* Image height */
  width: 46px;  /* Image width */
  background-image: url('images/8bitShell.png'); 
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent; 
  cursor: pointer;
  border: none;
  /* (Image height - Track height) / 2 = (36px - 12px) / 2 = 12px */
  margin-top: -12px; 
}

/* Ensure you update Firefox styles for consistency */
#matrix-font-slider::-moz-range-track {
  height: inherit; 
  border-radius: 6px;
  /* CHANGE: Same change here for Firefox */
  background: linear-gradient(to right, rgba(0, 168, 107, 0.25) var(--slider-progress), transparent var(--slider-progress));
}

#matrix-font-slider::-moz-range-thumb {
  height: 36px;
  width: 46px;
  background-image: url('images/8bitShell.png');
  background-size: contain;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
