/* =========================
   BODY & WRAPPER
========================= */
html, body {
  margin: 0;
  cursor: url("https://artwork.neocities.org/pixels/cursors/tumblr_inline_p8c0yr97Uf1rhwzwl_75sq.gif"), default;
  background: url("/images/blue059.jpg");
  font-family: 'Basiic', sans-serif;
  font-size: 14px;
  color: #576fdd;
  scroll-behavior: smooth;
}

#wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;  /* center layout horizontally */
  width: 100%;
  box-sizing: border-box;
}

/* =========================
   LAYOUT (BLURRED BACKGROUND)
========================= */
.layout {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 20px;
  box-sizing: border-box;
  gap: 20px; /* space between header, container, footer */
}

/* =========================
   HEADER
========================= */

#header-container #header {
  width: auto;
  padding: 20px 40px;
  border-radius: 12px;
  background: linear-gradient(to right, #b8b7fc, #a9c3ff);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

#header h1 {
  font-size: 32px;
  text-align: center;
  color: #ffffff;
  text-shadow: 2px 2px rgb(61, 52, 183);
  margin: 0;
}

marquee {
  color: #576fdd;
  font-weight: bold;
}

/* =========================
   GRID CONTAINER
========================= */
.container {
  display: grid;
  grid-template-columns: 200px minmax(300px, 1fr) 200px;
  gap: 20px;   /* gap between columns */
  width: 100%;
}

/* =========================
   LEFT / RIGHT SIDEBARS
========================= */
#left {
  position: sticky;
  top: 20px; /* sticks 20px from top */
  align-self: start;
}

#content {
  /* content scrolls naturally with page */
}

/* =========================
   NAVIGATION (LEFT SIDEBAR)
========================= */
#nav-container .box {
}

.side-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  
}

.side-nav li a {
  display: block;
  padding: 4px 12px;
  text-decoration: none;
  transition: 0.8s ease;
}


/* =========================
   DROPDOWN NAV LINKS (optional)
========================= */
.side-nav li ul {
  display: none;
  padding-left: 10px;
  margin-top: 5px;
}

.side-nav li:hover ul {
  display: block;
}

.side-nav li ul li a {
  color: rgb(89, 85, 147);
  background: #ffe6fb;
}

/* =========================
   BOXES
========================= */
.box {
  background: white;
  border: 20px solid transparent;
  border-image: url("/images/scallop-border.png") 150 repeat;
  padding: 0px 10px 10px 10px;
  margin-bottom: 20px;
  border-radius:5px;
  min-height: 0;
}

/* Scrollable box if needed */
.scrollable {
  overflow-y: auto;
}

/* Scrollbox example */
.scrollbox {
  max-height: 300px;
  overflow: auto;
  border: 20px solid transparent;
  border-image: url("/images/scallop-border.png") 150 repeat;
}

/* =========================
   WINDOWS 95 STYLE WINDOW
========================= */
.win-window {
  border: 20px solid transparent;
  border-image: url("/images/scallop-border.png") 150 repeat;
  background: white;
}

.win-titlebar {
  background: linear-gradient(to right, #b8b7fc, #a9c3ff);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 5px;
  font-size: 13px;
  font-weight: bold;
}

.win-title-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.win-controls {
  display: flex;
  gap: 2px;
}

.win-btn {
  width: 18px;
  height: 18px;
  font-size: 12px;
  border: 2px solid #414dce;
  background: #fdefff;
  box-shadow: inset -2px -2px #c0b3da, inset 2px 2px #ffffff;
  padding: 0;
}

.win-btn:active {
  box-shadow: inset 2px 2px #808080, inset -2px -2px #ffffff;
}

.win-content {
  padding: 10px;
  background: white;
  border-top: 2px solid #808080;
}

/* =========================
   FOOTER
========================= */
#footer-container {
  width: 100%;
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
}


/* =========================
   WALKING GIF
========================= */
.walker {
  position: fixed;
  bottom: 5px;
  right: -200px; /* start off-screen */
  height: 28px; /* adjust size */
  z-index: 9999;
  pointer-events: none;

  animation: walk-across 50s linear infinite;
}

/* Animation */
@keyframes walk-across {
  0% {
    right: -50px;
  }
  100% {
    right: 100vw;
  }
}


/* =========================
   PASTEL RAINBOW LINK HOVER
========================= */
a {
  text-decoration: none;
  color: rgb(232, 119, 255);
  transition: 0.3s ease;
  
}

a:hover {
background: linear-gradient(
    90deg,
    #ffc6ff,
    #ffd6a5,
    #caffbf,
    #9bf6ff,
    #a0c4ff,
    #bdb2ff,
    #ffc6ff
  );
  background-size: 400% 100%;
  animation: rainbowHighlight 8s linear infinite;
  border-radius: 15px;
}

@keyframes pastelMove {
  0% { background-position: 0%; }
  100% { background-position: 400%; }
}

/* =========================
   GLITTER RAINBOW TEXT
========================= */
.glitter {
  font-weight: bold;
  font-style: italic;
  color: hotpink;
  position: relative;
  display: inline-block;
  padding: 2px 4px;
  background: linear-gradient(
    90deg,
    #ffc6ff,
    #ffd6a5,
    #caffbf,
    #9bf6ff,
    #a0c4ff,
    #bdb2ff,
    #ffc6ff
  );
  background-size: 400% 100%;
  animation: rainbowHighlight 8s linear infinite;
  border-radius: 3px;
}

@keyframes rainbowHighlight {
  0% { background-position: 0% 0; }
  100% { background-position: 400% 0; }
}

/* =========================
   SCROLLBAR STYLING
========================= */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: rgb(255, 255, 255);
}

*::-webkit-scrollbar-thumb {
  background: rgb(163, 174, 255);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #576fdd;
}

* {
  scrollbar-color: rgb(163, 174, 255) rgb(255, 255, 255);
  scrollbar-width: thin;
}

/* =========================
   MOBILE RESPONSIVE
=========================*/
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }

  #left, #right {
    position: relative;
    top: auto;
  }
}
