/* Background: tiling star pattern */
body {
  background: url('https://www.transparenttextures.com/patterns/stardust.png');
  font-family: 'Comic Sans MS', cursive, sans-serif;
  color: #ffcc00;
  text-align: center;
  padding: 40px;
  background-color: #000033;
  
   display: flex;
  flex-direction: column;
  align-items: center;

}

/* Headline styling */
h1 {
  font-size: 3em;
  color: #00ffff;
  text-shadow: 2px 2px #ff00ff;
  margin-top: 30px;
}

/* Buttons with retro borders */
.button-container {
  margin-top: 40px;
}

button {
  background-color: #000;
  color: #00ff00;
  font-size: 1.2em;
  font-family: monospace;
  padding: 15px 25px;
  margin: 10px;
  border: 4px double #00ffff;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 10px #ff00ff;
  transition: transform 0.2s ease;
}

button:hover {
  background-color: #222;
  transform: scale(1.05);
}

/* Marquee container */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 50px;
  margin-bottom: 30px;
}

/* Bouncing and scrolling text */
.marquee span {
  display: inline-block;
  font-size: 1.5em;
  color: #ff69b4;
  animation: bounce-marquee 12s linear infinite, bounce-letters 1s ease-in-out infinite alternate;
  text-shadow: 2px 2px 2px #000;
}

@keyframes bounce-marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes bounce-letters {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Blink animation (since <blink> is deprecated) */
blink {
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}
.secret-image {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
}

.secret-image img {
  border: 3px ridge #9900cc;
  background-color: #f3ccff; /* light pastel purple */
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px #66ff66;
}

.secret-image img:hover {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 0 15px #66ff66;
}

.bio-box .stars {
  color: #800080; /* Purple */
  font-size: 16px;
  margin: 10px 0;
  display: block;
}

.loop-marquee {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  width: 100%;
  margin: 20px 0;
  height: 2em;
}

.loop-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee-loop 10s linear infinite;
  color: #00ff00;
}

@keyframes marquee-loop {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}
.bio-container {
  display: flex;
  justify-content: center;
  gap: 30px; /* space between boxes */
  margin: 30px auto;
  max-width: 1300px; /* container width */
  flex-wrap: wrap; /* wraps on smaller screens */
}

.bio-box, .side-box {
  border: 4px solid #4CAF50;
  padding: 20px;
  background-color: #111;
  box-shadow: 0 0 12px #800080;
  line-height: 1.6;
  color: #00ff00;
  width: 45%; /* about half width each */
  text-align: center;
  position: relative;
}

.bio-box .stars, .side-box .stars {
  color: #800080; /* purple stars */
  font-size: 16px;
  margin: 10px 0;
  display: block;
}
.bio-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.bio-box, .side-box {
  border: 4px solid #4CAF50;
  padding: 20px;
  background-color: #111;
  width: 300px;
  box-shadow: 0 0 12px #800080;
  line-height: 1.6;
  color: #00ff00;
  text-align: center;
}

.stars {
  color: #800080;
  font-size: 16px;
  margin: 10px 0;
  display: block;
}


.window {
  width: 45%;
  max-width: 600px;
  border: 3px solid #4CAF50;
  box-shadow: 0 0 12px #800080;
  background-color: #111;
  font-family: 'Press Start 2P', monospace;
  color: #00ff00;
}

.title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  box-sizing: border-box;
  background-color: #222;
  border-bottom: 2px solid #4CAF50;
  cursor: grab;
  user-select: none;
}

.window-buttons {
  display: flex;
  gap: 5px;
}

.window-buttons .btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.window-buttons .red {
  background-color: #ff605c;
}

.window-buttons .yellow {
  background-color: #ffbd44;
}

.window-buttons .green {
  background-color: #00ca4e;
}

.window-title {
  font-size: 0.75em;
}

.window-content {
  padding: 20px;
  text-align: center;
}


/* Make window draggable */
.window {
  position: absolute;
  cursor: move;
  /* Keep your existing styles here */
}

/* Button press effect */
.window-buttons .btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 0 0 1px #000;
  transition: transform 0.1s ease;
}

.window-buttons .btn:active {
  transform: translateY(2px);
  box-shadow: inset 0 0 0 2px #000;
}
.window, .side-box {
  position: relative; /* so left/top work */
  top: 100px; /* initial position */
  left: 50px; /* initial position */
  cursor: grab; /* show grabbing cursor */
  user-select: none; /* prevent text selection while dragging */
}
body {
  cursor: url('cat-cursor.png'), auto;
}
/* Static version of draggable window */
.static-window {
  position: relative;
  margin: 60px auto;
  width: 90%;
  max-width: 600px;
  cursor: default;

  /* override .window offset */
  left: auto;
  top: auto;
}



/* Box for the gif marquee in top-right */
.gif-marquee-box {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 200px;
  height: 50px;
  overflow: hidden;
  border: 2px solid #00ff00;
  background-color: #111;
  box-shadow: 0 0 8px #800080;
  z-index: 1000;
}

/* Inner scrolling animation */
.gif-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-gifs 10s linear infinite;
}

.gif-marquee img {
  height: 40px;
  margin: 0 5px;
}

@keyframes scroll-gifs {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.oc-gallery {
  display: flex;           /* flex allows wrapping and variable size */
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px auto;
  max-width: 800px;        /* adjust as needed */
}

.oc-box {
  /* remove width and height */
  /* width: 150px; */
  /* height: 150px; */

  background-color: #111;
  border: 3px solid #4CAF50;
  box-shadow: 0 0 10px #800080;
  display: inline-flex;    /* inline-flex to shrinkwrap content */
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform-origin: center center;
  animation: popIn 0.3s forwards;
  padding: 5px;            /* optional padding */
}

.oc-box img {
  /* show full natural size, no max restrictions */
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;   /* optional, to avoid overflow on very large images */
  max-height: 150px; /* optional max height limit */
  object-fit: contain;
}
/* Fullscreen overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.9);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 10000;
  cursor: zoom-out;
}

.overlay img {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 0 20px #00ff00;
  border: 5px solid #4CAF50;
  border-radius: 8px;
  animation: popIn 0.3s forwards;
}

/* Reuse your existing popIn animation or define here */
@keyframes popIn {
  from {
    transform: scale(0.7);
    opacity: 0.6;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.oc-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #111;
  border: 4px solid #4CAF50;
  box-shadow: 0 0 20px #800080;
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  z-index: 2000;
  max-width: 90%;
  max-height: 80%;
  color: #00ff00;
}

.oc-popup.hidden {
  display: none;
}

.oc-popup-content img {
  max-width: 300px;
  max-height: 300px;
  object-fit: contain;
  border: 3px solid #4CAF50;
  box-shadow: 0 0 15px #800080;
}

.popup-info {
  max-width: 300px;
  font-family: monospace;
  font-size: 1em;
  line-height: 1.3;
}

#popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff605c;
  border: none;
  color: #fff;
  padding: 5px 10px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
}



.win98-body {
  background-color: #008080;
  font-family: 'MS Sans Serif', sans-serif;
  margin: 0;
  padding: 20px;
}

.window98-frame {
  width: 800px;
  border: 2px solid #000;
  background-color: #C0C0C0;
  box-shadow: 4px 4px #404040;
}

.title-bar {
  background: linear-gradient(to right, #000080, #0000CD);
  color: white;
  padding: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.window-buttons span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  background-color: silver;
  border: 1px solid black;
}

.menu-bar {
  background-color: #E0E0E0;
  padding: 4px 8px;
  display: flex;
  gap: 10px;
  font-size: 14px;
}

.explorer-body {
  display: flex;
}

.sidebar {
  width: 200px;
  background-color: #F0F0F0;
  border-right: 2px solid #A0A0A0;
  padding: 10px;
  font-size: 14px;
}

.sidebar p {
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-area {
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;
}

.folder-icon {
  text-align: center;
  width: 100px;
}

.folder-icon img {
  width: 48px;
  height: 48px;
}

.post-img {
  border: 2px solid black;
  box-shadow: 3px 3px #888;
  background-color: white;
  display: block;
  max-width: 100%;
  height: auto;
}

.img-wrapper {
  display: inline-block; /* shrink to fit */
  border: 2px solid black;
  box-shadow: 3px 3px #888;
  background: white;
}

.img-wrapper img {
  display: block; /* removes inline spacing */
}


