/* Fonts */

@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("fonts/hinted-ZenKakuGothicNew-Bold.eot");
  src: local("Zen Kaku Gothic New Bold"), local("ZenKakuGothicNew-Bold"),
    url("fonts/hinted-ZenKakuGothicNew-Bold.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/hinted-ZenKakuGothicNew-Bold.woff2") format("woff2"),
    url("fonts/hinted-ZenKakuGothicNew-Bold.woff") format("woff"),
    url("fonts/hinted-ZenKakuGothicNew-Bold.ttf") format("truetype"),
    url("fonts/hinted-ZenKakuGothicNew-Bold.svg#ZenKakuGothicNew-Bold")
      format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("fonts/hinted-ZenKakuGothicNew-Black.eot");
  src: local("Zen Kaku Gothic New Black"), local("ZenKakuGothicNew-Black"),
    url("fonts/hinted-ZenKakuGothicNew-Black.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/hinted-ZenKakuGothicNew-Black.woff2") format("woff2"),
    url("fonts/hinted-ZenKakuGothicNew-Black.woff") format("woff"),
    url("fonts/hinted-ZenKakuGothicNew-Black.ttf") format("truetype"),
    url("fonts/hinted-ZenKakuGothicNew-Black.svg#ZenKakuGothicNew-Black")
      format("svg");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("fonts/hinted-ZenKakuGothicNew-Light.eot");
  src: local("Zen Kaku Gothic New Light"), local("ZenKakuGothicNew-Light"),
    url("fonts/hinted-ZenKakuGothicNew-Light.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/hinted-ZenKakuGothicNew-Light.woff2") format("woff2"),
    url("fonts/hinted-ZenKakuGothicNew-Light.woff") format("woff"),
    url("fonts/hinted-ZenKakuGothicNew-Light.ttf") format("truetype"),
    url("fonts/hinted-ZenKakuGothicNew-Light.svg#ZenKakuGothicNew-Light")
      format("svg");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("fonts/hinted-ZenKakuGothicNew-Regular.eot");
  src: local("Zen Kaku Gothic New Regular"), local("ZenKakuGothicNew-Regular"),
    url("fonts/hinted-ZenKakuGothicNew-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/hinted-ZenKakuGothicNew-Regular.woff2") format("woff2"),
    url("fonts/hinted-ZenKakuGothicNew-Regular.woff") format("woff"),
    url("fonts/hinted-ZenKakuGothicNew-Regular.ttf") format("truetype"),
    url("fonts/hinted-ZenKakuGothicNew-Regular.svg#ZenKakuGothicNew-Regular")
      format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("fonts/hinted-ZenKakuGothicNew-Medium.eot");
  src: local("Zen Kaku Gothic New Medium"), local("ZenKakuGothicNew-Medium"),
    url("fonts/hinted-ZenKakuGothicNew-Medium.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/hinted-ZenKakuGothicNew-Medium.woff2") format("woff2"),
    url("fonts/hinted-ZenKakuGothicNew-Medium.woff") format("woff"),
    url("fonts/hinted-ZenKakuGothicNew-Medium.ttf") format("truetype"),
    url("fonts/hinted-ZenKakuGothicNew-Medium.svg#ZenKakuGothicNew-Medium")
      format("svg");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-BlackItalic.eot");
  src: local("Noto Sans Black Italic"), local("NotoSans-BlackItalic"),
    url("fonts/hinted-NotoSans-BlackItalic.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/hinted-NotoSans-BlackItalic.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-BlackItalic.woff") format("woff"),
    url("fonts/hinted-NotoSans-BlackItalic.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-BlackItalic.svg#NotoSans-BlackItalic")
      format("svg");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-Black.eot");
  src: local("Noto Sans Black"), local("NotoSans-Black"),
    url("fonts/hinted-NotoSans-Black.eot?#iefix") format("embedded-opentype"),
    url("fonts/hinted-NotoSans-Black.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-Black.woff") format("woff"),
    url("fonts/hinted-NotoSans-Black.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-Black.svg#NotoSans-Black") format("svg");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-LightItalic.eot");
  src: local("Noto Sans Light Italic"), local("NotoSans-LightItalic"),
    url("fonts/hinted-NotoSans-LightItalic.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/hinted-NotoSans-LightItalic.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-LightItalic.woff") format("woff"),
    url("fonts/hinted-NotoSans-LightItalic.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-LightItalic.svg#NotoSans-LightItalic")
      format("svg");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-Italic.eot");
  src: local("Noto Sans Italic"), local("NotoSans-Italic"),
    url("fonts/hinted-NotoSans-Italic.eot?#iefix") format("embedded-opentype"),
    url("fonts/hinted-NotoSans-Italic.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-Italic.woff") format("woff"),
    url("fonts/hinted-NotoSans-Italic.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-Italic.svg#NotoSans-Italic") format("svg");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-Medium.eot");
  src: local("Noto Sans Medium"), local("NotoSans-Medium"),
    url("fonts/hinted-NotoSans-Medium.eot?#iefix") format("embedded-opentype"),
    url("fonts/hinted-NotoSans-Medium.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-Medium.woff") format("woff"),
    url("fonts/hinted-NotoSans-Medium.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-Medium.svg#NotoSans-Medium") format("svg");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-Light.eot");
  src: local("Noto Sans Light"), local("NotoSans-Light"),
    url("fonts/hinted-NotoSans-Light.eot?#iefix") format("embedded-opentype"),
    url("fonts/hinted-NotoSans-Light.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-Light.woff") format("woff"),
    url("fonts/hinted-NotoSans-Light.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-Light.svg#NotoSans-Light") format("svg");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-Bold.eot");
  src: local("Noto Sans Bold"), local("NotoSans-Bold"),
    url("fonts/hinted-NotoSans-Bold.eot?#iefix") format("embedded-opentype"),
    url("fonts/hinted-NotoSans-Bold.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-Bold.woff") format("woff"),
    url("fonts/hinted-NotoSans-Bold.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-Bold.svg#NotoSans-Bold") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-BoldItalic.eot");
  src: local("Noto Sans Bold Italic"), local("NotoSans-BoldItalic"),
    url("fonts/hinted-NotoSans-BoldItalic.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/hinted-NotoSans-BoldItalic.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-BoldItalic.woff") format("woff"),
    url("fonts/hinted-NotoSans-BoldItalic.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-BoldItalic.svg#NotoSans-BoldItalic")
      format("svg");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-SemiBold.eot");
  src: local("Noto Sans SemiBold"), local("NotoSans-SemiBold"),
    url("fonts/hinted-NotoSans-SemiBold.eot?#iefix") format("embedded-opentype"),
    url("fonts/hinted-NotoSans-SemiBold.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-SemiBold.woff") format("woff"),
    url("fonts/hinted-NotoSans-SemiBold.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-SemiBold.svg#NotoSans-SemiBold") format("svg");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-Regular.eot");
  src: local("Noto Sans Regular"), local("NotoSans-Regular"),
    url("fonts/hinted-NotoSans-Regular.eot?#iefix") format("embedded-opentype"),
    url("fonts/hinted-NotoSans-Regular.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-Regular.woff") format("woff"),
    url("fonts/hinted-NotoSans-Regular.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-Regular.svg#NotoSans-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-MediumItalic.eot");
  src: local("Noto Sans Medium Italic"), local("NotoSans-MediumItalic"),
    url("fonts/hinted-NotoSans-MediumItalic.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/hinted-NotoSans-MediumItalic.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-MediumItalic.woff") format("woff"),
    url("fonts/hinted-NotoSans-MediumItalic.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-MediumItalic.svg#NotoSans-MediumItalic")
      format("svg");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-ThinItalic.eot");
  src: local("Noto Sans Thin Italic"), local("NotoSans-ThinItalic"),
    url("fonts/hinted-NotoSans-ThinItalic.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/hinted-NotoSans-ThinItalic.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-ThinItalic.woff") format("woff"),
    url("fonts/hinted-NotoSans-ThinItalic.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-ThinItalic.svg#NotoSans-ThinItalic")
      format("svg");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-SemiBoldItalic.eot");
  src: local("Noto Sans SemiBold Italic"), local("NotoSans-SemiBoldItalic"),
    url("fonts/hinted-NotoSans-SemiBoldItalic.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/hinted-NotoSans-SemiBoldItalic.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-SemiBoldItalic.woff") format("woff"),
    url("fonts/hinted-NotoSans-SemiBoldItalic.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-SemiBoldItalic.svg#NotoSans-SemiBoldItalic")
      format("svg");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/hinted-NotoSans-Thin.eot");
  src: local("Noto Sans Thin"), local("NotoSans-Thin"),
    url("fonts/hinted-NotoSans-Thin.eot?#iefix") format("embedded-opentype"),
    url("fonts/hinted-NotoSans-Thin.woff2") format("woff2"),
    url("fonts/hinted-NotoSans-Thin.woff") format("woff"),
    url("fonts/hinted-NotoSans-Thin.ttf") format("truetype"),
    url("fonts/hinted-NotoSans-Thin.svg#NotoSans-Thin") format("svg");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FreeSans";
  src: url("fonts/hinted-FreeSans.eot");
  src: local("FreeSans"),
    url("fonts/hinted-FreeSans.eot?#iefix") format("embedded-opentype"),
    url("fonts/hinted-FreeSans.woff2") format("woff2"),
    url("fonts/hinted-FreeSans.woff") format("woff"),
    url("fonts/hinted-FreeSans.ttf") format("truetype"),
    url("fonts/hinted-FreeSans.svg#FreeSans") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FreeSans";
  src: url("fonts/hinted-FreeSansBoldOblique.eot");
  src: local("FreeSans Bold Oblique"), local("FreeSansBoldOblique"),
    url("fonts/hinted-FreeSansBoldOblique.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/hinted-FreeSansBoldOblique.woff2") format("woff2"),
    url("fonts/hinted-FreeSansBoldOblique.woff") format("woff"),
    url("fonts/hinted-FreeSansBoldOblique.ttf") format("truetype"),
    url("fonts/hinted-FreeSansBoldOblique.svg#FreeSansBoldOblique")
      format("svg");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "FreeSans";
  src: url("fonts/hinted-FreeSansBold.eot");
  src: local("FreeSans Bold"), local("FreeSansBold"),
    url("fonts/hinted-FreeSansBold.eot?#iefix") format("embedded-opentype"),
    url("fonts/hinted-FreeSansBold.woff2") format("woff2"),
    url("fonts/hinted-FreeSansBold.woff") format("woff"),
    url("fonts/hinted-FreeSansBold.ttf") format("truetype"),
    url("fonts/hinted-FreeSansBold.svg#FreeSansBold") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FreeSans";
  src: url("fonts/hinted-FreeSansOblique.eot");
  src: local("FreeSans Oblique"), local("FreeSansOblique"),
    url("fonts/hinted-FreeSansOblique.eot?#iefix") format("embedded-opentype"),
    url("fonts/hinted-FreeSansOblique.woff2") format("woff2"),
    url("fonts/hinted-FreeSansOblique.woff") format("woff"),
    url("fonts/hinted-FreeSansOblique.ttf") format("truetype"),
    url("fonts/hinted-FreeSansOblique.svg#FreeSansOblique") format("svg");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* classes of doom */

.mistlogo {
  font-family: Arial, Helvetica, "FreeSans", sans-serif;
  font-style: italic;
  font-weight: 700;
}

.fullviewport {
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  width: 100dvw;
  height: 100dvh;
}

.hidden {
  display: none;
}

.areset {
  color: #fff;
  text-decoration: none;
}

/* Global */

html,
body {
  background-color: #07151e;
  color: #dddddd;
  font-family: "Noto Sans", "Zen Kaku Gothic New", Arial, Heveltica, sans-serif,
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  margin: 0;
  overflow-x: hidden;
  height: 100vh;
  height: 100dvh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Sans", "Zen Kaku Gothic New", Arial, Heveltica, sans-serif,
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

tbody {
  margin: 0;
}

table {
  border-collapse: collapse !important;
}

td {
  padding: 0;
}

section {
  overflow: hidden;
}

:where(h1) {
  font-size: 48px;
}

#languagebody {
  display: flex;
  flex-direction: column;
}

#languagetop {
  flex: 1;
  overflow: hidden;
}

#languagemain {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-x: hidden;
  text-align: center;
  width: 800px;
  height: 600px;
  width: 50%;
  height: 50%;
  z-index: 3;
}

#languagebg {
  width: 100%;
  height: 100%;
  background-color: #336270;
  background-image: url("/images/global/bgs/mistbg2025.gif");
  background-image: image-set(
    url(/images/global/bgs/mistbg2025.avif) type("image/avif"),
    url(/images/global/bgs/mistbg2025.webp) type("image/webp"),
    url(/images/global/bgs/mistbg2025.jpeg) type("image/jpeg"),
    url(/images/global/bgs/mistbg2025.gif) type("image/gif")
  );
  background-position: center;
  background-size: cover;
}

#languagewindow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 800px;
  height: 600px;
  width: 60%;
  height: 60%;
  border-radius: 16px;
  z-index: 2;
  background-color: #000000a0;
  background: linear-gradient(#ffffff05, #ffffff05),
    linear-gradient(
      #ffffffaa,
      #00000000,
      #00000000,
      #00000000,
      #00000000,
      #00000000,
      #00000000,
      #00000000,
      #00000000,
      #ffffffaa
    );
  overflow: hidden;
  box-shadow: 10px 10px 16px #000;
}

#languagereflection {
  position: absolute;
  width: 65%;
  height: 65%;
}

#languagefooter {
  bottom: 0;
  width: 100vw;
}

footer {
  text-align: center;
  padding: 8px;
  padding-bottom: 12px;
  background-color: #050e14;
  background-image: linear-gradient(
    #000000,
    #050e14,
    #050e14,
    #050e14,
    #050e14
  );
}

#copyright {
  margin-bottom: 8px;
}

hr {
  border: 1px solid white;
  margin: 16px;
}

img {
  max-width: 100%;
  max-height: 100%;
}

a {
  color: #00ccee;
}

a:visited {
  color: #00aacc;
}

a:hover {
  color: #00ffff;
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  width: 100vw;
  padding: 0;
}

header {
  position: fixed;
  top: 0;
  z-index: 100;
  background-color: #336270;
  background-image: url("/images/global/bgs/mistbg2025.gif");
  background-image: linear-gradient(
      #95d9ee80,
      #5daec640,
      #5daec640,
      #5daec640,
      #5daec640,
      #5daec640,
      #5daec640,
      #95d9ee80
    ),
    url("/images/global/bgs/mistbg2025.gif");

  background-image: linear-gradient(
      #95d9ee80,
      #5daec640,
      #5daec640,
      #5daec640,
      #5daec640,
      #5daec640,
      #5daec640,
      #95d9ee80
    ),
    image-set(
      url(/images/global/bgs/mistbg2025.avif) type("image/avif"),
      url(/images/global/bgs/mistbg2025.webp) type("image/webp"),
      url(/images/global/bgs/mistbg2025.jpeg) type("image/jpeg"),
      url(/images/global/bgs/mistbg2025.gif) type("image/gif")
    );

  background-position: top;
  background-size: cover;
  background-attachment: scroll;
  padding: 8px;
  width: 100vw;
  width: calc(100vw - 16px);
  height: 56px;
  box-shadow: 0 4px 10px #000;
  text-shadow: 6px 6px 10px #000000;
}

.reflection {
  background-color: #336270;
  filter: blur(16px);
  opacity: 15%;
  background-image: url("/images/global/mistsitereflection.gif");
  background-image: image-set(
    url(/images/global/mistsitereflection.avif) type("image/avif"),
    url(/images/global/mistsitereflection.webp) type("image/webp"),
    url(/images/global/mistsitereflection.jpeg) type("image/jpeg"),
    url(/images/global/mistsitereflection.gif) type("image/gif")
  );
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

#headerreflection {
  position: fixed;
  z-index: 101;
  top: 0;
  width: 100vw;
  left: -16px;
  top: 0px;
  height: 64px;
}

nav {
  position: fixed;
  transform: translateY(-100%);
  background-color: #00000000;
  top: 72px;
  width: 100vw;
  height: 80vh;
  height: calc(100vh - 72px);
  z-index: 2;
  transition: transform 0.5s;
  overflow: hidden;
  overflow-y: visible;
  pointer-events: none;
}

#headerbar {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 102;
}

#navseperator {
  font-family: Arial, Helvetica, "FreeSans", sans-serif;
  font-size: 48px;
  color: #ffffff;
  font-weight: 700;
  transition: text-shadow 0.5s;
  user-select: none;
}

#navseperator:hover {
  text-shadow: 0 0 10px #95d9ee;
  cursor: pointer;
}

#mistlogobutton {
  max-width: 100%;
  font-family: Arial, Helvetica, "FreeSans", sans-serif;
  font-style: italic;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  margin-left: 16px;
  transition: text-shadow 0.5s;
}

#mistlogobutton:hover {
  text-shadow: 0 0 10px #95d9ee;
  cursor: pointer;
}

.mobilemenubutton {
  color: #dddddd;
  text-align: center;
  text-shadow: 6px 6px 10px #000000;
  background: #000;
  pointer-events: all;
  transition: text-shadow 0.5s;
}

.mobilemenubutton:hover {
  text-shadow: 0 0 10px #95d9ee;
}

nav a {
  text-decoration: none;
}

/* Code taken from my site. Edited to fit the overall theme. -PicelBoi */

code {
  color: #00ff00;
  font-family: monospace;
  text-align: left;
  text-shadow: 0 0 10px #00ff00;
}

.code {
  background-color: #000400;
  background: linear-gradient(#000400, #000400),
    linear-gradient(#000, #00000000, #00000000, #00000000, #000),
    linear-gradient(
      #95d9ee80,
      #5daec640,
      #5daec640,
      #5daec640,
      #5daec640,
      #5daec640,
      #5daec640,
      #95d9ee80
    );
  border-radius: 16px;
  overflow: hidden;
  border: grey solid 4px;
  padding: 16px;
  margin: 16px;
  box-shadow: 5px 5px 10px #000;
}

/* Mobile menu buttons */

#homemmenu {
  background-color: #ff0000;
  background: linear-gradient(
      #d9d9d980,
      #5d5d5d40,
      #5d5d5d40,
      #5d5d5d40,
      #5d5d5d40,
      #5d5d5d40,
      #5d5d5d40,
      #d9d9ee80
    ),
    image-set(
      url(/images/global/mmenubg/home.avif) type("image/avif"),
      url(/images/global/mmenubg/home.webp) type("image/webp"),
      url(/images/global/mmenubg/home.jpeg) type("image/jpeg"),
      url(/images/global/mmenubg/home.gif) type("image/gif")
    );
  background-position: top;
  background-size: cover;
}

#discordmmenu {
  background-color: #aa00ff;
  background: linear-gradient(
      #d9d9d980,
      #5d5d5d40,
      #5d5d5d40,
      #5d5d5d40,
      #5d5d5d40,
      #5d5d5d40,
      #5d5d5d40,
      #d9d9ee80
    ),
    image-set(
      url(/images/global/bgs/MistDiscordScreenshot.avif) type("image/avif"),
      url(/images/global/bgs/MistDiscordScreenshot.webp) type("image/webp"),
      url(/images/global/bgs/MistDiscordScreenshot.jpeg) type("image/jpeg"),
      url(/images/global/bgs/MistDiscordScreenshot.gif) type("image/gif")
    );
  background-position: top;
  background-size: cover;
}

/* Home page */
#welcome {
  position: relative;
  padding: 256px;
  background-color: #336270;
  background-image: url("/images/global/bgs/mistbg2025.gif");
  background-image: image-set(
    url(/images/global/bgs/mistbg2025.avif) type("image/avif"),
    url(/images/global/bgs/mistbg2025.webp) type("image/webp"),
    url(/images/global/bgs/mistbg2025.jpeg) type("image/jpeg"),
    url(/images/global/bgs/mistbg2025.gif) type("image/gif")
  );
  background-position: center;
  background-size: cover;
  margin-bottom: 0;
  box-shadow: 0 10px 10px #000;
  z-index: 2;
}

@media only screen and (max-width: 892px) {
  #welcome {
    padding: 16px;
    padding-top: 32px;
  }
}

#welcomereflection {
  position: absolute;
  height: 100%;
  width: 100vw;
  top: 0;
  left: 0;
  z-index: 1;
}

#welcomecontent {
  position: relative;
  z-index: 2;
}

#mtt {
  position: relative;
  margin-top: 0;
  background-color: #050e14;
  background-image: url(/images/global/materials/corkboard.jpg);
  text-align: center;
  box-shadow: 0 10px 10px #000;
  z-index: 1;
}

#mtttitle,
.mttrole {
  text-shadow: 4px 4px 10px #000;
}

#mttimage {
  background-color: #336270;
  background-image: url("/images/global/bgs/MistDiscordScreenshot.gif");
  background-image: image-set(
    url(/images/global/bgs/MistDiscordScreenshot.avif) type("image/avif"),
    url(/images/global/bgs/MistDiscordScreenshot.webp) type("image/webp"),
    url(/images/global/bgs/MistDiscordScreenshot.jpeg) type("image/jpeg"),
    url(/images/global/bgs/MistDiscordScreenshot.gif) type("image/gif")
  );
  background-position: center;
  background-size: cover;
  width: 100vw;
  height: 40vh;
}

.mttside {
  width: 50%;
}

@media only screen and (max-width: 800px) {
  .mttside {
    width: 100%;
  }
}

.mttsideleft {
  float: left;
}
.mttsideright {
  float: right;
}
.mttinfoleft {
  position: relative;
  float: left;
  z-index: 2;
  color: #808080;
  font-size: 12px;
  overflow: hidden;
  word-wrap: break-word;
  width: 84px;
  font-family: "Zen Kaku Gothic New", Arial, Helvetica, "FreeSans", sans-serif !important;
}
.mttinforight {
  position: relative;
  float: left;
  margin-left: 16px;
  text-align: left;
  z-index: 2;
  width: 176px;
  font-family: "Zen Kaku Gothic New", Arial, Helvetica, "FreeSans", sans-serif !important;
}

.mttinforight h3 {
  font-family: "Zen Kaku Gothic New", Arial, Helvetica, "FreeSans", sans-serif !important;
}

.mttinfoleft h3 {
  font-size: 1cqw;
}
section.mteam {
  width: 80%;
}
.mttinfo {
  position: relative;
  display: inline-flex;
  clear: both;
  height: fit-content;
  overflow: visible;
  min-width: 272px;
  min-height: 128px;
  padding: 32px;
  color: #000000;
  margin-top: 0.3%;
}

@media only screen and (max-width: 470px) {
  .mttinfo {
    max-width: initial;
    max-height: initial;
    padding: 0;
    box-shadow: 0px 0px 0px #000;
    color: #dddddd;
    text-shadow: 4px 4px 10px #000000;
    font-family: "Zen Kaku Gothic New";
  }

  .mttcard {
    display: none;
  }

  .mttinfoleft {
    box-shadow: 4px 4px 10px #000000;
    width: 96px;
    height: 96px;
  }
}

.mttinforight p {
  word-wrap: break-word;
  font-size: 1em;
}
.mttcard {
  position: absolute;
  background-color: #dddddd;
  left: 0;
  top: 0;
  z-index: 1;
  box-shadow: 4px 4px 10px #000;
}
#whatwedobulletlist {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}
#whatwedo {
  position: relative;
  text-align: center;
  background-color: #020608;
  background-image: url(/images/global/bgs/tokyoroad.gif);
  background-image: linear-gradient(#000000a0, #000000a0),
    image-set(
      url(/images/global/bgs/tokyoroad.avif) type("image/avif"),
      url(/images/global/bgs/tokyoroad.webp) type("image/webp"),
      url(/images/global/bgs/tokyoroad.jpeg) type("image/jpeg"),
      url(/images/global/bgs/tokyoroad.gif) type("image/gif")
    );
  background-position: center;
  background-size: cover;
  box-shadow: 0 10px 10px #000;
  padding: 64px;
  text-shadow: 4px 4px 10px #000000;
  overflow: hidden;
}

#whatwedoreflection {
  position: absolute;
  top: 0;
  left: 0;
  height: 700px;
  height: 100cqh;
  width: 100vw;
  z-index: 1;
}

#whatwedocontent {
  position: relative;
  z-index: 2;
}

#discordad {
  position: relative;
  text-align: center;
  background-color: #010203;
  padding-bottom: 32px;
  background-image: url("/images/global/bgs/MistDiscordScreenshot.gif");
  background-image: linear-gradient(#000000a0, #000000a0),
    url("/images/global/bgs/MistDiscordScreenshot.gif");
  background-image: linear-gradient(#000000a0, #000000a0),
    image-set(
      url(/images/global/bgs/MistDiscordScreenshot.avif) type("image/avif"),
      url(/images/global/bgs/MistDiscordScreenshot.webp) type("image/webp"),
      url(/images/global/bgs/MistDiscordScreenshot.jpeg) type("image/jpeg"),
      url(/images/global/bgs/MistDiscordScreenshot.gif) type("image/gif")
    );
  background-position: center;
  background-size: cover;
  box-shadow: 0 10px 10px #000;
  text-shadow: 4px 4px 10px #000000;
}

#discordadreflection {
  z-index: 1;
  position: absolute;
  width: 100vw;
  height: 100%;
  top: 0;
}

#discordadcontent {
  position: relative;
  z-index: 2;
}

#otherstuff {
  text-align: center;
  background-color: #000000;
  padding-bottom: 32px;
}

/* Guide */

#guide {
  position: relative;
  top: 72px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: calc(100vh - 72px);
  width: 100vw;
}

#guidevideoplayer {
  width: 100vw;
  height: 300px;
  display: flex;
  margin: auto;
  overflow: hidden;
  background-color: #000;
}

.fullscreen#guidevideoplayer {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
}

#guidevideooverlay {
  flex: 2;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: inherit;
}

.guidevideooverlay {
  position: absolute;
  z-index: 5;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#guidevolumeoverlay h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -90%);
}

#guideunmuteoverlay {
  text-shadow: 2px 2px 2px #000;
  background-color: #000000a0;
}

#guideunmuteoverlay h1 {
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  width: 300px;
  transform: translate(-50%, -90%);
}

#guidevideo {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 4;
  object-fit: contain;
}

#guidecurrentlyplaying {
  position: relative;
  z-index: 4;
  flex: 2.5;
  display: none;
  background-color: #336270;
  background: linear-gradient(
      #ffffffaa,
      #00000080,
      #00000080,
      #00000080,
      #00000080,
      #00000080,
      #00000080,
      #00000080,
      #00000080,
      #ffffffaa
    ),
    conic-gradient(from 90deg at 4px 4px, #dddddd 90deg, #336270 0) 0 0/50px
      50px;
  height: 268px;
  padding: 16px;
  text-shadow: 2px 2px 4px #000;
}

#guidecurrentlyplaying h1 {
  font-size: 36px;
  margin: 2px;
}

#guidecurrentlyplayingcontent {
  position: relative;
  z-index: 6;
}

#guidecurrentlyplayingreflection {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 300px;
  z-index: 5;
}

@media only screen and (orientation: landscape) {
  #guidecurrentlyplaying {
    display: block;
  }
}

#guidecontrols {
  position: relative;
  z-index: 10;
  display: flex;
  align-content: center;
  justify-content: start;
  padding: 16px;
  background: linear-gradient(
    #000,
    #070707,
    #070707,
    #070707,
    #070707,
    #070707,
    #070707,
    #070707,
    #000,
    #000
  );
  box-shadow: 0 4px 10px #000;

  height: 25px;
}

#guidecontrols.fullscreen {
  display: none;
}

.guidecontrolbutton {
  appearance: none;
  border: 0;
  background-color: #00000000;
  color: #44c4eb;
  font-weight: 700;
  text-shadow: 0 0 4px #44c4eb;
  font-family: "Noto Sans", "Zen Kaku Gothic New", Arial, Heveltica, sans-serif,
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 14px;
  margin-left: 16px;
}

#guidevolume {
  height: 14px;
}

.guidecontrollabel {
  appearance: none;
  border: 0;
  background-color: #00000000;
  color: #44c4eb;
  font-weight: 700;
  text-shadow: 0 0 4px #44c4eb;
  font-family: "Noto Sans", "Zen Kaku Gothic New", Arial, Heveltica, sans-serif,
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 14px;
  margin-left: 16px;
}

.guidecontrolbutton:hover {
  color: #96e7ff;
  text-shadow: 0 0 8px #96e7ff;
}

.guidecontrolfullsbutton:hover {
  background: linear-gradient(
    #83d2ebaa,
    #42bee480,
    #42bee480,
    #42bee480,
    #42bee480,
    #42bee480,
    #83d2ebaa
  );
}

#guideinfo {
  position: relative;
  z-index: 9;
  padding: 16px;
  background: linear-gradient(
    #ffffffaa,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #ffffffaa
  );

  flex: 1;
}

#backgroundcontrols {
  box-shadow: 0 8px 4px #000;
  position: absolute;
  z-index: 10;
  pointer-events: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#guidebottomhalf {
  flex: 4;
  overflow-y: visible;
  background: linear-gradient(#000000a0, #000000a0),
    conic-gradient(from 90deg at 4px 4px, #dddddd 90deg, #336270 0) 0 0/50px
      50px;
  text-shadow: 0 3px 4px #000;
}

#guidechannelslist {
  position: relative;
  z-index: 8;
  flex: 4;
  width: 100vw;
  display: flex;
  flex-direction: column;
}

.guidechannel {
  display: flex;
  min-width: 100vw;
  overflow: hidden;
  height: 128px;
  background: linear-gradient(
    #ffffffaa,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #ffffffaa
  );
  cursor: pointer;
}

.guidechannelselected {
  text-shadow: 0 0 5px #95d9ee;
  color: #95d9ee;
}

.guidechannelicon {
  height: 128px;
  width: 128px;
  padding-left: 10px;
  padding-right: 10px;
  object-fit: contain;
}

.guidechannelthumbnail {
  height: 128px;
  margin-right: 16px;
  position: relative;
}

.guidechannelthumbnailshadow {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 128px;
  background: linear-gradient(
    90deg,
    #000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #00000000,
    #000000
  );
}

.guidechannelthumbnailactual {
  position: relative;
  z-index: 1;
  object-fit: cover;
  height: 128px;
}

.guidechannelinfotext {
  float: left;
}

.guidechanneldescription {
  float: left;
}

#guidefilterandlist {
  margin: 0;
  padding: 0;
  background: linear-gradient(
    #ffffffff,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #ffffffff
  );
  overflow: hidden;
  white-space: nowrap;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  width: 100vw;
}

.guideselect {
  float: left;
  display: flex;
  padding: 8px;
  background: linear-gradient(
    #ffffffff,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #ffffffff
  );
  flex-basis: 100%;
  border-right: 1px solid rgb(60, 88, 97);
}

.guideinput {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  flex-basis: 100%;
  flex-grow: 1;
  display: flex;
  padding: 8px;
  background: linear-gradient(
    #ffffffff,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #95d9ee,
    #ffffffff
  );
  border-right: 1px solid rgb(60, 88, 97);
  color: #101010;
  font-family: "Noto Sans", "Zen Kaku Gothic New", Arial, Helvetica, sans-serif;
  font-size: 24px;
  width: 0;
  min-width: 100%;
}

.guidechannelinfo {
  overflow: visible;
}

.guideactualselect {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #00000000;
  border: none;
  color: #101010;
  font-family: "Noto Sans", "Zen Kaku Gothic New", Arial, Helvetica, sans-serif;
  font-size: 24px;
  float: left;
  width: 0;
  min-width: 100%;
}

.guideselectsymbol {
  position: relative;
  top: -5px;
  color: #101010;
  font-family: "Noto Sans", "Zen Kaku Gothic New", Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-shadow: none;
  float: left;
  margin-right: 8px;
  pointer-events: none;
}

#guidechannelslist.theater {
  display: none;
}

#guidecurrentlyplaying.theater {
  display: none;
}

#guidevideoplayer.theater {
  flex: 20;
  height: auto;
}

#guidevolumetext {
  padding: 8px;
  background-color: #000000a0;
}

#guidefullscreenoverlay {
  z-index: 300;
  position: fixed;
  width: 100vw;
  height: 100vw;
  pointer-events: none;
}

#guidefullsupperinfo {
  position: absolute;
  z-index: 300;
  background: linear-gradient(#000000, #000000, #000000, #00000000);
  padding: 32px;
  width: 100vw;
  height: 10vh;
  top: 0;
}

#guidefullsicon {
  float: left;
  height: 100%;
  object-fit: contain;
  z-index: 300;
}

#guidefullstext {
  float: left;
  height: 100%;
  overflow: hidden;
}

#guidefullscctitle {
  margin: 0;
  font-size: 3.75cqh;
}

#guidefullschantitle {
  margin: 0;
  font-size: 2.25cqh;
}

#guidefullsbottomcontrols {
  position: fixed;
  background: linear-gradient(
    #000,
    #070707,
    #070707,
    #070707,
    #070707,
    #070707,
    #070707,
    #070707,
    #000,
    #000
  );
  width: 100vw;
  height: 8vh;
  bottom: 0;
  padding: 16px;
  display: flex;
  align-content: center;
  justify-content: center;
  pointer-events: all;
}
