:root {
  /* main theme colors */
  --bg-main: #1E0C51;
  --bg-panel: rgba(34, 6, 48, 0.75);
  --bg-panel-solid: rgba(34, 6, 48, 0.95);
  --bg-img: url('https://file.garden/aGKdOwK8lRt7HuzP/starry-pixel-night-stockcake.png');

  /* accents */
  --accent: #ff9dfc;
  --accent-soft: #ffb3f5;
  --accent-dark: #7155C6;

  /* text */
  --text-main: #ffffff;

  /* effects */
  --hover-bg: rgba(255,255,255,0.15);
  --soft-bg: rgba(255,255,255,0.05);
  
  
}


.theme-pink {
  --bg-main: #1E0C51;
  --bg-panel: rgba(34, 6, 48, 0.75);
  --accent: #ff9dfc;
  --accent-soft: #ffb3f5;
  --accent-dark: #7155C6;
  --bg-img: url('https://file.garden/aGKdOwK8lRt7HuzP/Neocities%20Website/Misc%20Images/starry.png');

}

.theme-blue {
  --bg-main: #00021b;
  --bg-panel: rgba(10, 20, 60, 0.75);
  --accent: #0156b2;
  --accent-soft: #9fd0ff;
  --accent-dark: #3a6bc6;
  --bg-img: url("https://knoxstation.neocities.org/image/cloudsbg_dark.gif");
  --cover: cover;
}

.theme-green {
  --bg-main: #0c5130;
  --bg-panel: rgba(10, 60, 40, 0.75);
  --accent: #6fff9d;
  --accent-soft: #aaffc9;
  --accent-dark: #3ac67a;
  --bg-img: url('https://i.pinimg.com/736x/1a/d2/0b/1ad20b15b173a212ebdd2cf0049a1565.jpg');
}

* {
  cursor: url('https://cdn.cursors-4u.net/previews/wii-pointer-1-tilt-f80651dd-32.webp') 40 34, auto !important;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--accent-dark);
  border-radius: 10px;
}

body {
  margin: 0;
  padding: 30px; /* 👈 ADD THIS */
  background-image: var(--bg-img);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-color: var(--bg-main);
  overflow-x: hidden;
}

/* CRT */
.crt {
  position: relative;
  min-height: 100vh;
}

.crt::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(18,16,16,0) 50%, rgba(0,0,0,0.25) 50%),
    linear-gradient(90deg,
      rgba(255,0,0,0.06),
      rgba(0,255,0,0.02),
      rgba(0,0,255,0.06)
    );
  background-size: 100% 2px, 3px 100%;
  z-index: 9999;
  pointer-events: none;
}

/* NAVBAR */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(34, 6, 48, 0.85);
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0px;
  backdrop-filter: blur(50px);
}

ul li {
  position: relative;
}

ul li a {
  color: white;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 8px;
}

ul li a:hover {
  background: var(--soft-bg);
  color: var(--accent);
}

/* DROPDOWN */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  background: rgba(34, 6, 48, 0.95);
  border-radius: 10px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* FONT */
@font-face {
  font-family: "Daydream";
  src: url("../Assets/Fonts/Daydream DEMO.otf");
}

/* NEW FONT FOR SIDENAV LINKS */
@font-face {
  font-family: "WebFont000";
  src: url("../Assets/Fonts/000webfont.ttf") format("truetype");
}

/* APPLY GLOBAL FONT */
html * {
  font-family: "Daydream", sans-serif !important;
}

/* CRT TEXT */
.crt-text {
  animation: textShadow 1.6s infinite;
}

@keyframes textShadow {
  0% { text-shadow: 0.4px 0 rgba(0,30,255,.5), -0.4px 0 rgba(255,0,80,.3); }
  50% { text-shadow: 2px 0 rgba(0,30,255,.5), -2px 0 rgba(255,0,80,.3); }
  100% { text-shadow: 0.4px 0 rgba(0,30,255,.5), -0.4px 0 rgba(255,0,80,.3); }
}

/* LAYOUT */
.layout {
  display: flex;
  justify-content: center;
  gap: 0px;
  margin: 10px auto;
  max-width: 1400px;
  width: 100%;
  padding: 0 10px; /* prevents edge cutoff */
}

/* SIDENAV */
.sidenav {
  width: 325px;
  padding: 15px;
  border-radius: 14px 0px 0px 14px;
  height: 900px;
  background: var(--bg-panel);
  color: var(--text-main);
  border: 5px solid var(--accent);
}


/* APPLY CUSTOM FONT TO SIDENAV LINKS */
.sidenav a {
  display: flex;
  align-items: center;
  gap: 8px; /* space between icon and text */
  margin: 6px 0;
  padding: 6px;
  border-radius: 6px;
  font-family: "WebFont000", sans-serif !important; /* UPDATED FONT */
  font-size: 35px;
  text-decoration:none;
  background: var(--soft-bg);
  color: var(--text-main);
}

..sidenav a img {
  width: 16px;
  height: 16px;
  image-rendering: pixelated; /* keeps pixel art sharp */
}

/* hover effect */
.sidenav a:hover {
  background: var(--hover-bg);
  border: 3px solid var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* MAIN BOX */
.main-box {
  width: 800px;
  max-height: 900px;      /* limit to viewport height */
  padding: 20px;
 border-radius: 0px 0px 0px 0px; 
 position: relative;
  overflow-y: auto;      /* only this scrolls */
  background: var(--bg-panel);
  color: var(--text-main);
  border: 5px solid var(--accent);
}

/* HEADER */
.box-header {
  text-align: right;
  font-size: 2em;
  color: var(--accent-soft);
}

/* INNER NAV */
.box-nav {
  margin: 10px 0;
  padding: 6px;
  background: rgba(255,255,255,0.05);
}

.box-nav a {
  color: var(--accent-soft);
  text-decoration: none;
  margin: 0 5px;
}

.box-nav a:hover {
   color: var(--text-main);
  text-shadow: 0 0 6px var(--accent);

}

/* CONTENT */
.box-content {
  height: auto;          /* remove fixed height */
  overflow: visible;     /* allow content to flow inside main-box */
}

/* SECTIONS */
.section-box {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  border: 3px solid var(--accent);
    border-style: dashed;
}

/* BUTTONS */
.box-btn {
  display: inline-block;
  margin: 5px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.1);
  color: white;
  text-decoration: none;
  border-radius: 8px;
}

.box-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* FULL-WIDTH BLINKIES UNDER LAYOUT */
.blinkies-full {
  width: 100%;
  max-width: 1380px;
  margin: 20px auto;
  padding: 10px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  overflow: hidden; /* stops overflow */
  background: var(--bg-panel);
  color: var(--text-main);
  border: 5px solid var(--accent);
   position: relative;   /* allows z-index to work */
  z-index: 5; 
}

.blinkies-full marquee {
  display: inline-block; /* center properly */
   width: 100%;
  overflow: hidden;
}

/* STAMPS ABOVE LAYOUT */
.stamps-full {
width: 100%;
  max-width: 1385px;
  margin: 20px auto;
  padding: 10px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  overflow: hidden; /* stops overflow */
  background: var(--bg-panel);
  color: var(--text-main);
  border: 5px solid var(--accent);
}}

.stamps-full marquee {
  display: inline-block;
   width: 100%;
  overflow: hidden;
}

/* ===== MOBILE FIX PATCH ===== */
@media (max-width: 900px) {

  /* prevent horizontal scrolling completely */
  html, body {
    overflow-x: hidden;
  }

  /* layout stacking fix */
  .layout {
    flex-direction: column;
    align-items: center;
  }

  /* panels should NEVER have fixed height on mobile */
  .sidenav,
  .main-box,
  .rightbox {
    height: auto !important;
    width: 100% !important;
    max-width: 100%;
    border-radius: 12px;
  }

  /* main content should not scroll inside scroll */
  .main-box {
    max-height: none;
    overflow: visible;
  }

  /* fix huge fonts on mobile */
  .webfont-text {
    font-size: 18px !important;
  }

  .sidenav a {
    font-size: 18px !important;
  }

  /* images never overflow screen */
  img {
    max-width: 100%;
    height: auto;
  }

  /* fix audio + iframes overflow */
  audio, iframe {
    max-width: 100%;
  }

  /* reduce header spacing */
  .header-box,
  .blinkies-full,
  .stamps-full {
    margin: 10px 5px;
  }

  /* fix floating overlays (they cause mobile chaos) */
  .overlay-img,
  .chao-overlay {
    display: none;
  }
}
/* NEW FONT FOR SPECIFIC PARAGRAPH */
.webfont-text {
  font-family: "WebFont000", sans-serif !important;
  font-size: 35px;
  color: #fff;
}



.page {
  display: none;
}

.page.active {
  display: block;
}

::selection {
  background: var(--accent-dark);
}
::-moz-selection {
  background: #7155c6; /* Gecko Browsers */
}

* {
  box-sizing: border-box;
}

.theme-btn {
  margin: 10px 0;
  padding: 8px 12px;
  background: var(--soft-bg);
  color: var(--text-main);
  border: 2px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  font-family: "WebFont000", sans-serif;
}

.theme-btn:hover {
  background: var(--hover-bg);
  box-shadow: 0 0 10px var(--accent);
}

.rightbox {
  width: 335px;
  padding: 15px;
  border-radius: 0px 14px 14px 0px;
  height: 900px;
  background: var(--bg-panel);
  color: var(--text-main);
  border: 5px solid var(--accent);
}

.header-box {
  width: 100%;
  max-width: 1345px;
  margin: 20px auto;
  padding: 10px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-panel);
  border: 5px solid var(--accent);
  overflow: hidden;
    position: relative;  /* needed for z-index to work */
  z-index: -1;          /* higher than GIF */
}

.header-box img {
  width: 100%;
  height: auto;
  border-radius: 10px;}
  

 /* NEW: grid for inner boxes */
.inner-boxes {
  display: flex;
  flex-direction: column; /* stack vertically */
  gap: 15px;
  margin-top: 15px;
}

/* each mini box */
.inner-box {
  padding: 15px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 3px solid var(--accent);
  border-style: dashed;
    /*background-image: url("https://file.garden/aGKdOwK8lRt7HuzP/starry-pixel-night-stockcake.png"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* mobile stack */
@media (max-width: 900px) {
  .inner-boxes {
    grid-template-columns: 1fr;
  }
}

.welcome-mii {
  float: right;
  max-width: 200px;      /* smaller = tighter */
  height: auto;
  margin: 0 10px 5px 0;  /* reduced spacing */
  border-radius: 8px;
}

/* PALM TREE BACKGROUND */
body::before {
  content: "";
  position: fixed;
   bottom: 70px;
  left: 10%;               
  transform: translateX(-50%); 
  width: 60px;
  height: 80px;
  image-rendering: pixelated;


 
  background: url("https://file.garden/aGKdOwK8lRt7HuzP/Neocities%20Website/Misc%20Images/2kki.gif") no-repeat top left;
  background-size: cover;

  z-index: 0; /* behind everything except header */
  pointer-events: none; /* don't block clicks */
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;              /* extra wide so it can scroll */
  height: 100%;

  background: url("https://file.garden/aGKdOwK8lRt7HuzP/Neocities%20Website/Misc%20Images/clouds.png") repeat-x; 
  background-size: auto 70%;  /* keeps clouds tall */
   background-position: bottom left;
  z-index: -2;              /* behind everything */
  pointer-events: none;

  animation: moveClouds 60s linear infinite;
}

/* animation */
@keyframes moveClouds {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.overlay-img {
  position: absolute;       /* overlay independent of layout */
  top: 50px;                /* vertical position */
  left: 150px;              /* horizontal overlap */
  width: 800px;             /* size */
  height: auto;
  z-index: 10;              /* above header image */
  pointer-events: none;     /* clicks pass through */
  
  /* continuous floating animation */
  animation: float 3s infinite ease-in-out;
}

/* Keyframes for smooth up-and-down float */
@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15px); }  /* float up */
  100% { transform: translateY(0); }      /* back to original */
}


/* CHAO OVERLAY IMAGE */
.chao-overlay {
  position: relative;          /* stays in place when scrolling */
  bottom: 0px;             /* distance from bottom */
  right: 50px;              /* distance from right */
  width: 300px;             /* adjust size as needed */
  height: auto;
  z-index: 15;              /* above main elements, below floating overlays if needed */
  pointer-events: none;     /* lets clicks go through */
}


.status-box {
  margin-top: 10px;
  padding: 6px;              /* reduced padding */
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 3px solid var(--accent);
  overflow: hidden;
  line-height: 0;           /* removes weird inline spacing */
  border-style: dashed;
}

/* make iframe fit nicely */
.status-box iframe {
  width: 100%;
  height: 60px;              /* smaller = tighter */
  border: none;
  display: block;            /* removes inline gap */
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* optional: make text inside feel less cramped */
.status-box iframe {
  transform: scale(1);
}



.fm-box {
  margin-top: 10px;
  padding: 6px;              /* reduced padding */
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 3px solid var(--accent);
  overflow: hidden;
  line-height: 0;           /* removes weird inline spacing */
  border-style: dashed;
}

/* make iframe fit nicely */
.fm-box iframe {
  width: 100%;
  height: 20px;              /* smaller = tighter */
  border: none;
  display: block;            /* removes inline gap */
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* optional: make text inside feel less cramped */
.fm-box iframe {
  transform: scale(1);
}
.guestbook-box {
  width: 100%;
  height: 450px; 
  border: 0px dashed var(--accent);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}

.guestbook-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.player-controls {
  display: flex;
  justify-content: center;   /* centers buttons */
  align-items: center;
  gap: 10px;
  width: 100%;
}

.player-controls button {
  width: 36px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* wrapper so tooltip can position correctly */
.mimikyu-wrapper {
  position: fixed;
  bottom: 0px;
  right: 100px;
  z-index: 20;
}

/* keep your image styling */
.mimikyu-wrapper .chao-overlay {
  position: relative;
  width: 300px;
  height: auto;
  pointer-events: auto; /* IMPORTANT so hover works */
}

/* TOOLTIP */
.mimikyu-tooltip {
  position: absolute;
  bottom: 90%;
  right: 75%;
  transform: translateX(50%) scale(0.8);

  background: var(--bg-panel-solid);
  color: var(--accent-soft);

  padding: 6px 10px; /* slightly tighter */
  border-radius: 10px;

  font-family: "WebFont000", sans-serif !important;
  font-size: 30px;

  /* ✨ FIXES */
  line-height: 1;            /* removes vertical spacing */
  letter-spacing: 0px;       /* prevents weird gaps */
  display: inline-block;     /* prevents stretching */
  white-space: nowrap;       /* keeps it one line clean */

  opacity: 0;
  pointer-events: none;

  transition: all 0.25s ease;
  box-shadow: 0 0 10px var(--accent);
}

/* little triangle */
.mimikyu-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 50%;
  transform: translateX(50%);
  
 
}

/* SHOW ON HOVER */
.mimikyu-wrapper:hover .mimikyu-tooltip {
  opacity: 1;
  transform: translateX(50%) scale(1);
}
/* ABOUT PAGE LAYOUT */
.about-row {
  display: flex;
  gap: 15px;
  margin-top:1px;
}

.about-half {
  flex: 1; /* makes them equal width */
}

/* ABOUT TOP BOX LAYOUT */
.about-top {
  display: block; /* allow normal text flow */
}

/* PROFILE IMAGE */
.about-pfp {
  float: left;              /* 👈 THIS enables wrapping */
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid var(--accent);
  margin: 0 15px 10px 0;   /* space between image + text */
}

/* TEXT SIDE */
.about-text {
  display: block;
}

.about-top::after {
  content: "";
  display: block;
  clear: both;
}


/* LOCKED LINKS */
.sidenav a.locked {
  opacity: 0.5;
  filter: grayscale(70%);
  cursor: not-allowed !important;
  position: relative;
}

/* little lock icon */
.sidenav a.locked::after {
  content: " 🔒";
  font-size: 18px;
}

.sidenav a.locked:hover::before {
  content: "not finished yet!";
  position: absolute;
  left: 110%;
  background: var(--bg-panel-solid);
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
}

 
    .player-controls {
  display: flex;
  gap: 10px;
}

.player-controls button {
  background: var(--soft-bg);
  border: 2px solid var(--accent);
  color: var(--text-main);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-family: "WebFont000", sans-serif;
}

.player-controls button:hover {
  background: var(--hover-bg);
  box-shadow: 0 0 6px var(--accent);
}
    
    
   .audiobox {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;

  background: var(--bg-panel);
  border: 3px dashed var(--accent);
  color: var(--accent-soft);

  font-family: "WebFont000", sans-serif;

  box-sizing: border-box;
  overflow: hidden;
}

/* inner layout */
.audio-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

/* audio player fits cleanly */
.audiobox audio {
  width: 100%;
  max-width: 200px;
  height: 22px;
}

/* marquee text */
.audiobox marquee {
  width: 100%;
  font-size: 12px;
  color: var(--accent-soft);
}

/* decorative images layer cleanly */
.audio-decor {
  position: relative;
  width: 100%;
  height: 90px;
}

/* fix positioning instead of negative margins */
.audio-decor .eep {
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 160px;
}

.audio-decor .bubble {
  position: absolute;
  top: 0;
  right: 10px;
  width: 70px;
}

/* HAMBURGER BUTTON (hidden on desktop) */
.hamburger {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 99999;
  font-size: 30px;
  padding: 8px 12px;
  background: var(--bg-panel);
  border: 3px solid var(--accent);
  border-radius: 10px;
  color: var(--text-main);
  cursor: pointer;
}

/* overlay behind menu */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
}

/* MOBILE SIDENAV BEHAVIOR */
@media (max-width: 900px) {

  .hamburger {
    display: block;
  }

  .sidenav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    transform: translateX(-110%);
    transition: transform 0.3s ease;
    z-index: 9999;
    border-radius: 0;
      overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* smooth iOS scrolling */
  max-height: 100vh;
  }

  /* when menu is open */
  body.nav-open .sidenav {
    transform: translateX(0);
  }

  body.nav-open .nav-overlay {
    display: block;
  }
}



