html {
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: url(https://cur.cursors-4u.net/holidays/hol-4/hol335.cur), auto;
}
html::-webkit-scrollbar {
  display: none;
}

body {
  background-image: url("https://anistriking.neocities.org/assets/bg.gif");
  background-attachment: fixed;
  font-family: 'Press Start 2P', courier;
  color: white;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  text-align: center;
  font-size: 14px;
  background: linear-gradient(90deg, #ff004c, #00f2ff, #fffd4c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 20px 0;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  background-color: black;
  padding: 10px;
}
nav ul li {
  margin: 0 10px;
}
nav ul li a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}
nav ul li a:hover {
  text-decoration: underline;
  color: #ff00ff;
}

.card {
  border: ridge 3px white;
  padding: 15px;
  margin: 20px auto;
  max-width: 600px;
  background-color: rgba(0, 0, 0, 0.8);
}

.sidenav-l, .sidenav-r {
  height: 100%;
  width: 120px;
  position: fixed;
  top: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 5px;
  background-color: black;
  color: white;
  font-size: 11px;
  font-family: monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.sidenav-l {
  left: 0;
}
.sidenav-r {
  right: 0;
}

.sidenav-l img, .sidenav-r img {
  width: 80px;
  height: auto;
  border: ridge 2px white;
  background-color: black;
  display: block;
}

.sidenav-l ul, .sidenav-r ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.sidenav-l ul li, .sidenav-r ul li {
  margin: 10px 0;
}
.sidenav-l a, .sidenav-r a {
  color: white;
  text-decoration: none;
}
.sidenav-l a:hover, .sidenav-r a:hover {
  color: #ff00ff;
}

.main.scroll {
  position: relative;
  z-index: 1;
  margin-left: 130px;
  margin-right: 130px;
  padding: 20px;
  box-sizing: border-box;
  min-height: 100vh;
}

.main header {
  background-color: black;
  color: white;
  padding: 20px;
  border: 4px solid red;
  text-align: center;
  font-family: monospace;
}

.border {
  border: ridge 3px white;
  display: block;
  max-width: 100%;
  margin: 10px auto;
}

.shake img:hover {
  animation: shake 0.5s infinite;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

@keyframes floatBlink {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-50px) rotate(180deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

.bg-gif {
  position: fixed;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
  width: 80px;
  animation: floatSpin 20s infinite ease-in-out;
}

.bg-gif-slide {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: url("https://anistriking.neocities.org/assets/лоо.gif") center/contain no-repeat;
  background-size: cover;
  opacity: 0.8;
}

@keyframes floatSpin {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(180deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

.rainbow-outline-wrap {
  position: relative;
  display: inline-block;
  font-size: 12px;
  font-family: 'Press Start 2P', courier;
  background-color: black;
  padding: 10px;
  border: 2px dashed red;
}

.rainbow-outline-shadow {
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  color: white;
  text-shadow:
    -1px -1px 0 white,
     1px -1px 0 white,
    -1px  1px 0 white,
     1px  1px 0 white,
     0 0 8px white,
     0 0 10px red;
}

.rainbow-text {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, red, orange, yellow, lime, cyan, violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  animation: rainbowMove 5s infinite linear;
}

@keyframes rainbowMove {
  0% { background-position: 0%; }
  100% { background-position: 100%; }
}

.language-banner {
  text-align: center;
  padding-top: 15px;
  background-color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.language-banner h2 {
  color: #bc210a;
  font-family: 'Press Start 2P', courier;
  font-size: 14px;
  margin-bottom: 10px;
}

.language-banner .slideshow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.language-banner .slideshow img,
.language-banner .slideshow iframe {
  height: 54px;
  object-fit: contain;
}

.language-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.language-flags img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px #ff003c, 0 0 16px #ff003c;
}

body, p, h1, h2, h3, a, li, strong {
  font-family: 'Lucida Console', Consolas, monospace !important;
  color: white;
}
