@font-face {
  font-family: 'Press Start 2P';
  src: url('https://static.igem.wiki/teams/5406/fonts/press-start-2p/pressstart2p-regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
}
:root {
  --background-color: #2E2E2E;
  --text-color: #c3c3c3;
  --highlight-color: #FFB3BA;
  --link-color: #BAFFC9;
  --accent-color: #00ff95;
  --command-color: #BAE1FF;
  --scanline-color: rgba(104, 104, 104, 0.034);
  --link-glow-color: rgba(186, 255, 201, 0.5);
  --scanline-size: 8px;
  --scanline-spacing: 16px;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8em;
  line-height: 1.6;
  padding: 0px;
  position: relative;
}


/* Scanline overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    var(--scanline-color),
    var(--scanline-color) var(--scanline-size),
    transparent var(--scanline-size),
    transparent var(--scanline-spacing)
  );
  background-size: 100% var(--scanline-spacing);
  background-repeat: repeat;
  background-position: 0 0;
  animation: scanlines 1s linear infinite;
  z-index: 9999;
}

body.disable-effects::after {
  content: none;
  display: none;
  animation: none;
}

@keyframes scanlines {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 var(--scanline-spacing);
  }
}

#terminal {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h1,h2,h3, h4 {
  color: var(--highlight-color);
}

a {
  font-weight: 100;
  color: var(--link-color);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--link-color);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

a:hover {
  color: var(--link-color);
  /*text-shadow: 0 0 5px var(--link-glow-color);*/
}

a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.command {
  color: var(--command-color);
  margin-top: 20px;
  margin-bottom: 10px;
}

.content {
  margin-left: 20px;
}

.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border-left: 0.25rem solid var(--highlight-color);
}

hr {
  border-color: var(--text-color);
}

.ascii-art {
  color: var(--highlight-color);
  font-size: 1em;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}

.directory-list {
  list-style-type: none;
  padding-left: 0;
}

.directory-list li::before {
  content: "📁 ";
  margin-right: 5px;
}

/*
.directory-list a {
  font-weight: bold;
}*/

#terminal-content {
  opacity: 0.9;
  animation: flicker 0.5s infinite;
}

body.disable-effects #terminal-content {
  animation: none;
  opacity: 1;
}

@keyframes flicker {
  0% { opacity: 1; }
  50% { opacity: 0.95; }
  100% { opacity: 1; }
}

.separator {
  color: var(--text-color);
  margin: 20px 0;
}

p, h2, h4, li, .command {
  text-shadow: 0 0 2px rgba(224, 224, 224, 0.1);
}

body.disable-effects p,
body.disable-effects h2,
body.disable-effects h4,
body.disable-effects li,
body.disable-effects .command {
  text-shadow: none;
}

.typed {
  opacity: 1;
}


@font-face {
  font-family: 'Press Start 2P';
  src: url('./fonts/press_start_2p/PressStart2P-Regular.ttf') format('truetype');
  font-style: normal;
}

:root {
  --background-color: #2E2E2E;
  --text-color: #c3c3c3;
  --highlight-color: #FFB3BA;
  --link-color: #BAFFC9;
  --accent-color: #00ff95;
  --command-color: #BAE1FF;
  --scanline-color: rgba(104, 104, 104, 0.034);
  --link-glow-color: rgba(186, 255, 201, 0.5);
  --scanline-size: 8px;
  --scanline-spacing: 16px;
  --left-nav-width: 19vw;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8em;
  line-height: 1.6;
  padding: 0px;
  position: relative;
}

/* Scanline overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    var(--scanline-color),
    var(--scanline-color) var(--scanline-size),
    transparent var(--scanline-size),
    transparent var(--scanline-spacing)
  );
  background-size: 100% var(--scanline-spacing);
  background-repeat: repeat;
  background-position: 0 0;
  animation: scanlines 1s linear infinite;
  z-index: 9999;
}

#terminal {
  display: flex;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

#left-nav {
  width: var(--left-nav-width);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 20px;
  border-right: 2px solid var(--text-color);
  background-color: var(--background-color);
}

#terminal-content {
  flex-grow: 1;
  margin-left: none;
  padding: 20px;
}

/* Rest of your existing CSS styles */

/* Add these new styles for the left navigation */
.directory-list {
  list-style-type: none;
  padding-left: 0;
}

.directory-list li {
  margin-bottom: 10px;
}

.directory-list li::before {
  content: "📁 ";
  margin-right: 5px;
}

.directory-list a {
  z-index: 51;
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.directory-list a:hover {
  color: var(--link-color);
  text-shadow: 0 0 5px var(--link-glow-color);
}




#terminal {
  display: flex;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  min-height: 100vh; /* Ensure the terminal takes at least the full viewport height */
}

#left-nav {
  /*width: var(--left-nav-width);*/
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 20px;
  border-right: 2px solid var(--text-color);
  background-color: var(--background-color);
  padding-top: 3%;
  padding-bottom: 60px; /* Add padding at the bottom to prevent content from being hidden behind the footer */
}

#terminal-content {
  flex-grow: 1;
  margin-left: var(--left-nav-width); /* Offset the content by the width of the left nav */
  padding: 20px;
  padding-bottom: 60px; /* Add padding at the bottom to prevent content from being hidden behind the footer */
}

/* Add this new style for the footer */
footer {
  position: relative; /* Change from fixed to relative */
  z-index: 1000; /* Ensure the footer is above other elements */
  width: 100%;
  background-color: var(--background-color);
}


.centered-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}



img{max-width: 100%;}


h1,h2,h3,h4,h5,h6
{
  font-size: 1.35em;
}