/* scrolling background */
body {
  margin: 0;
  text-align: center;
  font-family: Arial, sans-serif;

  background-image: url("background.png");
  background-repeat: repeat-x;
  background-position: 0 0;
  background-attachment: fixed;
  animation: scroll-bg 30s linear infinite;
}

@keyframes scroll-bg {
  from { background-position: 0 0; }
  to { background-position: -1000px 0; }
}

/* content box */
.content-box {
  display: inline-block;
  margin: 40px auto;
  padding: 20px;

  background-image: url("panel.png");
  background-repeat: repeat;

  border: 2px solid black;
}

/* WDIDNOW FRAME */
.window-frame {
  width: 300px;
  height: 200px;
  padding: 8px;

  background-image: url("window-frame.png");
  background-repeat: repeat;

  border: 2px solid black;
  margin: 10px auto;
}

.window-content {
  width: 100%;
  height: 100%;
  padding: 6px;

  background-image: url("window-bg.png");
  background-repeat: repeat;

  overflow-y: auto;
  overflow-x: hidden;

  box-sizing: border-box;
}

/*ew chromium*/
.window-content::-webkit-scrollbar {
  width: 16px;
}

.window-content::-webkit-scrollbar-track {
  background-image: url("scroll-track.png");
  background-repeat: repeat;
}

.window-content::-webkit-scrollbar-thumb {
  background-image: url("scroll-thumb.png");
  background-repeat: repeat;
  border: 2px solid black;
}





/* button row */
.button-row {
  margin-top: 10px;
  margin-bottom: 20px;
}

/* textured buttons */
.tex-button {
  display: inline-block;
  padding: 10px 16px;
  margin: 4px;

  background-image: url("Button.png");
  background-repeat: repeat;

  color: black;
  text-decoration: none;
  border: 2px solid black;

  transition: filter 0.2s;
}

/* hover brighten */
.tex-button:hover {
  filter: brightness(1.3);
}

/* pixelated gifs */
.gif-row {
  display: flex;
  justify-content: center;
  gap: 6px;        /* smaller number = closer */
}

.pixel-gif {
  width: 100px;
  height: 100px;

  image-rendering: pixelated;
  image-rendering: crisp-edges;

  transform: translateZ(0);
}

