:root {
  --black: rgb(16, 16, 16);
  --white: rgb(240, 240, 240);
  --header-background-image: url(../images/skybox/sky_halloween_night_01lf.png);
  --website-width: var(--custom-width);
  --holder-background-color: rgba(0, 0, 0, 0.75);
  --holder-background-image: url(../images/patterns/grid1110_25.png);
  --holder-border-color: rgba(0, 0, 0, 0.5);
  --holder-border-thickness: 2px;
  --custom-width: 1024px;
  --custom-color: 0, 192, 255;
  --custom-border-radius: 8px;
}

/* Fonts - Lato */
@font-face {
  font-family: "Lato";
  src: url(../fonts/Lato/Lato-Thin.ttf);
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "Lato";
  src: url(../fonts/Lato/Lato-ThinItalic.ttf);
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: "Lato";
  src: url(../fonts/Lato/Lato-Light.ttf);
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Lato";
  src: url(../fonts/Lato/Lato-LightItalic.ttf);
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: "Lato";
  src: url(../fonts/Lato/Lato-Regular.ttf);
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Lato";
  src: url(../fonts/Lato/Lato-Italic.ttf);
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Lato";
  src: url(../fonts/Lato/Lato-Bold.ttf);
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Lato";
  src: url(../fonts/Lato/Lato-BoldItalic.ttf);
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: "Lato";
  src: url(../fonts/Lato/Lato-Black.ttf);
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "Lato";
  src: url(../fonts/Lato/Lato-BlackItalic.ttf);
  font-weight: 900;
  font-style: italic;
}
/* Fonts - Roboto */
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto/Roboto-Thin.ttf);
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto/Roboto-ThinItalic.ttf);
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto/Roboto-Light.ttf);
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto/Roboto-LightItalic.ttf);
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto/Roboto-Regular.ttf);
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto/Roboto-Italic.ttf);
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto/Roboto-Medium.ttf);
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto/Roboto-MediumItalic.ttf);
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto/Roboto-Bold.ttf);
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto/Roboto-BoldItalic.ttf);
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto/Roboto-Black.ttf);
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto/Roboto-BlackItalic.ttf);
  font-weight: 900;
  font-style: italic;
}
/* Fonts - Misc. */
@font-face {
  font-family: "HalfLife2";
  src: url(../fonts/HalfLife2.ttf);
}
@font-face {
  font-family: "Querround";
  src: url(../fonts/Querround.ttf);
}
/* Mixins */
/* Default */
* {
  color: var(--white);
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  border-radius: 0px;
  border: none;
  position: relative;
  outline: none;
}

body {
  background-color: rgb(0, 0, 0);
  overflow: hidden;
}

/* Background */
#player,
#player-tint,
#black-screen,
.overlay {
  min-width: 100%;
  min-height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  pointer-events: none;
}

#player {
  filter: grayscale(1) blur(4px);
}

#player-tint {
  background-color: rgb(var(--custom-color));
  mix-blend-mode: overlay;
}

#black-screen {
  background-color: rgb(0, 0, 0);
}

.overlay {
  background-image: url(../images/patterns/tri_pattern.png);
  background-position: center;
  background-size: 192px;
  mix-blend-mode: overlay;
  opacity: 0.125;
}

/* Website */
#website-holder {
  width: var(--website-width);
  height: calc(100% - 10px);
  position: fixed;
  left: 50%;
  top: 5px;
  transform: translate(-50%, 0%);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#header-holder,
#main-holder,
#footer-holder {
  background-image: var(--holder-background-image);
  background-color: var(--holder-background-color);
  border-radius: var(--custom-border-radius);
  box-shadow: 0px 0px 5px rgb(0, 0, 0);
  overflow: hidden;
}

/* Splash */
#splash-holder {
  background-image: var(--holder-background-image);
  background-color: var(--holder-background-color);
  height: 20px;
}
#splash-holder::before {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  top: 0;
  border-top: var(--holder-border-thickness) solid var(--holder-border-color);
  border-right: var(--holder-border-thickness) solid var(--holder-border-color);
  border-left: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: var(--custom-border-radius) var(--custom-border-radius) 0 0;
}
#splash-holder::after {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  bottom: 0;
  border-bottom: var(--holder-border-thickness) solid var(--holder-border-color);
}

#splash-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Lato";
  font-size: 14px;
  white-space: nowrap;
}

@keyframes splash-text-move {
  0% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}
.splash-text-move {
  animation: splash-text-move linear;
}

/* Splash Messages */
splash-reference {
  color: rgb(255, 192, 192);
}

splash-lyrics {
  color: rgb(192, 192, 255);
}

splash-quote {
  font-style: italic;
}

a {
  color: rgb(var(--custom-color));
  text-decoration: none;
}

/* Header */
#header-holder {
  background-image: var(--header-background-image);
  background-position: center;
  background-size: cover;
  min-height: 148px;
  max-height: 148px;
  display: flex;
  flex-direction: column;
}

/* Header - Brand Holder */
.brand-holder {
  width: 100%;
  height: 108px;
  padding: 5px;
  display: flex;
  flex-direction: column;
}

.brand-flex {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Header - Logo */
.logo-holder {
  background-image: var(--holder-background-image);
  background-color: var(--holder-background-color);
  width: 98px;
  height: 64px;
  border-radius: var(--custom-border-radius) var(--custom-border-radius) var(--custom-border-radius) 0;
}
.logo-holder::before {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  top: 0;
  border-top: var(--holder-border-thickness) solid var(--holder-border-color);
  border-right: var(--holder-border-thickness) solid var(--holder-border-color);
  border-left: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: var(--custom-border-radius) var(--custom-border-radius) 0 0;
}
.logo-holder::after {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  bottom: 0;
  border-right: var(--holder-border-thickness) solid var(--holder-border-color);
  border-bottom: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: 0 0 var(--custom-border-radius) 0;
}

.logo-image {
  background: url(../images/icon_96.png) no-repeat center center;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(180deg, rgb(0, 0, 0), rgba(0, 0, 0, 0.5));
          mask-image: linear-gradient(180deg, rgb(0, 0, 0), rgba(0, 0, 0, 0.5));
  width: 85%;
  height: 85%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}

/* Header - Titles */
.title-holder,
.title-holder-small {
  width: auto;
  height: 64px;
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.primary-title,
.secondary-title {
  background-image: var(--holder-background-image);
  background-color: var(--holder-background-color);
  padding: 5px 10px;
  align-self: flex-start;
}

.primary-title {
  font-family: "Querround";
  font-size: 32px;
  border-radius: var(--custom-border-radius) 0 var(--custom-border-radius) var(--custom-border-radius);
}
.primary-title::before {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  top: 0;
  border-top: var(--holder-border-thickness) solid var(--holder-border-color);
  border-left: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: var(--custom-border-radius) 0 0 0;
}
.primary-title::after {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  bottom: 0;
  border-right: var(--holder-border-thickness) solid var(--holder-border-color);
  border-bottom: var(--holder-border-thickness) solid var(--holder-border-color);
  border-left: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: 0 0 var(--custom-border-radius) var(--custom-border-radius);
}

.primary-title-tm {
  font-family: "Arial";
  font-weight: 900;
  font-size: 12px;
  top: -18px;
  border-radius: var(--custom-border-radius) 0 var(--custom-border-radius) 0;
}

.secondary-title {
  font-family: "Lato";
  font-size: 16px;
  font-weight: 300;
  border-radius: 0 var(--custom-border-radius) 0 var(--custom-border-radius);
}
.secondary-title::before {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  top: 0;
  border-top: var(--holder-border-thickness) solid var(--holder-border-color);
  border-right: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: 0 var(--custom-border-radius) 0 0;
}
.secondary-title::after {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  bottom: 0;
  border-bottom: var(--holder-border-thickness) solid var(--holder-border-color);
  border-left: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: 0 0 0 var(--custom-border-radius);
}

.secondary-title-a {
  color: var(--white);
}

.primary-title-white {
  background: linear-gradient(180deg, rgb(255, 255, 255), rgba(255, 255, 255, 0.5));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.primary-title-cyan {
  background: linear-gradient(180deg, rgba(var(--custom-color), 1), rgba(var(--custom-color), 0.5));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* Navigation - Default */
.nav-holder,
.nav-social-holder {
  padding: 3px;
  display: flex;
  gap: 3px;
  z-index: 2;
}

.nav-holder {
  background-image: var(--holder-background-image);
  background-color: var(--holder-background-color);
  width: 100%;
  height: 40px;
  display: flex;
}
.nav-holder::before {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  top: 0;
  border-top: var(--holder-border-thickness) solid var(--holder-border-color);
}
.nav-holder::after {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  bottom: 0;
  border-right: var(--holder-border-thickness) solid var(--holder-border-color);
  border-bottom: var(--holder-border-thickness) solid var(--holder-border-color);
  border-left: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: 0 0 var(--custom-border-radius) var(--custom-border-radius);
}

.nav-button {
  background: linear-gradient(180deg, rgb(var(--custom-color), 0.75) 0%, rgb(var(--custom-color), 0.25) 100%);
  border-radius: calc(var(--custom-border-radius) / 2);
  padding: 2px 2px;
  text-align: left;
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 2px;
  overflow: hidden;
  transition: 0.125s;
}
.nav-button:active {
  opacity: 0.5;
  transition: 0.0625s;
}

.nav-button-icon-holder {
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: calc(var(--custom-border-radius) / 3);
  min-width: 30px;
  min-height: 30px;
}

.nav-button-icon {
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  image-rendering: pixelated;
}

.nav-button-text-holder {
  margin: 0px 2px;
  width: 100%;
  height: 30px;
  align-content: center;
}

.nav-button-title {
  font-family: "Lato";
  font-weight: 700;
  font-size: 14px;
  margin: -2px 0 -1px 0;
  opacity: 1;
}

.nav-button-rule {
  background-color: var(--white);
  width: 100%;
  height: 1px;
  margin: 0 0 -1px 0;
  opacity: 0.75;
}

.nav-button-desc {
  font-family: "Lato";
  font-weight: 700;
  font-size: 10px;
  opacity: 0.75;
}

/* Navigation - Social */
.nav-social-holder {
  width: auto;
  height: 40px;
  position: absolute;
  right: 0px;
  bottom: 0;
  justify-content: flex-end;
  overflow: hidden;
  display: flex;
  z-index: 2;
}

/* Navigation - Misc */
.nav-misc-holder {
  background-image: var(--holder-background-image);
  background-color: var(--holder-background-color);
  position: absolute;
  right: 5px;
  top: 5px;
  border-radius: 0px var(--custom-border-radius) 0px var(--custom-border-radius);
  overflow: hidden;
  display: flex;
  z-index: 2;
}
.nav-misc-holder::before {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  top: 0;
  border-top: var(--holder-border-thickness) solid var(--holder-border-color);
  border-right: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: 0 var(--custom-border-radius) 0 0;
}
.nav-misc-holder::after {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  bottom: 0;
  border-bottom: var(--holder-border-thickness) solid var(--holder-border-color);
  border-left: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: 0 0 0 var(--custom-border-radius);
}

.nav-misc-button {
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  width: 32px;
  height: 32px;
  position: relative;
  image-rendering: pixelated;
  transition: 0.0625s;
}
.nav-misc-button:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transition: 0.0625s;
}
.nav-misc-button:active {
  opacity: 0.5;
  transition: 0.0625s;
}

/* Main */
#main-holder {
  height: 100%;
}
#main-holder::before {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  top: 0;
  border-top: var(--holder-border-thickness) solid var(--holder-border-color);
  border-right: var(--holder-border-thickness) solid var(--holder-border-color);
  border-left: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: var(--custom-border-radius) var(--custom-border-radius) 0 0;
}
#main-holder::after {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  bottom: 0;
  border-right: var(--holder-border-thickness) solid var(--holder-border-color);
  border-bottom: var(--holder-border-thickness) solid var(--holder-border-color);
  border-left: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: 0 0 var(--custom-border-radius) var(--custom-border-radius);
}

.main-scrollable {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.main-header {
  background: linear-gradient(180deg, rgb(var(--custom-color), 0.5) 0%, rgb(var(--custom-color), 0.125) 100%);
  width: 100%;
  height: auto;
  font-family: "Lato";
  font-weight: 900;
  font-size: 24px;
  padding: 5px 20px;
}

.section-container {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.25), transparent, rgba(0, 0, 0, 0.25));
  padding: 15px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#lore-continuation {
  flex-direction: column;
  gap: 10px;
}

.lore-button {
  background: linear-gradient(-90deg, rgba(var(--custom-color), 0.25), rgba(var(--custom-color), 0));
  padding: 2px 4px;
  border-radius: calc(var(--custom-border-radius) / 2);
}

.lore-left {
  padding-right: 5%;
}

.lore-right {
  padding-left: 5%;
}

.section-header {
  background: linear-gradient(90deg, rgba(var(--custom-color), 0.25), rgba(var(--custom-color), 0));
  font-family: "Lato";
  font-weight: 900;
  font-size: 22px;
  border-radius: var(--custom-border-radius);
  padding: 0 8px;
}

.section-paragraph {
  font-family: "Lato";
  font-weight: 400;
  font-size: 16px;
  text-align: justify;
}

.section-list {
  font-family: "Lato";
  font-weight: 700;
  font-size: 16px;
  text-align: justify;
  padding-left: 5%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.section-showcase {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  overflow-x: auto;
  display: flex;
  gap: 5px;
}

.section-showcase-image {
  background-color: rgba(var(--custom-color), 0.125);
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  min-width: 192px;
  min-height: 108px;
  border-radius: 6px;
  transition: 0.1s;
}
.section-showcase-image:hover {
  background-color: rgba(var(--custom-color), 0.25);
  background-size: 125%;
  transition: 0.1s;
}

.section-signature {
  font-family: "Lato";
  font-weight: 900;
  font-size: 14px;
  text-align: right;
}

.section-end-holder {
  background-image: url(../images/patterns/hazard_dark.png);
  background-position: center;
  background-size: 16px;
  width: 100%;
  height: 40px;
  padding: 10px 0px;
  position: relative;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.section-end-text {
  font-family: "Lato";
  font-weight: 700;
  font-size: 14px;
  text-align: justify;
  margin: -2px 0 0 0;
  opacity: 0.5;
}

.silk-error {
  background-image: url(../images/silk/error.png);
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.gallery-container {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.25) 100%);
  padding: 10px 20px;
  text-align: center;
}

.gallery-image {
  max-height: 250px;
  border-radius: var(--custom-border-radius);
}

.section-rule {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 2px;
}

.news-irrelevant-holder {
  background-color: black;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%; top: 50%;
  width: 100%; height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.news-irrelevant {
  color: rgba(var(--custom-color), 1);
  position: absolute;
  transform: translate(-50%, -50%) rotate(-2.5deg);
  left: 50%; top: 50%;
  font-size: 128px;
  font-style: bold;
  font-family: "Lato";
  font-weight: 700;
  opacity: 0.5;
  pointer-events: none;
}

/* Character Showcase */
.characters-wrapper {
  margin: 5px 0px;
  display: flex;
  gap: 10px;
}

.card-wrapper {
  background-color: rgba(var(--custom-color), 0.125);
  background-size: cover;
  aspect-ratio: 1920/1080;
  width: 50%;
  border-radius: var(--custom-border-radius);
  overflow: hidden;
}

.card-paddy,
.card-aria {
  background-size: cover;
  aspect-ratio: 1920/1080;
  width: 100%;
  transition: 0.25s;
}
.card-paddy:hover,
.card-aria:hover {
  filter: drop-shadow(0px 0px 4px rgb(var(--custom-color)));
  transition: 0.25s;
}

.card-titles {
  position: absolute;
  left: 24px;
  top: 24px;
  transition: 0.25s;
}

.card-paddy {
  background-image: url(../images/showcase/character_paddy_draw.png);
}
.card-paddy:hover {
  background-image: url(../images/showcase/character_paddy_draw_hover.png);
}

.card-paddy:hover > .card-titles,
.card-aria:hover > .card-titles {
  opacity: 0.25;
  transition: 0.25s;
}

.card-aria {
  background-image: url(../images/showcase/character_aria_astral.png);
}
.card-aria:hover {
  background-image: url(../images/showcase/character_aria_astral_hover.png);
}

.card-name {
  color: rgba(var(--custom-color), 0.5);
  font-family: "Lato";
  font-size: 20px;
  font-weight: 900;
}

.card-faction {
  color: rgba(255, 255, 255, 0.75);
  font-family: "Lato";
  font-size: 12px;
  font-weight: 600;
}

:root {
  --card-border-width: 8px;
}

.card-border-up,
.card-border-rt,
.card-border-dn,
.card-border-lf {
  position: absolute;
}

.card-border-up {
  background-color: rgba(var(--custom-color), 0.5);
  width: 100%;
  height: var(--card-border-width);
  left: 0;
  top: 0;
}

.card-border-rt {
  background: linear-gradient(180deg, rgba(var(--custom-color), 0.5), rgba(var(--custom-color), 0.25));
  width: var(--card-border-width);
  height: calc(100% - var(--card-border-width) * 2);
  right: 0;
  top: var(--card-border-width);
}

.card-border-dn {
  background-color: rgba(var(--custom-color), 0.25);
  width: 100%;
  height: var(--card-border-width);
  left: 0;
  bottom: 0;
}

.card-border-lf {
  background: linear-gradient(180deg, rgba(var(--custom-color), 0.5), rgba(var(--custom-color), 0.25));
  width: var(--card-border-width);
  height: calc(100% - var(--card-border-width) * 2);
  left: 0;
  top: var(--card-border-width);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(var(--custom-color), 0.5), rgba(var(--custom-color), 0.4), rgba(var(--custom-color), 0.3));
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0 var(--custom-border-radius) var(--custom-border-radius) 0;
}

/* Footer */
#footer-holder {
  min-height: 40px;
  max-height: 40px;
}
#footer-holder::before {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  top: 0;
  border-top: var(--holder-border-thickness) solid var(--holder-border-color);
  border-right: var(--holder-border-thickness) solid var(--holder-border-color);
  border-left: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: var(--custom-border-radius) var(--custom-border-radius) 0 0;
}
#footer-holder::after {
  content: "";
  width: 100%;
  height: var(--custom-border-radius);
  position: absolute;
  left: 0;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  z-index: 50;
  bottom: 0;
  border-right: var(--holder-border-thickness) solid var(--holder-border-color);
  border-bottom: var(--holder-border-thickness) solid var(--holder-border-color);
  border-left: var(--holder-border-thickness) solid var(--holder-border-color);
  border-radius: 0 0 var(--custom-border-radius) var(--custom-border-radius);
}

.footer-text-left,
.footer-text-right {
  color: var(--white);
  width: 100%;
  height: auto;
  position: absolute;
  padding: 0px 20px;
  font-family: "Lato";
  font-weight: 400;
  font-size: 12px;
  opacity: 0.5;
}

.footer-text-left {
  text-align: left;
  left: 0%;
  top: 50%;
  transform: translate(0%, -50%);
}

.footer-text-right {
  text-align: right;
  right: 0%;
  top: 50%;
  transform: translate(0%, -50%);
}

.footer-logo {
  background-image: url(../images/icon_48.png);
  background-size: 100%;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  opacity: 0.25;
  filter: grayscale(1);
}

/* Music Box */
.music-box {
  padding: 5px 0px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dropdown-menu, .dropdown-option, #music-start,
#music-reset, .music-label, #music-download {
  background-color: rgb(16, 16, 16);
  color: var(--white);
  font-family: "Lato";
  font-weight: 400;
  font-size: 16px;
  padding: 5px;
  border-radius: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
  margin-top: 5px;
  width: 100%;
}

.music-button {
  margin-top: 5px;
}

#volume-container {
  background-color: rgb(16, 16, 16);
  background-position: center;
  width: 100%;
  height: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
}

.volume-bar-holder {
  background-color: rgb(0, 0, 0);
  width: 100%;
  height: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

#volume-bar1, #volume-bar2, #volume-bar3, #volume-bar4,
#volume-bar5, #volume-bar6, #volume-bar7, #volume-bar8 {
  background-color: rgba(var(--custom-color), 0.75);
  background-image: url(../images/patterns/hazard_dark.png);
  background-size: 6px;
  background-position: left;
  width: 100%;
  height: 5px;
  border-radius: 0px;
  filter: drop-shadow(0px 0px 4px rgb(var(--custom-color)));
  transition: 0.1s;
}

.loading-background {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
  border-radius: 4px;
}

#volume-loading-bg {
  background-color: black;
  background-size: 32px;
  width: 160px;
  height: 24px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  border-radius: 6px;
  overflow: hidden;
}

#volume-loading-bar {
  background-image: url(../images/patterns/hazard_dark.png);
  background-size: 12px;
  background-color: rgb(var(--custom-color));
  width: 0%;
  height: 100%;
  transition: 0.25s;
}

#volume-loading-percentage {
  font-family: "Lato";
  font-weight: 900;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  border-radius: 6px;
}

.music-label-list {
  margin-top: 5px;
  display: flex;
  gap: 5px;
}

.music-label {
  width: 100%;
  height: auto;
  text-align: center;
  padding: 4px 0px;
  display: block;
}

/* Customization */
.setting-container {
  padding: 0px 0px;
}

.setting-label, .setting-label-small {
  color: var(--white);
  width: 100%;
  height: auto;
  font-family: "Lato";
  font-weight: 600;
  font-size: 16px;
}

.setting-label-small {
  font-family: "Lato";
  font-weight: 400;
  font-size: 12px;
}

.setting-input-holder {
  text-align: right;
}

.input-field {
  background-color: rgba(255, 255, 255, 0.125);
  border-radius: 4px;
  padding: 5px 10px;
}

.setting-button {
  background-color: rgba(255, 255, 255, 0.125);
  border-radius: 4px;
  padding: 5px 10px;
}

/* Error */
.error-holder {
  width: auto;
  height: auto;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  mix-blend-mode: overlay;
}

.error-code {
  font-family: "Roboto Bold";
  font-size: 192px;
  margin-bottom: -32px;
}

.error-reason {
  font-family: "Roboto Bold";
  font-size: 32px;
  margin-bottom: 32px;
}

.error-message {
  font-family: "Roboto Regular";
  font-size: 16px;
  margin-bottom: 8px;
}

.error-back {
  font-family: "Roboto Bold";
  font-size: 16px;
}

/* Misc. */
.horizontal-break {
  background-color: rgba(255, 255, 255, 0.5);
  width: 100%;
  height: 1px;
  margin: 4px 0px;
}

.custom-break {
  width: 100%;
  height: 4px;
}

@keyframes warning-flash {
  0% {
    color: rgb(255, 64, 64);
  }
  50% {
    color: rgba(255, 64, 64, 0.5);
  }
  100% {
    color: rgb(255, 64, 64);
  }
}
.warning-text {
  animation: warning-flash 2s linear infinite;
}

/* Image Viewer */
#iv-holder1 {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  padding: 64px;
}

#iv-holder2 {
  background-color: rgba(255, 255, 255, 0.5);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 100%;
  height: 100%;
  border-radius: var(--custom-border-radius) 0 var(--custom-border-radius) 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.iv-topbar {
  background-image: var(--holder-background-image);
  background-color: var(--holder-background-color);
  min-width: 100%;
  max-width: 100%;
  min-height: 40px;
  max-height: 40px;
}

#iv-close {
  background-color: rgb(var(--custom-color));
  height: 100%;
  aspect-ratio: 1/1;
  position: absolute;
  right: 0;
}

.iv-viewport {
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.iv-nav1 {
  background-image: var(--holder-background-image);
  background-color: var(--holder-background-color);
  min-width: 100%;
  max-width: 100%;
  min-height: 128px;
  max-height: 128px;
  padding: 10px;
}

.iv-nav2 {
  background-color: rgba(0, 0, 0, 0);
  width: 100%;
  height: 100%;
  border-radius: 0 0 var(--custom-border-radius) 0;
  overflow-x: auto;
  display: flex;
  gap: 10px;
}

.iv-nav-image {
  background-color: rgba(var(--custom-color), 0.125);
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  min-width: 192px;
  min-height: 108px;
  border-radius: var(--custom-border-radius);
  transition: 0.1s;
}
.iv-nav-image:hover {
  background-color: rgba(var(--custom-color), 0.25);
  background-size: 125%;
  transition: 0.1s;
}

/* Loading Screen */
@keyframes loading-fadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.loading-holder-fade {
  animation: loading-fadeout 1s linear forwards;
  pointer-events: none;
}

#loading-background {
  background-color: rgb(0, 0, 0);
  min-width: 100vw;
  min-height: 100vh;
  position: fixed;
}

@keyframes loading-pulse {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  80% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
#loading-icon {
  background-image: url(../images/icon_96.png);
  width: 96px;
  height: 96px;
  position: fixed;
  right: 64px;
  bottom: 64px;
  animation: loading-pulse 1.5s linear infinite;
}

/* Media Query */
@media screen and (max-width: 1033px) {
  #website-holder {
    width: calc(100% - 10px);
  }
  .nav-button-text-holder,
  .footer-text-left,
  .footer-text-right,
  .under-construction-l,
  .under-construction-r {
    display: none;
  }
  .primary-header,
  .secondary-header {
    font-size: 16px;
  }
  #loading-icon {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    
  }
  .news-irrelevant {
    font-size: 12.4vw;
  }
}
@media screen and (max-width: 850px) {
  .title-holder {
    display: none;
  }
}
@media screen and (min-width: 851px) {
  .title-holder-small {
    display: none;
  }
}