* {
    margin: 0;
    padding: 0;
}

/* Start https://www.cursors-4u.com */
* {cursor: url(https://cur.cursors-4u.net/symbols/sym-2/sym185.ani), url(https://cur.cursors-4u.net/symbols/sym-2/sym185.png), auto !important;} /* End https://www.cursors-4u.com */

/* add near the top of medialog.css */
/* Host or reference your heading/body fonts */
@font-face {
    font-family: 'Adelia';
    src: url('https://willdotjpg.gay/fonts/ADELIA.OTF');
    font-display: swap;
}

@font-face {
    font-family: 'Daisywheel';
    src: url('https://willdotjpg.gay/fonts/daisywhl.otf');
    font-display: swap;
}

/* Prefer WOFF2/WOFF for best performance — generate and add .woff2/.woff files to assets/ */
@font-face {
  font-family: 'NDS-BIOS';
  src: url('assets/Nintendo-DS-BIOS.woff2') format('woff2'),
       url('assets/Nintendo-DS-BIOS.woff') format('woff'),
       url('assets/Nintendo-DS-BIOS.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* If you want to convert locally: use Font Squirrel/Transfonter online, or run a local tool like 'woff2_compress' or 'ttf2woff2' and place the resulting files in assets/ */

/* then apply it — example: entire page */
body {
    background-image: url('https://doqmeat.com/!g/bg/yellobg.png');
    font-family: 'NDS-BIOS', sans-serif;
}

/* Ensure main content and nav use the NDS-BIOS font (fall back to Daisywheel) */
.main, .content, .navigation, .category {
    font-family: 'NDS-BIOS', 'Daisywheel', sans-serif;
}

h2{
    text-decoration: underline;
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: #2db400;;
    text-decoration-thickness: 0.1rem;
    font-size: 30px;
    font-family: 'NDS-BIOS', 'Daisywheel', sans-serif;
} 

.title {
    font-family: 'NDS-BIOS', 'Adelia', sans-serif;
    position: absolute;
    margin-left: 400px;
    margin-top: 100px;
    z-index: 1;
    font-size: 60px;
} 

.main {
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translate(-50%);
    width: 800px;
    height: 500px;
    background-color: #fff;
    border-radius: 10px;
    overflow: visible;
    font-family: 'NDS-BIOS', 'Daisywheel', sans-serif;
} 

.vl {
    border-left: 1px solid #adb6ff;
    height: 400px;
    position: absolute;
    margin-left: 250px;
    margin-top: 50px;
}

.content {
    position: absolute;
    margin-left: 270px;
    width: 510px;
    height: 450px;
    padding: 10px;
    margin-top: 40px;
    overflow-y: auto;
    overflow-x: visible;
    z-index: 5; /* make sure content sits above decorative frame */
    background: transparent;
}

.navigation {
    position: absolute;
    width: 230px;
    height: 500px;
    padding: 10px;
    margin-top: 40px;
    overflow: auto;
}

.category {
    font-family: 'NDS-BIOS', 'Daisywheel', sans-serif;
    font-size: 20px;
    width: 200px;
    background-color: #2db400;
    border: none;
    border-radius: 5px;
}

/* Decorative washi tape across the top of the media log */
.main::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%) rotate(-6deg);
  width: 360px;
  height: 60px;
  background-image: url("https://doqmeat.com/!g/deco/washitape4.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 20;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.15));
}

@media (max-width: 900px) {
  .main::before {
    width: 260px;
    top: -18px;
    transform: translateX(-50%) rotate(-5deg);
  }
}

/* Floating footer nav (medialog page only) */
.medialog-footer {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(255, 255, 255, 0.9);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  font-family: 'NDS-BIOS', 'Daisywheel', sans-serif;
  backdrop-filter: blur(6px);
}

.footer-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-link {
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s ease, transform 0.12s ease;
  border: 1px solid rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-link:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

/* removed active-page highlight: links no longer show a persistent active style */

/* SVG icon sizing and color (inherit from link color) */
.footer-link svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

/* accessible text helper */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width:520px){
  .medialog-footer { right: 12px; left: auto; transform: none; bottom: 12px; padding: 6px 10px; }
  .footer-link { font-size: 12px; padding: 5px 8px; }
}