:root {
  --primary-color: #00ff00;
  --background-color: black;

  --text-color: limegreen;
  --font-family: monospace;
}

/* style.css */
body {
  background: var(--background-color);
  color: var(--text-color);
  font-family: var(--font-family);
  /*margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;*/
}

a {
  color: var(--text-color);
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#navbar
{
  /*border: 2px var(--text-color) solid;*/
  background-color: var(--background-color);
  color: var(--text-color);
  display: flex;
  justify-content: center; 
  text-align: center;
}

#navbar > h1
{
  margin-left: 5px;
}

#terminal-container
{
  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#terminal {
  
  width: 80%;
  height: 80%;
  background: var(--background-color);
  padding: 10px;
  overflow-y: auto;
  border: 2px solid var(--text-color);
}

#input-line {
  display: flex;
}

.prompt {
  margin-right: 5px;
}

#commandInput {
  background: var(--background-color);
  color: var(--text-color);
  border: none;
  outline: none;
  width: 100%;
  font-family: monospace;
}

.logo
{
  height: 100px;
  width: 150px;
  margin-top: 0px;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
}


/*Debugging*/
.imageTest
{
  width: 200px;
  height: 200px;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 5px;
}

/*loader*/
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 10s ease;
}

/* Glitch Text */
.glitch-wrapper {
  text-align: center;
  font-size: 2rem;
  letter-spacing: 2px;
}

.glitch-text {
  position: relative;
  color: var(--text-color);
  text-shadow: 0 0 2px var(--text-color), 0 0 5px var(--text-color);
  animation: flicker 2s infinite;
}
.glitching_letters
{
  position: relative;
  color: var(--text-color);
  text-shadow: 0 0 2px var(--text-color), 0 0 5px var(--text-color);
  animation: flicker 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: var(--text-color);
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.glitch-text::before {
  animation: glitchTop 2s infinite linear;
  color: var(--text-color);
  z-index: -1;
}

.glitch-text::after {
  animation: glitchBottom 1.5s infinite linear;
  color: var(--text-color);
  z-index: -2;
}

/**/
.glitching-letters::before,
.glitching_letters::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: var(--text-color);
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.glitching_letters::before {
  animation: glitchTop 2s infinite linear;
  color: var(--text-color);
  z-index: -1;
}

.glitching_letters::after {
  animation: glitchBottom 1.5s infinite linear;
  color: var(--text-color);
  z-index: -2;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
  }
  20%, 22%, 24%, 55% {
    opacity: 0.3;
  }
}

@keyframes glitchTop {
  0% {
    clip: rect(0, 9999px, 0, 0);
    transform: translate(0, 0);
  }
  10% {
    clip: rect(0, 9999px, 10px, 0);
    transform: translate(-2px, -2px);
  }
  20% {
    clip: rect(0, 9999px, 20px, 0);
    transform: translate(2px, 0);
  }
  30% {
    clip: rect(0, 9999px, 30px, 0);
    transform: translate(-1px, 1px);
  }
  100% {
    clip: rect(0, 9999px, 0, 0);
    transform: translate(0, 0);
  }
}

@keyframes glitchBottom {
  0% {
    clip: rect(0, 9999px, 0, 0);
    transform: translate(0, 0);
  }
  10% {
    clip: rect(30px, 9999px, 40px, 0);
    transform: translate(2px, 1px);
  }
  20% {
    clip: rect(50px, 9999px, 60px, 0);
    transform: translate(-1px, -1px);
  }
  30% {
    clip: rect(70px, 9999px, 80px, 0);
    transform: translate(3px, 2px);
  }
  100% {
    clip: rect(0, 9999px, 0, 0);
    transform: translate(0, 0);
  }
}
/*Terminal flicker
/* Flicker effect on terminal container */

/*
#terminal-container {
  animation: flickerScreen 2s infinite;
  background-color: black;
  color: #00ff00;
  font-family: monospace;
}


#output, .prompt, #commandInput {
  animation: flickerText 3s infinite;
}
*/
/*
@keyframes flickerScreen {
  0%, 100% {
    opacity: 1;
  }
  10% {
    opacity: 0.95;
  }
  20% {
    opacity: 0.85;
  }
  30% {
    opacity: 0.9;
  }
  40% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.75;
  }
  60% {
    opacity: 0.9;
  }
  70% {
    opacity: 0.7;
  }
  80% {
    opacity: 0.85;
  }
  90% {
    opacity: 0.95;
  }
}

/*
@keyframes flickerText {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}


#commandInput {
  background: none;
  border: none;
  outline: none;
  color: #00ff00;
  caret-color: #00ff00;
  font-family: 'Courier New', monospace;
  animation: blinkInput 1s steps(1) infinite;
}

@keyframes blinkInput {
  50% {
    opacity: 0.5;
  }
}

DISTRACTING LMAO
*/

#bootlog {
  font-family: 'Courier New', monospace;
  color: #00ff00;
  background: black;
  padding: 15px;
  white-space: pre;
  height: 100vh;
  overflow-y: auto;
}

.boot-ok { color: #00ff00; }
.boot-fail { color: #ff4444; }
.boot-warn { color: #ffff00; }

.image-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}