@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

/* divider */
.section-divider {
  width: 100%;
  height: 1px; 
  background-color: #00ff00; 
  margin: 5px 0; 
}

/* headingssss */
h1 {
  font-family: 'VT323', monospace;
  font-size: 3.2rem;
  color: white;
  text-shadow: 0 0 1px #00ff00, 0 0 8px #00ff00;
  margin-bottom: 1.5rem;
  margin-top: 0.1rem;
}

h2 {
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  color: #00ff00;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* parasss */
p {
  font-family: 'VT323', monospace;
  color: white;
  margin-bottom: 0.1rem;
}

.highlight {
  color: #00ff00;
  text-shadow: 0 0 1px #00ff00, 0 0 1px #00ff00;
}

/* links */
a {
  color: #650fcf
}

/* img */
img {
  max-width: 100%;
  display: block;
  margin: 0.6rem auto;
  border: 0.1px solid #00ff00;
  border-radius: 1px;
}

/* banner */
.banner img {
    filter: drop-shadow(0 0 2px rgba(0, 255, 0, 0.6))
            drop-shadow(0 0 2px #00ff00)
            drop-shadow(0 0 2px #00ff00bc);
    z-index: 20;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body */
body {
    background-color: black;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    justify-content: center;
    padding: 80px 0; 
    overflow-x: hidden;
}

/* static bckg */
body::before, body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(0deg, rgba(0, 255, 0, 0.6) 2px, transparent 6px);
    background-size: 100% 6px; /* line spacing */
    animation: pixelNoise 0.3s infinite steps(2), flicker 0.2s infinite alternate;
    opacity: 0.25;
    mix-blend-mode: difference;
}

/* 2nd static layer w different spacing */
body::after {
    background: 
        repeating-linear-gradient(0deg, rgba(0, 255, 0, 0.4) 2px, transparent 8px);
    background-size: 100% 8px;
    animation: pixelNoise 0.35s infinite steps(3) reverse, flicker 0.15s infinite alternate;
    opacity: 0.25;
}

/* noise movement */
@keyframes pixelNoise {
    0% { transform: translateY(0); }
    25% { transform: translateY(-1px); }
    50% { transform: translateY(1px); }
    75% { transform: translateY(-1.5px); }
    100% { transform: translateY(1.5px); }
}

/* flickering */
@keyframes flicker {
    0% { opacity: 0.2; }
    50% { opacity: 0.35; }
    100% { opacity: 0.25; }
}

/* black box*/
.box {
    width: 950px;
    background-color: black;
    position: relative;
    z-index: 10; 
    border: 3px solid #171717e5;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.8),
                0 8px 20px rgba(0, 0, 0, 0.6),
                0 10px 25px rgba(0, 0, 0, 0.5);
    border-radius: 1px;
    margin-bottom: 80px; 
}


/* blog frame */
.blog-frame {
    position: relative;
    margin: 40px;
    border: 0.8px solid #00ff00;
    padding: 30px;
    font-family: 'VT323', monospace;
    color: #00ff00;
    background-color: rgba(0, 0, 0, 0.85);
    filter: drop-shadow(0 0 1px rgba(0, 255, 0, 0.6))
            drop-shadow(0 0 2px #00ff00)
            drop-shadow(0 0 5px #00ff00bc);
    z-index: 20;
}

.post-links {
  list-style: none;
  padding-top: 1rem;
}

.post-links li {
  margin-bottom: 1rem;
}

.post-links a {
  color: #00ff00;
  font-size: 1.1rem;
  transition: text-shadow 0.2s;
}

.post-links a:hover {
  text-shadow: 0 0 6px #00ff00;
}

/* back link */
.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: #00ff00;
  font-weight: bold;
  font-size: 1rem;
  transition: text-shadow 0.2s;
}

.back-link:hover {
  text-shadow: 0 0 6px #00ff00;
}

.blog-frame.gritty {
  position: relative;
  isolation: isolate;
}

.blog-frame.gritty::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.07) 0px,
    rgba(255, 255, 255, 0.07) 1px,
    transparent 1px,
    transparent 2px
  );
  z-index: 9999;
  opacity: 0.5;
}

.blog-inner {
  position: relative;
  z-index: 20;
}

/* scroll bar */

/* chrome, safari, edge */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: black;
}

::-webkit-scrollbar-thumb {
  background-color: #00ff00b6;
  border-radius: 6px;
  border: 3px solid black;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #33ff33;
}

/* firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #00ff00b6 black;
}

/* nav bar */
.navbar {
  display: flex;
  justify-content: center;
  margin: 2px 40px 0 40px;
  padding: 5px 0;
  border-bottom: 1px solid #00ff00;
  filter: drop-shadow(0 0 1px rgba(0, 255, 0, 0.6));
  z-index: 20;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

.navbar li {
  margin: 0;
}

.navbar a {
  font-family: 'VT323', monospace;
  color: #00ff00;
  font-size: 1.5rem;
  text-decoration: none;
  text-shadow: 0 0 1px #00ff00;
  transition: text-shadow 0.2s, color 0.2s;
}

.navbar a:hover {
  text-shadow: 0 0 6px #00ff00;
  color: white;
}

/* photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

/* individual photos */
.photo-item {
  position: relative;
  overflow: hidden;
  border: 0.1px solid #00ff00;
}

/* images */
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: transform 0.4s ease, filter 0.3s ease;
}

/* overlay */
.photo-info {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #00ff00;
  font-family: 'VT323', monospace;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;

  opacity: 0;
  transition: opacity 0.3s ease;
  text-shadow: 0 0 3px #00ff00, 0 0 6px #00ff00;
}

/* overlay on hover */
.photo-item:hover .photo-info {
  opacity: 1;
}

/* n92 map */
#map {
  width: 100%;
  height: 400px;
  margin-top: 20px;
  border: 1px solid #00ff00;
  box-shadow: 0 0 8px #00ff00;
}

.leaflet-control-attribution {
  font-size: 1px;
  opacity: 0.0;
}

/* zoom control container */
.leaflet-control-zoom {
  background: black !important;
  border: 1px solid #00ff00 !important;
  border-radius: 4px !important;
}

/* + & - */
.leaflet-control-zoom a.leaflet-control-zoom-in,
.leaflet-control-zoom a.leaflet-control-zoom-out {
  color: #00ff00 !important;        
  background: rgba(0, 0, 0, 0.116) !important; 
  border: none !important;
  font-size: 20px !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 34px !important;
  text-align: center !important;
  text-decoration: none !important;
}

/* hover */
.leaflet-control-zoom a:hover {
  background: #00ff00 !important;
  color: black !important;
  text-shadow: 0 0 6px #00ff00 !important;
}

/* ascii art :3 */
.terminal-title {
  font-family: "JetBrains Mono", monospace;
  white-space: pre;
  text-align: center;
  margin: 0 auto; 
  font-size: 12px;
  line-height: 1.2;
  text-shadow: 0 0 1px #00ff00, 0 0 8px #00ff00;
}