body {
  font-family: 'Courier New', monospace;
  background: #0b0b0b;
  color: #00ff00;
  padding: 20px;
}

h1, h2, h3 {
  color: #ff0202;
  margin-top: 1em;
}
a {
  color: #00bfff;
}

.genre{
  color: #ccc;
  border-bottom: 1px solid #444;
}

.hero {
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #00ff00;
  margin-bottom: 20px;
}

.writeup-columns {
  display: flex;
  gap: 20px;
}

.featured-left,
.featured-right {
  flex: 1;
  padding: 20px;
  background-color: #111;
  border: 1px solid #00ff00;
  border-radius: 8px;
  box-shadow: 0 0 10px #00ff00;
}

.sidebar ul {
  list-style: none;
  padding-left: 10px;
}

.sidebar li {
  margin-bottom: 5px;
}

.genre-toggle {
  background: none;
  border: none;
  color: #00ff00;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 5px;
}

.subgenre-toggle {
  background: none;
  border: none;
  color: #ff0000;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 5px;
}

.post-list.hidden {
  display: none;
}

a {
  color: #00ffff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #ff00ff;
}

.content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* Optional width for sidebar */
.sidebar {
  width: 220px;
}

/* Main content will stretch */
.main-content {
  flex: 1;
}

.terminal-banner{
  font-family: 'Courier New', Courier, monospace;
  color: #ff0000;
  background: transparent;
  font-size: 12px;
  line-height: 1.2;
  white-space: pre;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 5px #00ff00;
}
.ascii-img {
  display: none;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* On mobile, show image instead of ASCII */
@media (max-width: 768px) {
  .terminal-banner {
    display: none;
  }
  .terminal-cursor{
    display: none;
  }
  .ascii-img {
  position: relative;
  z-index: 9999;
  display: block !important;
  opacity: 1;
}

}


.hidden {
  display: none;
}

.main-content {
  flex: 1;
  padding: 20px;
  line-height: 1.5;
  text-shadow: 0 0 3px #003300; /* soft green glow behind text */
}

a:hover {
  text-decoration: underline;
  color: #ff00ff;
  text-shadow: 0 0 8px #ff00ff;
}

.genre-toggle:hover {
  color: #00ffff;
  text-shadow: 0 0 6px #00ffff;
}

.subgenre-toggle:hover {
  color: #ff5555;
  text-shadow: 0 0 6px #ff5555;
}

.sidebar-content-desktop {
  width: 220px;
  max-height: 80vh;
  overflow-y: auto;
  padding-right: 10px;
}

.terminal-banner {
  font-family: 'Courier New', Courier, monospace;
  color: #ff0000;
  background: transparent;
  font-size: 16px;
  line-height: 1.2;
  white-space: pre;
  text-shadow: 0 0 5px #00ff00;
  margin-bottom: 20px;
}

.terminal-cursor {
  position: absolute;
  width: 3px;
  margin-left: 10px;
  height: 5em;
  background: red;
  animation: blink 1s steps(2, start) infinite;
  pointer-events: none;
}


@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}



.highlight ,code {
  background: #111 !important;
  font-family: monospace;
  line-height: 1.4;
  box-shadow: none !important;
  text-shadow: none !important;
}
.highlight{
  color: #00ff00 !important;
}
code {
  font-family: 'Fira Code', monospace;
  background-color: #272822;
  color: #f8f8f2;
  padding: 0.4em;
  border-radius: 2px;
  white-space: pre;
}

/* Monokai-like token colors */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #75715e;
}

.token.punctuation {
  color: #f8f8f2;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
  color: #f92672;
}

.token.boolean,
.token.number {
  color: #ae81ff;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #a6e22e;
}

.token.operator,
.token.entity,
.token.url,
.token.variable {
  color: #f8f8f2;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
  color: #e6db74;
}

img{
  max-width: 100%; 
  height: auto; 
  width: 600px;
}

.photo {
  display: block;
  width: 100%;      
  height: 290px;      
  max-width: none;   
}
/* Default Sidebar Styling */
.sidebar-content {
  width: 250px;
  background-color: #111;
  color: white;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
  z-index: 999;
}

/* Hamburger icon */
.hamburger-menu {
  display: none;
  top: 1rem;
  position: fixed;
  left: 1rem;
  overflow-y: hidden;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  z-index: 1000;
  cursor: pointer;
}

.sidebar-toggle-wrapper{
  display: none;
  overflow: hidden;
}

/* ---------- MOBILE STYLE ---------- */
@media (max-width: 768px) {
  /* Ensure sidebar wrapper exists */
  .sidebar-toggle-wrapper {
    display: block;
  }

  /* Sidebar slides out by default */
  .sidebar-content {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    background: #111;
    height: 100vh;
    z-index: 999;
  }

  /* When active, sidebar slides in */
  .sidebar-content.active {
    transform: translateX(0);
  }

  /* Hide desktop sidebar if any */
  .sidebar-content-desktop {
    display: none;
  }

  /* Hide horizontal overflow but allow scroll */
  html, body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  /* Hamburger menu visible and fixed at top-left */
/* Fixed burger */
.hamburger-menu {
  display: block;
  position: fixed;
  overflow: fixed;
  top: 2rem;
  left: 1rem;
  z-index: 1000;
  font-size: 2rem;
  background: none;
  border: none;
  color: #00ff00;
  cursor: pointer;
}

/* Container for the title and space handling */
.header {
  display: flex;
  padding: 1rem 1rem 1rem 3.5rem; /* extra left-padding to offset the fixed burger */
  color: #00ff00;
}

/* Optional: make sure site title doesn’t wrap or misalign */
.site-title {
  margin: 0;
  font-size: 1.5rem;
}
  /* Content should not be pushed right — margin removed */
  .content-wrapper {
    margin: 0;
    padding-top: 3rem; /* create space for hamburger if needed */
  }

  /* Optional spacing for genre list */
  .genre {
    margin-top: 70px;
    margin-left: 20px;
  }

  .genre-toggle {
    margin-left: 2%;
  }
  .main-content {
  max-width: 800px;
  margin: 0 auto;         /* centers the block */
  padding: 1rem;          /* spacing inside */
}
.content-wrapper {
  margin: 0;
  padding: 0;
}

.site-title{
  margin-left: 15%;
}

}



.image-row {
  display: flex;
  justify-content: center;   /* center the row */
  gap: 20px;                 /* space between images */
  margin: 2em 0;
}

.my-special-class {
  width: 220px;
  height: auto;
  transform: scaleY(2);   /* elongate vertically */
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

