@font-face {
  font-family: "VCR OSD Mono";
  src: url(Fonts/VCR_OSD_MONO_1.001.ttf) format('truetype');
}

@font-face {
  font-family: "FairfaxPona";
  src: url(Fonts/FairfaxPona.ttf) format('truetype');
}

@font-face {
  font-family: "Pizel";
  src: url(Fonts/Pizel.ttf) format('truetype');
}

@font-face {
  font-family: "PixelAE";
  src: url(Fonts/PixelAE.ttf) format('truetype');
}

* {
  color: #fff;
  font-family: "PixelAE";
}

LangSwitch {
  float: left;
  padding: 0px;
  font-family: "VCR OSD Mono", "Pizel", "PixelAE", sans-serif !important;
}

h1 {
  font-size: 50px;
  padding: 0px;
  background: linear-gradient(to top, #00cc22, #007744);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  color: #99aabb;
}

h3, h4 {
  background: linear-gradient(to top, #ff0000, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a {
  color: #5555ff;
}

.UnderTitle {
  padding: 0px;
  background: linear-gradient(to top, #00cc22, #007744);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

programming {
  background: linear-gradient(to top, #008800, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

anim {
  background: linear-gradient(to top, #880088, #ff00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

langV {
  background: linear-gradient(to top, #55aabb, #aaeeff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Scrolling reference gallery (pure CSS, no JS, no Lua, nothing) --- */

.gallery-reel {
  width: 100%;
  max-width: 700px;
  overflow: hidden;
  position: relative;
  margin: 14px 0 26px;
}

.gallery-reel::before,
.gallery-reel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.gallery-reel::before {
  left: 0;
  background: linear-gradient(90deg, #10196d, transparent);
}
.gallery-reel::after {
  right: 0;
  background: linear-gradient(270deg, #10196d, transparent);
}

.gallery-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: gallery-scroll 22s linear infinite;
}

.gallery-reel:hover .gallery-track {
  animation-play-state: paused;
}

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

.gallery-item {
  flex: 0 0 auto;
  width: 160px;
  text-align: center;
}

.gallery-item img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid #555555;
  display: block;
  background: #222222; /* shows while you're missing an image file */
}

.gallery-item span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

/* accent border per section, matching the gradient tag colors above */
.gallery-programming .gallery-item img { border-color: #00cc22; }
.gallery-anim .gallery-item img { border-color: #cc00cc; }
.gallery-langV .gallery-item img { border-color: #55aabb; }

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    animation: none;
    overflow-x: auto;
  }
}
