@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');
}

body {
  color: #fff;
  font-family: "VCR OSD Mono", "Pizel", sans-serif;
}

body:has(#togBtn:checked) {
  font-family: "FairfaxPona", sans-serif;
}

LangSwitch {
  float: right;
  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;
}

.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;
}

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

.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;
  }
}

Lasina {
  font-family: "VCR OSD Mono", sans-serif !important;
}

.switch {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 34px;
  float: right;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ca2222;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2ab934;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(55px);
  -ms-transform: translateX(55px);
  transform: translateX(55px);
}

.on
{
  display: none;
}

.on, .off
{
  color: white;
  position: absolute;
  transform: translate(-50%,-50%);
  top: 50%;
  left: 50%;
  font-size: 10px;
  font-family: Verdana, sans-serif;
}

input:checked+ .slider .on
{display: block;}

input:checked + .slider .off
{display: none;}
