
    @font-face {
      font-family: "PixelFont";
      src: url("https://fonts.cdnfonts.com/s/73919/PerfectDOSVGA437.woff") format("woff");
    }

    :root {
      --header-bg: rgba(0, 0, 0, 0.85);
      --body-bg: url('0.gif');
    }

    * {
      box-sizing: border-box;
    }

    html, body {
      overflow-x: auto; 
      touch-action: pan-x pan-y; 
      background: var(--body-bg) repeat;
      font-family: 'PixelFont', monospace;
      color: #ffb6c1;
    }

    .blog-panel, .sidebar, .main-content, .post {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .blog-panel {
      padding: 1rem;
      background-color: rgba(0, 0, 0, 0.8);
      border: 3px double #ff00ff;
      box-shadow: 0 0 15px #00ffff;
    }

    .blog-title {
      text-align: center;
      font-size: 2rem;
      color: #ffb6c1;
      text-shadow: 0 0 5px #ff00ff;
      margin-bottom: 2rem;
    }

    .post {
      margin-bottom: 2rem;
      padding: 1rem;
      border: 2px dashed #00ffff;
      color: #fff;
      background-blend-mode: darken;
    }

    .post img {
      max-width: 100%;
      height: auto;
    }

    .post-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
      margin-top: 0.5rem;
    }

    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: var(--header-bg);
      color: #ffb6c1;
      padding: 1rem;
      text-align: center;
      border-bottom: 2px solid #ff00ff;
      z-index: 1000;
      box-shadow: 0 0 10px #00ffff;
    }

.layout {
  display: grid;
  grid-template-columns: 0.8fr 4fr 0.8fr;
  gap: 1rem;
  margin: 10rem auto 2rem;
  padding: 1rem;
  max-width: 100%;  
  position: relative;
  z-index: 0;
}

.sidebar.left, .sidebar.right, .main-content {
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem;
  border: 2px solid #ff00ff;
  box-shadow: 0 0 10px #00ffff;
}

    .left-inner, .main-inner, .right-inner {
      transform-origin: top center;
    }

    footer {
      text-align: center;
      color: #ccc;
      margin: 3rem auto 2rem;
    }

    .sidebar h3 {
      color: #00ffff;
    }

    .sidebar a {
      color: #ff00ff;
      text-decoration: none;
    }

    .sidebar a:hover {
      color: #00ffff;
      text-decoration: underline;
    }

    select,
    input,
    button {
      font-size: inherit;
      padding: 0.4em;
      max-width: 100%;
      width: 100%;
      box-sizing: border-box;
    }

header img.header-img {
  height: 8rem;
  vertical-align: middle;
}

.image-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem; /* space between images */
}

.image-stack img {
  max-width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 0 10px #ff00ff;
  border: 1px solid #00ffff;
}


    .star {
      position: fixed;
      font-size: 1.2rem;
      animation: diagonalFall linear infinite;
      pointer-events: auto;
      z-index: 998;
    }

    @keyframes diagonalFall {
      to {
        transform: translate(50vw, 100vh);
        opacity: 0;
      }
    }

    .glitter {
      position: absolute;
      font-size: 1rem;
      animation: sparkle 0.5s ease-out forwards;
      pointer-events: none;
      z-index: 9999;
    }

    @keyframes sparkle {
      to {
        transform: scale(2);
        opacity: 0;
      }
    }

   

    @keyframes scrollText {
      0% {
        transform: translateX(100%);
      }
      100% {
        transform: translateX(-100%);
      }
}

@keyframes disco {
  from {
    filter: hue-rotate(0deg) brightness(1.2);
    transform: rotate(-2deg);
  }
  to {
    filter: hue-rotate(360deg) brightness(1.5);
    transform: rotate(2deg);
  }
}

.disco {
  animation: disco 0.4s infinite alternate !important;
  transition: all 0.2s ease !important;
}
