

body {
  background-image: url('/gifs/twinkle.gif'); /* your GIF */
  background-repeat: repeat; /* tiles it */
  background-position: top left; /* optional, where tiling starts */
  background-attachment: fixed; /* optional: stays in place when scrolling */
  color: #00ff00;
  font-family: 'Courier New', monospace;
  text-align: center;
  margin: 0;
  padding: 0;
}
#splash{
  @media(min-width:991px){
   display:none; 
  }
  
  @media(max-width:990px){
      display:box; 
  }
  
}
#main-container {
  @media(max-width:990px){
      display:none; 
  }
}
/* Navigation Bar Styles */
.nav-bar {
  display: flex;
  overflow-x: auto;
  width: 100vw;
  justify-content: center;
  gap: 40px;           /* space between items */
  padding: 15px 0;
  background-color: #000;
  align-items: flex-end; /* aligns nav items along bottom */
  max-width: 980px;
  margin: auto;
  @media (max-width:990px) {
    flex-direction:column; 
    width: fit-content;
    
    
  }
}

/* Each nav item stacks GIF above link */
.nav-item {
  display: flex;
  flex-direction: column; 
  align-items: center;
  gap: 5px; /* space between GIF and text */
  width: 100px;
  @media (max-width:990px) {
    width: 100%;
    }
}

/* Links style */
.nav-item a {
  display: flex;
  flex-direction: column; 
  align-items: center;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  color: #00ff00;
  font-size: 1.2em;
  text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00;
  transition: color 0.3s, text-shadow 0.3s;
  @media (max-width:990px) {
    flex-direction:row; 
    max-height: 40px;
    width: 100%;
    justify-content: space-between;
  }
}

/* GIFs inside nav items */
.nav-gif {
  width: 70%;  
  height: auto;
  animation: float 3s ease-in-out infinite alternate;
  @media (max-width:990px){
    width: auto;
    height: 100%;
  }
}

/* Automatically highlight active page */
.nav-item a.active {
  color: #00ffff;  /* active link color */
}



.main-content {
  margin: 40px auto;         /* center horizontally with space on top/bottom */
  padding: 20px;             /* spacing inside */
  max-width: 980px;         /* optional: limit width */
}
.main-content p {
  background-color: #000000; /* black background */
  margin: 5px;
}
    /* Header row with GIFs on either side */
    .header {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-top: 20px;
      width: 100%;
      align-items: flex-start; /* keep GIFs at natural height */
      padding: 0 10px;        /* optional padding */
      align-items: center;
    }

    /* Header GIFs */
    .header img {
      width: auto;       /* natural width */
      height: auto;      /* natural height */
      flex-shrink: 0;    /* prevent shrinking */
      animation: float 3s ease-in-out infinite alternate;
      
    }

    /* Flickering header text */
     .header h1 {
      font-family: 'Orbitron', sans-serif;
      font-size: 3em;
      color: #00ff00;
      text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00;
      animation: neonFlicker 2s infinite;
      margin: 0;
      align-content: center;
      
    }
    /* Flickering header text */
    a h1 {
      font-family: 'Orbitron', sans-serif;
      font-size: 3em;
      color: #00ff00;
      text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00;
      animation: blink 2s infinite;
      margin: 0;
      align-content: center;
      background-color: rgba(0,0,0,0.5);
      padding: 10px;
      display: inline-block;
      
    }

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

    @keyframes float {
      0% { transform: translateY(0); }
      100% { transform: translateY(-10px); }
    }

    /* Seamless marquee effect */
    .marquee {
      width: 100vw;
      overflow: hidden;
      border-top: 2px solid #00ff00;
      border-bottom: 2px solid #00ff00;
      background: black;
    }

    .marquee-content {
      display: flex;
      width: max-content;
      animation: marquee 1.5s linear infinite;
    }

    .marquee-content span {
      padding-right: 2em;
      white-space: nowrap;
    }

    @keyframes marquee {
      0% { transform: translateX(0); }
      100% { transform: translateX(-6.4%); }
    }


.sims-banner {
  display: block;
  text-align: center; /* optional */
  margin-bottom: 16px; /* space before gifs */
}

.sims-banner img {
  max-width: 100%;
  height: auto;
}

.gif-container {
  display: flex;
  flex-wrap: nowrap;       /* prevents wrapping */
  justify-content: center; /* centers the row */
  align-items: center;
  gap: 0;                  /* optional: remove spacing between images */
  max-width: 100%;
  padding: 8px;
  box-sizing: border-box;  /* optional, keep your old one */
  overflow: hidden;        /* optional, keep your old one */
}

.gif-container img {
  flex: 1 1 0;             /* shrink/grow evenly */
  max-width: 33.333%;      /* each GIF takes 1/3 of the row */
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.gif-banner {
  width: 100%;
  text-align: center;      /* centers the banner GIF */
  margin-top: 8px;         /* optional spacing */
}

.gif-banner img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}





    /* Links style */
    a {
      color: #ff00ff;
      text-decoration: none;
      font-weight: bold;
    }

    a:hover, a:active {
      color: #00ffff;
      text-shadow: 0 0 5px #00ffff;
    }
    
        /* Musings posts style */
body {
  font-family: 'Roboto Mono', monospace;
  background-color: black;
  color: white;
  margin: 20px;
}

.musings {
  display: flex;
  flex-direction: column-reverse; /* newest post at top */
}

.musings-entry {
  background-color: black;
  padding: 15px;
  margin: 20px auto;             /* centers horizontally */
  border: 1px solid #333;
  border-radius: 6px;
  opacity: 0.9;
  width: 75%;
  max-width: 800px;              /* keeps it from getting too wide */
  line-height: 1.2;              /* tighter line spacing */
  font-family: 'Roboto Mono', monospace;
  color: white;
  text-align: justify;           /* justify body text */
}

.entry-date {
  color: #00ff00;
  font-size: 1.3em;
  font-weight: bold;
  text-align: left;
  margin-bottom: 8px;
}

.musing-text {
  font-size: 1.1em;
  line-height: 1.6;
}

/* Guestbook Container */
.guestbook-container {
  width: 75%;
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: black;
  border: 2px solid #444;
  border-radius: 6px;
  text-align: center;
  font-family: 'Roboto Mono', monospace;
  color: #00ff00;
}

.links-page .links-section a {
    font-family: 'Roboto Mono', monospace;
    font-weight: normal;
    text-shadow: none;
    color: white;
}

.links-page .links-section {
    height: 400px; /* adjust as needed */
    overflow-y: scroll; /* always shows vertical scrollbar */
}


    
.links-page .links-section a:hover {
  text-decoration: underline overline #00ff00;
    
}

.links-section {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 400px; /* example height */
  overflow-y: scroll;
  border: 1px dotted #ffffff; /* white dotted border */
  border-radius: 4px;          /* optional, makes corners slightly rounded */
  margin-bottom: 20px;         /* space between categories */
  
}

/* WebKit scrollbar styles */
.links-section::-webkit-scrollbar {
  width: 12px;
}
.links-section::-webkit-scrollbar-track {
  background: #111;
  border-radius: 6px;
}
.links-section::-webkit-scrollbar-thumb {
  background-color: #00ff00;
  border-radius: 6px;
  border: 3px solid #111;
}
.links-section::-webkit-scrollbar-thumb:hover {
  background-color: #00ffff;
}

/* Firefox scrollbar */
.links-section {
  scrollbar-width: thin;
  scrollbar-color: #00ff00 #111;
}

.links-section {
  display: flex;
  flex-direction: column; /* stack header above scrollable box */
  align-items: flex-start; /* align content to the left */
  background: black;
  border-radius: 6px;
  margin-bottom: 20px;
  padding: 10px;
}
.category-header {
  display: flex;
  align-items: center; /* GIF and text horizontally aligned */
  gap: 10px;           /* space between GIF and title */
  position: sticky;
  top:-10px;
  background: black;    /* so header overlays scrollbox if needed */
  z-index: 1;
  padding: 5px 0;
  width: 100%;
}

.links-scroll {
  max-height: 200px;    /* adjust as needed */
  overflow-y: scroll;
  width: 100%;
  text-align: left;     /* make list items left-aligned */
}

.scrollbox {
  position: relative;
  text-align: left;
}
.scrollbox nav{
  display:  flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  position: relative;
}
.scrollbox:after {
 content: "vv";
 position: sticky;
 height: 20px;
 width: 100%;
 bottom: 0;
 margin: auto;
 color: #0f0;
 padding: 0 10px;
 
 background: #333;
}
.item {
  flex: 1 1 auto;
  padding-right: 10px;
  text-align: left;
}

.item:last-child{
   position: relative;
   z-index: 9;
}
   
}

/* Lightbox arrows */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #00ff00;
  font-size: 3rem;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  user-select: none;
}

.lightbox-arrow.left {
  left: 20px;
}

.lightbox-arrow.right {
  right: 20px;
}

.lightbox-arrow:hover {
  opacity: 0.7;
}

body {
  background-image: url('/gifs/twinkle.gif');
  background-repeat: repeat;
  background-position: top left;
  background-attachment: fixed;
  color: #00ff00;
  font-family: 'Courier New', monospace;
  text-align: center;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  font-weight: bold;
  margin: 10px;
}

.marquee {
  width: 100%;
  overflow: hidden;
  border-top: 2px solid #00ff00;
  border-bottom: 2px solid #00ff00;
  background: black;
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee 1.5s linear infinite;
}

.marquee-content span {
  padding-right: 2em;
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-6.6%); }
}

/* Image gallery grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px 0;
  justify-items: center;
}

.gallery img {
  width: auto;
  height: auto;
  max-width: 100%;
  transition: transform 0.3s;
}

/* Lightbox overlay */
#lightbox {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
}

