/* =========================
        ૮ฅ・ﻌ・აฅ
      CODE BY PHORTIE
========================= */

/*RESET*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*FONTS*/
@font-face {
  font-family: "DataLatin";
  src: url("fonts/data-latin.ttf") format("truetype");
}

@font-face {
  font-family: "DataUnifon";
  src: url("fonts/data-unifon.ttf") format("truetype");
}

@font-face {
  font-family: "KA1";
  src: url("fonts/ka1.ttf") format("truetype");
}

@font-face {
  font-family: "MostWasted";
  src: url("fonts/mostwasted.ttf") format("truetype");
}

@font-face {
  font-family: "VCR";
  src: url("fonts/vcr.ttf") format("truetype");
}

/*===========================*/
/*COOKIES*/
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  background: #111;
  color: white;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: Arial, sans-serif;
  z-index: 9999;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

#cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

#cookie-banner a {
  color: #8ec5ff;
}

#cookie-banner a:hover {
  color: #bbefff;
}

#accept-cookies {
  background: white;
  color: black;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: bold;
}

#accept-cookies:hover {
  background: #8ec5ff;
}

/*===========================*/
/*===========================*/
body,
.header-btn {
  font-family: "vcr", monospace;
}

.header {
  font-family: "KA1", monospace;
}

.sidebar,
.menu-link {
  font-family: "DataLatin", monospace;
}

h1 {
  font-size: 3rem;
  text-shadow: 3px 3px #000;
  margin-bottom: 10px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/*GENERAL*/
body {
  background: #111;
  background-image: url("images/metal026.jpg");
  color: white;
  overflow: hidden;
  background-repeat: repeat;
  background-size: auto;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: rgba(0, 0, 0, 0.3);
}

a {
  color: #7B2727;
  text-decoration: none;
}

a:hover {
  color: white;
}

a:active {
  color: white;
}

/*HEADER*/
.header {
  overflow: hidden;
  position: fixed;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background-image: url("images/metal003.gif");
  background-repeat: repeat;
  background-size: auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  padding: 0 20px;
  font-size: 24px;
  letter-spacing: 2px;
  text-shadow: 2px 2px #000;
  z-index: 1000;
  box-shadow:
    2px 2px 0px #000,
    inset 0px -5px 8px rgba(0, 0, 0, 0.5),
    inset 0px 1px 0px rgba(255, 255, 255, 0.25);
}

.header h1 {
  position: relative;
  display: inline-block;
  z-index: 1;
  cursor: default;
  margin: 0;
}

.header h1::before {
  content: "";
  position: absolute;

  background: url("images/blood-splat.gif");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 2;
  transition: opacity 0.2s ease;
}

.header h1:hover::before {
  opacity: 0.6;
}

.header-column {
  display: flex;
  align-items: center;
}

.left-column {
  justify-content: flex-start;
  gap: 15px;
}

.center-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.right-column {
  justify-content: flex-end;
}

/*social buttons / youtube / twitch*/
.social-icon-btn {
  display: inline-block;
  padding: 12px;
}

.social-icon-btn img {
  display: block;
  width: 70px;
  height: 70px;
  image-rendering: pixelated;
}

.social-icon-btn:hover {
  transform: translate(-1px, -1px);
  filter:
    drop-shadow(4px 0 0 black) drop-shadow(0 4px 0 black);
}

.social-icon-btn:hover img {
  filter: brightness(1.2);
}

.social-icon-btn:active {
  transform: translate(2px, 2px);
}

.social-icon-btn:active img {
  transform: scale(0.95);
}

/*nav buttons*/
.header-nav-btns {
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  padding: 2px 8px;
  color: #fff;
  background-image: url("images/likesomesortabrickidk.png");
  border: 2px solid #000;
  box-shadow: 2px 2px 0px #000, inset -2px -2px 0px rgba(0, 0, 0, 0.4),
    inset 2px 2px 0px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  text-transform: uppercase;
  image-rendering: optimizeSpeed;
  position: relative;
  filter: brightness(0.8);
}

.header-nav-btns:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #000, inset -2px -2px 0px rgba(0, 0, 0, 0.4),
    inset 2px 2px 0px rgba(255, 255, 255, 0.2);
  filter: brightness(1);
}

.header-nav-btns:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0px #000, inset -2px -2px 0px rgba(0, 0, 0, 0.4),
    inset 2px 2px 0px rgba(255, 255, 255, 0.2);
}


/*SIDEBAR*/
.sidebar {
  position: fixed;
  top: 120px;
  left: 0;
  width: 220px;
  height: calc(100vh - 100px);
  background-image: url("images/metal021.jpg");
  background-repeat: repeat-y;
  background-size: 220px auto;
  border-right: 4px solid black;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow:
    2px 2px 0px #000,
    inset 0px -3px 5px rgba(0, 0, 0, 0.55),
    inset 3px 0px 0px rgba(0, 0, 0, 0.25),
    inset -3px 0px 0px rgba(0, 0, 0, 0.25),
    inset 0px 1px 0px rgba(255, 255, 255, 0.2);
}

.menu-x {
  display: none;
}

.menu-title {
  font-size: 28px;
  font-weight: 800;
  color: rgb(255, 255, 255);
  margin-bottom: 10px;
  letter-spacing: 6px;
  text-shadow:
    4px 0 0 black,
    -4px 0 0 black,
    0 4px 0 black,
    0 -4px 0 black;
}

.menu-toggle {
  display: none;
}

.menu-link {
  display: block;
  text-decoration: none;
  font-family: monospace;
  font-size: 18px;
  color: white;
  background-image: url("images/metal023.jpg");
  border: 2px solid black;
  padding: 6px 10px;
  box-shadow: 2px 2px 0px #000;
  transition: none;
  filter: brightness(0.8);
  text-shadow:
    2px 0 0 black,
    -2px 0 0 black,
    0 2px 0 black,
    0 -2px 0 black;
}

.menu-link:hover {
  transform: translate(-2px, -2px);
  filter: brightness(1);
  box-shadow: 4px 4px 0px #000;
}

.menu-link:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #000;
}

.bottom-link {
  margin-top: auto;
  margin-bottom: 50px;
}

/*MAIN*/
.mainwrap {
  align-items: flex-start;
  display: flex;
  margin-top: 120px;
  margin-left: 220px;
  height: 100vh;
  overflow-y: scroll;
  box-shadow: inset -8px 0px 10px 20px rgb(0, 0, 0);
}

.mainwrap::-webkit-scrollbar {
  width: 16px;
}

.mainwrap::-webkit-scrollbar {
  width: 16px;
}

.mainwrap::-webkit-scrollbar-track {
  background: #454545;
}

.mainwrap::-webkit-scrollbar-thumb {
  background: #626262;
}

.mainwrap::-webkit-scrollbar-thumb:hover {
  background: #797979;
}

.mainwrap::-webkit-scrollbar-track {
  border: 1px solid black;
}

.mainwrap::-webkit-scrollbar-thumb {
  border: 1px solid black;
}


.main {
  flex: 1;
  min-width: 0;
  position: relative;
  margin: 20px 20px 100px 20px;
}

.mainbox {
  border: 2px solid #7B2727;
  padding: 16px;
  box-shadow: 4px 4px #000000;
  background: rgba(0, 0, 0, 0.9);
  margin-bottom: 80px;
  text-align: left;
}

ul {
  list-style-type: square;
  padding-left: 30px;
}

#titletext {
  color: white;
  font-size: 4rem;
  letter-spacing: 1px;
  text-align: center;
  text-shadow:
    2px 0 0 #7B2727,
    -2px 0 0 #7B2727,
    0 2px 0 #7B2727,
    0 -2px 0 #7B2727,
    4px 0 0 black,
    -4px 0 0 black,
    0 4px 0 black,
    0 -4px 0 black;
}

.icon-wrapper.jump {
  animation: jump 0.35s ease;
}

.icon {
  margin: 0 auto;
  image-rendering: optimizeSpeed;
  transition: transform 0.1s;
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  filter:
    drop-shadow(1px 0 0 #7B2727) drop-shadow(-1px 0 0 #7B2727) drop-shadow(0 1px 0 #7B2727) drop-shadow(0 -1px 0 #7B2727) drop-shadow(3px 0 0 black) drop-shadow(-3px 0 0 black) drop-shadow(0 3px 0 black) drop-shadow(0 -3px 0 black);
}

.icon:hover {
  cursor: pointer;
  animation: glitch 0.2s steps(2) infinite;
}

@keyframes glitch {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-2px, 1px);
  }

  50% {
    transform: translate(2px, -1px);
  }

  75% {
    transform: translate(-1px, -2px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes jump {
  0% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-18px);
  }

  60% {
    transform: translateY(2px);
  }

  100% {
    transform: translateY(0);
  }
}


/*AD SPACE*/
.adspacewrap {
  flex: 2;
  max-width: 220px;
  min-width: 220px;
  min-height: calc();
  padding: 16px;
  overflow-y: auto;
  margin-bottom: 140px;
}

.ad-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/*AD WRAP*/
.adspacewrap-ad {
  background-image: url("images/metal023.jpg");
  background-size: 100% 100%;
  border: dashed 2px #7c7c7c;
  margin-bottom: 20px;
  box-shadow:
    4px 4px 0px #000,
    inset -2px -2px 0px rgba(0, 0, 0, 0.5),
    inset 2px 2px 0px rgba(255, 255, 255, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  filter: brightness(0.9);
  overflow-y: visible;
}

.adspacewrap-ad img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*======================*/
#ad0 {
  padding: 10px;
  color: rgba(194, 194, 194, 1);
}

#ad0:hover {
  color: white;
}

/*======================*/
#ad1 {
  padding: 10px;
  color: #7B2727;
  background: black;
}

#ad1:hover {
  color: rgb(207, 19, 19);
}

/*======================*/
#ad2 {
  padding: 0px;
}

#ad2:hover {
  filter: brightness(1.3)
}

/*======================*/

/*SITEVER*/
.version-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*FOTTER*/
.footer {
  z-index: 9999;
  position: fixed;
  right: 0px;
  bottom: 0;
  height: 40px;
  width: 100%;
  background: black;
  color: #fff;
  text-align: center;
  padding: 12px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.8);
}

.footer-ver {
  position: absolute;
  right: 20px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.185);
  font-size: 14px;
}