/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
* {
  box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  margin: 0;
  padding: 0;
  background: #111;
  overflow: hidden;
  font-family: "Helvetica Neue", sans-serif;
  text-transform: uppercase;
}

/* Base red */
:root {
  --eva-red: #ff0000;
  --eva-darkred: #990000;
  --green: #00ff00;
}

.alt {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 800;
  font-style: normal;
}

/* EVA UI Layer */
.eva-ui-layer {
  position: relative;
  width: 100vw;
  height: 100vh;
  color: var(--eva-red);
}

/* Honeycomb grid */
.hex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-auto-rows: 103.92px;
  gap: 2px;
  width: 100%;
  height: 100%;
}

.cell {
  position: relative;
  width: 100%;
  padding-bottom: 86.6%;
  background: var(--eva-red);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  border: 2px solid black;
  box-shadow: inset 0 0 0 1px black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: black;
  font-weight: bold;
  letter-spacing: 1px;
  animation: alertFlicker 1s infinite;
}

.cell:nth-child(even) {
  transform: translateY(43.3%);
}

.label {
  font-size: 12px;
}

.icon {
  font-size: 24px;
  margin-top: 5px;
}

/* Flicker animation */
@keyframes alertFlicker {
  0%, 100% {
    background-color: var(--eva-red);
  }
  50% {
    background-color: var(--eva-darkred);
  }
}
/* Corner Panels */
.corner-panel {
  position: absolute;
  padding: 8px 12px;
  background: var(--eva-red);
  border: 2px solid black;
  clip-path: polygon(10% 0%, 90% 0%, 100% 20%, 100% 80%, 90% 100%, 10% 100%, 0% 80%, 0% 20%);
  font-size: 12px;
  text-align: center;
  box-shadow: inset 0 0 0 1px black;
}

.top-left {
  top: 10px;
  left: 10px;
}

.top-right {
  top: 10px;
  right: 10px;
}

.bottom-left {
  bottom: 10px;
  left: 10px;
}

.bottom-right {
  bottom: 10px;
  right: 10px;
}

/* Scanlines */
.scanlines {
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0px, rgba(255, 0, 0, 0.1) 1px, transparent 1px, transparent 3px);
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 10;
  animation: scanFlicker 0.15s infinite;
}

@keyframes scanFlicker {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.4;
  }
}
/* Block Panel (MAGI button panels) */
.block {
  display: flex;
  gap: 1rem;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin: 2rem;
}

.block li {
  color: #e0a43d;
  border: 0.2rem solid;
  flex: 1 1 31%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 18rem;
  position: relative;
}

.block h2 {
  padding: 1rem 3rem;
  border-right: 0.2rem solid;
  border-bottom: 0.2rem solid;
  position: absolute;
  top: 0;
  left: 0;
}

.block h3 {
  font-size: 2rem;
  font-weight: 800;
}

.block a {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 1rem 3rem;
  border-top: 0.2rem solid;
  border-left: 0.2rem solid;
}

.block li:hover {
  background-color: #d73d2b;
  color: white;
  cursor: pointer;
}

/* ALERT SCREEN */
.alert-screen {
  display: none;
  inset: 0;
  pointer-events: none; /* important: make it non-blocking */
  z-index: 5; /* less than scanlines (z-index:10) if you want */
}

.alert-background {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, #000 0, #000 20px, var(--eva-red) 20px, var(--eva-red) 40px);
  animation: backgroundFlash 1s infinite;
}

.alert-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20vw;
  color: rgba(0, 0, 0, 0.7);
  text-shadow: 0 0 10px var(--eva-red);
  background: rgba(255, 0, 0, 0.8);
  border-top: 10px solid black;
  border-bottom: 10px solid black;
  animation: textFlash 1s infinite;
}

@keyframes backgroundFlash {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}
@keyframes textFlash {
  0%, 100% {
    background-color: rgba(255, 0, 0, 0.8);
  }
  50% {
    background-color: rgba(153, 0, 0, 0.8);
  }
}
#modal, #modal2, #modal3 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-style: normal;
  z-index: 9999;
}

#modal-content {
  background: white;
  width: 38rem;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  border: 0.2rem solid #c9682f;
  background-color: #131313;
  color: #c9682f;
  box-shadow: 0.8rem 0.8rem rgba(0, 0, 0, 0.4);
}
#modal-content a {
  color: #fff;
}
#modal-content .modalpad {
  padding: 0 1rem 1rem;
}
#modal-content .modalpad .close, #modal-content .modalpad .close2 {
  margin-top: 1rem;
  animation: scanFlicker 0.15s infinite;
  cursor: pointer;
}
#modal-content p {
  padding-bottom: 1rem;
}
#modal-content p span {
  color: #fff;
}
#modal-content ul li span {
  color: #fff;
}
#modal-content p.alert {
  animation: textFlash2 1s infinite;
  padding-bottom: 0;
  margin: 1rem 0;
}
#modal-content .warning {
  animation: flash 0.75s infinite;
}

.control {
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  cursor: pointer;
  color: #fff;
}

.err_head {
  margin: 1rem;
  border-bottom: 0.2rem solid;
  padding-bottom: 1rem;
}
.err_head h2 {
  animation: textFlash 1s infinite;
}

/**@import "base/forms.scss";**/
/**@import "base/typeography.scss";**/
/* INTERFACE */
.block {
  display: flex;
  gap: 1rem;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.block li {
  color: #e0a43d;
  border: 0.2rem solid;
  flex: 1 1 31%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 18rem;
  position: relative;
}
.block li h2 {
  padding: 1rem 3rem;
  border-right: 0.2rem solid;
  border-bottom: 0.2rem solid;
  display: inline-flex;
  flex-grow: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.block li h3 {
  font-size: 2rem;
  font-weight: 800;
}
.block li a {
  display: inline-flex;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 1rem 3rem;
  border-top: 0.2rem solid;
  border-left: 0.2rem solid;
}
.block li:hover {
  background-color: #d73d2b;
  color: #fff;
  cursor: pointer;
}

body {
  margin: 0;
  background: black;
}

.logo {
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-style: normal;
  background-color: #000;
  color: var(--eva-red);
  position: fixed;
  bottom: 2rem;
  right: 2vw;
  border: 0.2rem solid;
  padding: 1rem 1rem;
  border-radius: 0.5rem;
  animation: backgroundFlash 2s infinite;
  z-index: 999;
  cursor: pointer;
  transition: ease-out 0.1s;
}
.logo h1 span {
  display: block;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  border-bottom: 0.2rem solid;
  font-size: 1.74rem;
  text-align: center;
}
.logo:hover {
  font-size: 3em;
}

.boot {
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-style: normal;
  background-color: rgba(0, 0, 0, 0.2);
  color: #c9682f;
  position: fixed;
  top: 2rem;
  left: 2vw;
  border: 0.2rem solid;
  padding: 1rem 1rem;
  border-radius: 0.5rem;
  animation: backgroundFlash 2s infinite;
  z-index: 99;
}

.balthazar {
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-style: normal;
  background-color: rgba(0, 0, 0, 0.2);
  color: #c9682f;
  position: fixed;
  bottom: 2rem;
  left: 2vw;
  border: 0.2rem solid;
  padding: 1rem 1rem;
  border-radius: 0.5rem;
  animation: backgroundFlash 2s infinite;
  background-color: #000;
  z-index: 99;
}

.menu {
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-style: normal;
  background-color: rgba(0, 0, 0, 0.2);
  color: #c9682f;
  position: fixed;
  top: 2rem;
  right: 2vw;
  border: 0.2rem solid;
  padding: 1rem 1rem;
  border-radius: 0.5rem;
  animation: backgroundFlash 2s infinite;
  overflow: hidden;
  z-index: 99;
}
.menu::after {
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: -1;
}
.menu ul {
  display: none;
  padding-top: 1rem;
}
.menu ul a {
  color: #fff;
}
.menu:hover {
  border-color: #fff;
  cursor: pointer;
  background-color: #000;
  animation: none;
}
.menu:hover ul {
  display: block;
}

.alert-screen {
  position: relative;
  width: 100vw;
  height: 100vh;
  font-family: "Helvetica Neue", sans-serif;
  text-transform: uppercase;
}

/* Background diagonal chevrons */
.alert-background {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, #000 0, #000 20px, #ff0000 20px, #ff0000 40px);
  animation: backgroundFlash 1s infinite;
}

/* ALERT text */
.alert-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20vw;
  color: rgba(0, 0, 0, 0.7);
  text-shadow: 0 0 10px #ff0000;
  background: rgba(255, 0, 0, 0.8);
  border-top: 10px solid black;
  border-bottom: 10px solid black;
  animation: textFlash 1s infinite;
}

/* Flash animations */
@keyframes backgroundFlash {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}
@keyframes textFlash {
  0%, 100% {
    background-color: rgba(255, 0, 0, 0.8);
  }
  50% {
    background-color: rgba(153, 0, 0, 0.8);
  }
}
@keyframes textFlash2 {
  0%, 100% {
    background-color: rgba(255, 0, 0, 0.8);
  }
  50% {
    background-color: rgba(153, 0, 0, 0.8);
  }
  padding-bottom: 0;
}
.crt {
  animation: flicker 1.5s infinite;
  text-shadow: 0 0 2px #ff0000, 0 0 5px #990000;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.3;
  }
}
@keyframes flash {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.hex-grid {
  display: flex;
  justify-content: center;
}
.hex-grid__list {
  --amount: 5;
  position: relative;
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(var(--amount), 1fr 2fr) 1fr;
  grid-gap: 1rem 2rem;
  padding: 1rem 2vw;
}
.hex-grid__item {
  position: relative;
  grid-column: 1/span 3;
  grid-row: calc(var(--counter) + var(--counter))/span 2;
  filter: drop-shadow(0 0 10px rgba(68, 68, 68, 0.08));
  height: 0;
  padding-bottom: 90%;
  animation: backgroundFlash 3s infinite;
}
.hex-grid__item.ANGEL {
  animation: backgroundFlash 2s infinite;
}
.hex-grid__content {
  position: absolute;
  height: 100%;
  width: 100%;
  font-size: 1.125rem;
  color: #111111;
  background-color: var(--eva-red);
  clip-path: polygon(75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%, 25% 0);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 25%;
  text-decoration: none;
  text-align: center;
  transition: transform 0.24s ease-out;
}
.hex-grid__content.ANGEL {
  background-color: #69b1ee;
}

@media screen and (min-width: 1440px) {
  body {
    font-size: 1.4rem;
  }
  .hex-grid__list {
    --amount: 4;
    --counter: 1;
  }
  .hex-grid__item:nth-of-type(4n + 1) {
    grid-column: 1/span 3;
  }
  .hex-grid__item:nth-of-type(4n + 2) {
    grid-column: 3/span 3;
    grid-row: calc(var(--counter) + var(--counter) - 1)/span 2;
  }
  .hex-grid__item:nth-of-type(4n + 3) {
    grid-column: 5/span 3;
  }
  .hex-grid__item:nth-of-type(4n + 4) {
    grid-column: 7/span 3;
    grid-row: calc(var(--counter) + var(--counter) - 1)/span 2;
  }
  .hex-grid__item:nth-of-type(n + 5) {
    --counter: 2;
  }
  .hex-grid__item:nth-of-type(n + 9) {
    --counter: 3;
  }
  .hex-grid__item:nth-of-type(n + 13) {
    --counter: 4;
  }
  .hex-grid__item:nth-of-type(n + 17) {
    --counter: 5;
  }
  .hex-grid__item:nth-of-type(n + 21) {
    --counter: 6;
  }
  .hex-grid__item:nth-of-type(n + 25) {
    --counter: 7;
  }
  .hex-grid__item:nth-of-type(n + 29) {
    --counter: 8;
  }
  .hex-grid__item:nth-of-type(n + 33) {
    --counter: 9;
  }
  .hex-grid__item:nth-of-type(n + 37) {
    --counter: 10;
  }
  .hex-grid__item:nth-of-type(n + 41) {
    --counter: 11;
  }
  .hex-grid__item:nth-of-type(n + 45) {
    --counter: 12;
  }
  .hex-grid__item:nth-of-type(n + 49) {
    --counter: 13;
  }
  .hex-grid__item:nth-of-type(n + 53) {
    --counter: 14;
  }
  .hex-grid__item:nth-of-type(n + 57) {
    --counter: 15;
  }
  .hex-grid__item:nth-of-type(n + 61) {
    --counter: 16;
  }
  .hex-grid__item:nth-of-type(n + 65) {
    --counter: 17;
  }
  .hex-grid__item:nth-of-type(n + 69) {
    --counter: 18;
  }
  .hex-grid__item:nth-of-type(n + 73) {
    --counter: 19;
  }
  .hex-grid__item:nth-of-type(n + 77) {
    --counter: 20;
  }
  .hex-grid__item:nth-of-type(n + 81) {
    --counter: 21;
  }
}
@media screen and (min-width: 1120px) and (max-width: 1439px) {
  .hex-grid__list {
    --amount: 4;
    --counter: 1;
  }
  .hex-grid__item:nth-of-type(4n + 1) {
    grid-column: 1/span 3;
  }
  .hex-grid__item:nth-of-type(4n + 2) {
    grid-column: 3/span 3;
    grid-row: calc(var(--counter) + var(--counter) - 1)/span 2;
  }
  .hex-grid__item:nth-of-type(4n + 3) {
    grid-column: 5/span 3;
  }
  .hex-grid__item:nth-of-type(4n + 4) {
    grid-column: 7/span 3;
    grid-row: calc(var(--counter) + var(--counter) - 1)/span 2;
  }
  .hex-grid__item:nth-of-type(n + 5) {
    --counter: 2;
  }
  .hex-grid__item:nth-of-type(n + 9) {
    --counter: 3;
  }
  .hex-grid__item:nth-of-type(n + 13) {
    --counter: 4;
  }
  .hex-grid__item:nth-of-type(n + 17) {
    --counter: 5;
  }
  .hex-grid__item:nth-of-type(n + 21) {
    --counter: 6;
  }
  .hex-grid__item:nth-of-type(n + 25) {
    --counter: 7;
  }
  .hex-grid__item:nth-of-type(n + 29) {
    --counter: 8;
  }
  .hex-grid__item:nth-of-type(n + 33) {
    --counter: 9;
  }
  .hex-grid__item:nth-of-type(n + 37) {
    --counter: 10;
  }
  .hex-grid__item:nth-of-type(n + 41) {
    --counter: 11;
  }
  .hex-grid__item:nth-of-type(n + 45) {
    --counter: 12;
  }
  .hex-grid__item:nth-of-type(n + 49) {
    --counter: 13;
  }
  .hex-grid__item:nth-of-type(n + 53) {
    --counter: 14;
  }
  .hex-grid__item:nth-of-type(n + 57) {
    --counter: 15;
  }
  .hex-grid__item:nth-of-type(n + 61) {
    --counter: 16;
  }
  .hex-grid__item:nth-of-type(n + 65) {
    --counter: 17;
  }
  .hex-grid__item:nth-of-type(n + 69) {
    --counter: 18;
  }
  .hex-grid__item:nth-of-type(n + 73) {
    --counter: 19;
  }
  .hex-grid__item:nth-of-type(n + 77) {
    --counter: 20;
  }
  .hex-grid__item:nth-of-type(n + 81) {
    --counter: 21;
  }
}
@media screen and (min-width: 840px) and (max-width: 1119px) {
  .hex-grid__list {
    --amount: 3;
    --counter: 1;
    grid-gap: 1.5rem 3rem;
  }
  .hex-grid__item:nth-of-type(3n + 1) {
    grid-column: 1/span 3;
  }
  .hex-grid__item:nth-of-type(3n + 2) {
    grid-column: 3/span 3;
    grid-row: calc(var(--counter) + var(--counter) - 1)/span 2;
  }
  .hex-grid__item:nth-of-type(3n + 3) {
    grid-column: 5/span 3;
  }
  .hex-grid__item:nth-of-type(n + 4) {
    --counter: 2;
  }
  .hex-grid__item:nth-of-type(n + 7) {
    --counter: 3;
  }
  .hex-grid__item:nth-of-type(n + 10) {
    --counter: 4;
  }
  .hex-grid__item:nth-of-type(n + 13) {
    --counter: 5;
  }
  .hex-grid__item:nth-of-type(n + 16) {
    --counter: 6;
  }
  .hex-grid__item:nth-of-type(n + 19) {
    --counter: 7;
  }
  .hex-grid__item:nth-of-type(n + 22) {
    --counter: 8;
  }
  .hex-grid__item:nth-of-type(n + 25) {
    --counter: 9;
  }
  .hex-grid__item:nth-of-type(n + 28) {
    --counter: 10;
  }
  .hex-grid__item:nth-of-type(n + 31) {
    --counter: 11;
  }
  .hex-grid__item:nth-of-type(n + 34) {
    --counter: 12;
  }
  .hex-grid__item:nth-of-type(n + 37) {
    --counter: 13;
  }
  .hex-grid__item:nth-of-type(n + 40) {
    --counter: 14;
  }
  .hex-grid__item:nth-of-type(n + 43) {
    --counter: 15;
  }
  .hex-grid__item:nth-of-type(n + 46) {
    --counter: 16;
  }
  .hex-grid__item:nth-of-type(n + 49) {
    --counter: 17;
  }
  .hex-grid__item:nth-of-type(n + 52) {
    --counter: 18;
  }
  .hex-grid__item:nth-of-type(n + 55) {
    --counter: 19;
  }
  .hex-grid__item:nth-of-type(n + 58) {
    --counter: 20;
  }
  .hex-grid__item:nth-of-type(n + 61) {
    --counter: 21;
  }
}
@media screen and (min-width: 480px) and (max-width: 839px) {
  .hex-grid__list {
    --amount: 3;
    --counter: 1;
    grid-gap: 1.5rem 3rem;
  }
  .hex-grid__item:nth-of-type(3n + 1) {
    grid-column: 1/span 3;
  }
  .hex-grid__item:nth-of-type(3n + 2) {
    grid-column: 3/span 3;
    grid-row: calc(var(--counter) + var(--counter) - 1)/span 2;
  }
  .hex-grid__item:nth-of-type(3n + 3) {
    grid-column: 5/span 3;
  }
  .hex-grid__item:nth-of-type(n + 4) {
    --counter: 2;
  }
  .hex-grid__item:nth-of-type(n + 7) {
    --counter: 3;
  }
  .hex-grid__item:nth-of-type(n + 10) {
    --counter: 4;
  }
  .hex-grid__item:nth-of-type(n + 13) {
    --counter: 5;
  }
  .hex-grid__item:nth-of-type(n + 16) {
    --counter: 6;
  }
  .hex-grid__item:nth-of-type(n + 19) {
    --counter: 7;
  }
  .hex-grid__item:nth-of-type(n + 22) {
    --counter: 8;
  }
  .hex-grid__item:nth-of-type(n + 25) {
    --counter: 9;
  }
  .hex-grid__item:nth-of-type(n + 28) {
    --counter: 10;
  }
  .hex-grid__item:nth-of-type(n + 31) {
    --counter: 11;
  }
  .hex-grid__item:nth-of-type(n + 34) {
    --counter: 12;
  }
  .hex-grid__item:nth-of-type(n + 37) {
    --counter: 13;
  }
  .hex-grid__item:nth-of-type(n + 40) {
    --counter: 14;
  }
  .hex-grid__item:nth-of-type(n + 43) {
    --counter: 15;
  }
  .hex-grid__item:nth-of-type(n + 46) {
    --counter: 16;
  }
  .hex-grid__item:nth-of-type(n + 49) {
    --counter: 17;
  }
  .hex-grid__item:nth-of-type(n + 52) {
    --counter: 18;
  }
  .hex-grid__item:nth-of-type(n + 55) {
    --counter: 19;
  }
  .hex-grid__item:nth-of-type(n + 58) {
    --counter: 20;
  }
  .hex-grid__item:nth-of-type(n + 61) {
    --counter: 21;
  }
  .hex-grid #magi-system {
    display: flex;
    width: 100%;
    height: auto;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1rem;
  }
  .hex-grid body {
    overflow: hidden;
  }
}
@media screen and (max-width: 479px) {
  .hex-grid__list {
    --amount: 1;
    grid-gap: 1.5rem 3rem;
  }
}
.hex-grid__content {
  display: flex;
  flex-direction: column-reverse;
  font-family: "Share Tech Mono", monospace;
  font-weight: 800;
  font-style: normal;
}
.hex-grid__content p {
  font-size: 1.4rem;
  letter-spacing: 0.5rem;
}
.hex-grid__content h2 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.1rem;
  padding-top: 1rem;
  line-height: 90%;
}
.hex-grid__content h2.alt {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 800;
  font-style: normal;
}
.hex-grid__content .unit_designation {
  font-weight: 800;
  letter-spacing: normal;
  font-size: 6rem;
  padding-bottom: 1rem;
  letter-spacing: -0.6rem;
  display: none;
}
.hex-grid__content button {
  width: auto;
  padding: 1rem;
  border: 0.2rem solid #c9682f;
  box-shadow: 0.8rem 0.8rem rgba(0, 0, 0, 0.4);
  font-family: "Share Tech Mono", monospace;
  font-weight: 800;
  font-style: normal;
  background-color: #000;
  text-transform: uppercase;
  font-size: 1.8rem;
  color: #fff;
}
.hex-grid__content button:hover {
  cursor: pointer;
  animation: backgroundFlash 2s infinite;
  border-color: #fff;
}

.hex-grid__content.ANGEL:hover {
  background-color: var(--eva-darkred);
  cursor: pointer;
  transition: 0.8s;
}

.hex-grid__content:hover {
  cursor: pointer;
  background-color: var(--eva-darkred);
  transition: 0.8s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.hex-grid__item {
  opacity: 0;
}

.hex-grid__item.visible {
  animation: fadeIn 0.6s ease forwards;
}

/* Body Animatons */
body.Asuka, body.Rei, #email_system {
  transition: all 0.4s;
}
body.Asuka .hex-grid__list, body.Rei .hex-grid__list, #email_system .hex-grid__list {
  display: flex;
  flex-direction: column;
  width: 20rem;
}
body.Asuka .hex-grid__content, body.Rei .hex-grid__content, #email_system .hex-grid__content {
  position: relative;
  height: auto;
  width: 100%;
  font-size: 1.125rem;
  color: #111111;
  background-color: var(--eva-red);
  clip-path: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 25%;
  text-decoration: none;
  text-align: center;
  transition: transform 0.24s ease-out;
}
body.Asuka .hex-grid__item, body.Rei .hex-grid__item, #email_system .hex-grid__item {
  padding: 0;
  height: auto;
}
body.Asuka .nerv-grid-logo, body.Rei .nerv-grid-logo, #email_system .nerv-grid-logo {
  height: auto;
  width: 100%;
}
body.Asuka .container .warning, body.Rei .container .warning, #email_system .container .warning {
  animation: flash 0.75s infinite;
  color: #c9682f;
}

#magi-system {
  display: flex;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

body.Asuka #magi-system, body.Rei #magi-system, #email_system #magi-system {
  align-items: flex-start;
}

.hex-grid__list {
  width: 100%;
}

#magi-system-level2 {
  display: flex;
  column-gap: 1rem;
  padding: 1rem;
}
#magi-system-level2 ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: skewY(10deg);
  /* transform: rotate(0deg); */
  flex: 1;
}
#magi-system-level2 ul.rev {
  display: flex;
  flex-direction: column-reverse;
  gap: 1rem;
  transform: skewY(-10deg);
  /* transform: rotate(0deg); */
  flex: 1;
}
#magi-system-level2 .magi_item {
  height: 4rem;
  background-color: #69b1ee;
  width: 100%;
  display: block;
}
#magi-system-level2 .magi_item {
  opacity: 0;
}
#magi-system-level2 .magi_item.visible {
  animation: fadeIn 0.6s ease forwards;
}

#pilot_data_03 {
  display: none;
}

#pilot_data_00 {
  display: none;
}

body.Asuka #pilot_data_03 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
body.Asuka #pilot_data_03 .container {
  margin: 8rem 2vw 12rem;
  overflow-y: scroll;
  padding-right: 2vw;
}
body.Asuka #pilot_data_03 .container::-webkit-scrollbar {
  width: 8px;
}
body.Asuka #pilot_data_03 .container::-webkit-scrollbar-track {
  background: #1a1a1a; /* optional: dark track background */
}
body.Asuka #pilot_data_03 .container::-webkit-scrollbar-thumb {
  background-color: red;
  border-radius: 4px;
  border: 2px solid #1a1a1a; /* matches the track background for padding effect */
}
body.Asuka #pilot_data_03 h2 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 800;
}
body.Asuka #pilot_data_03 p {
  text-transform: none;
  line-height: 140%;
  padding-bottom: 1rem;
}
body.Asuka #pilot_data_03 strong {
  font-weight: 800;
}
body.Asuka #pilot_data_03 li {
  margin-left: 2rem;
  color: #fff;
  list-style: footnotes;
  padding-bottom: 0.7rem;
}
body.Asuka #pilot_data_03 h3 {
  font-size: 2rem;
  font-weight: 800;
  padding-bottom: 1rem;
  padding-top: 3rem;
}
body.Asuka #magi-system {
  display: flex;
  color: #fff;
}

body.Rei #pilot_data_00 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
body.Rei #pilot_data_00 .container {
  margin: 8rem 2vw 12rem;
  overflow-y: scroll;
  padding-right: 2vw;
}
body.Rei #pilot_data_00 .container::-webkit-scrollbar {
  width: 8px;
}
body.Rei #pilot_data_00 .container::-webkit-scrollbar-track {
  background: #1a1a1a; /* optional: dark track background */
}
body.Rei #pilot_data_00 .container::-webkit-scrollbar-thumb {
  background-color: red;
  border-radius: 4px;
  border: 2px solid #1a1a1a; /* matches the track background for padding effect */
}
body.Rei #pilot_data_00 h2 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 800;
}
body.Rei #pilot_data_00 p {
  text-transform: none;
  line-height: 140%;
  padding-bottom: 1rem;
}
body.Rei #pilot_data_00 strong {
  font-weight: 800;
}
body.Rei #pilot_data_00 li {
  margin-left: 2rem;
  color: #fff;
  list-style: footnotes;
  padding-bottom: 0.7rem;
}
body.Rei #pilot_data_00 h3 {
  font-size: 2rem;
  font-weight: 800;
  padding-bottom: 1rem;
  padding-top: 3rem;
}
body.Rei #magi-system {
  display: flex;
  color: #fff;
}

#email_system #email_thread {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
#email_system #email_thread .container {
  margin: 4rem 6vw;
  max-height: 100%;
  overflow-y: scroll;
  padding-right: 2vw;
  /* Scrollbar styles for WebKit (Chrome, Edge, Safari) */
}
#email_system #email_thread .container::-webkit-scrollbar {
  width: 8px;
}
#email_system #email_thread .container::-webkit-scrollbar-track {
  background: #1a1a1a; /* optional: dark track background */
}
#email_system #email_thread .container::-webkit-scrollbar-thumb {
  background-color: red;
  border-radius: 4px;
  border: 2px solid #1a1a1a; /* matches the track background for padding effect */
}
#email_system #email_thread h2 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 800;
}
#email_system #email_thread p {
  text-transform: none;
  line-height: 140%;
  padding-bottom: 1rem;
}
#email_system #email_thread strong {
  font-weight: 800;
}
#email_system #email_thread li {
  margin-left: 2rem;
  color: #fff;
  list-style: footnotes;
  line-height: 140%;
  padding-bottom: 0.7rem;
}
#email_system #email_thread h3 {
  font-size: 2rem;
  font-weight: 800;
  padding-bottom: 1rem;
  padding-top: 3rem;
}
#email_system #magi-system {
  display: flex;
  color: #fff;
}

@media screen and (max-width: 1320px) {
  body.Asuka .hex-grid__list, body.Rei .hex-grid__list, #email_system .hex-grid__list {
    display: flex;
    flex-direction: column;
    width: auto;
    overflow: scroll;
    flex: 2;
  }
  #email_system #email_thread, body.Asuka #pilot_data_03, body.Rei #pilot_data_00 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    flex: 8;
  }
  .hex-grid__content h2 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.1rem;
    padding-top: 1rem;
    line-height: 90%;
  }
  .hex-grid__list {
    width: 100%;
  }
}
@media screen and (max-width: 1119px) {
  body {
    overflow: visible;
  }
  .hex-grid__list {
    transform: scale(90%);
  }
  body.Asuka .mobhide, body.Rei .mobhide, #email_system .mobhide {
    display: none !important;
    width: 0 !important;
  }
  body.Asuka .hex-grid__list, body.Rei .hex-grid__list, #email_system .hex-grid__list {
    display: flex;
    flex-direction: row;
    width: 20rem;
    gap: 0;
    width: 100%;
    margin-top: 6rem;
  }
  body.Asuka #magi-system, body.Rei #magi-system, #email_system #magi-system {
    display: flex;
    color: #fff;
    flex-direction: column;
    gap: 0;
    height: auto;
  }
  body.Asuka #magi-system li, body.Rei #magi-system li, #email_system #magi-system li {
    display: flex;
    width: 20%;
    padding: 1vw;
  }
  #email_system #email_thread .container {
    margin: 4rem 6vw;
    max-height: 100%;
    overflow-y: visible;
    padding-right: 0;
  }
  body.Asuka #pilot_data_03 .container {
    margin: 6rem 6vw 0;
    max-height: 60vh;
    overflow-y: scroll;
    padding-right: 2vw;
  }
  body.Asuka .nerv-grid-logo, body.Rei .nerv-grid-logo, #email_system .nerv-grid-logo {
    height: auto;
    width: 100%;
    display: block;
    width: 10vw;
    height: auto;
  }
  body.Asuka .hex-grid__content h2, body.Rei .hex-grid__content h2, #email_system .hex-grid__content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    line-height: 90%;
  }
  body.Asuka .hex-grid__content h2.alt, body.Rei .hex-grid__content h2.alt, #email_system .hex-grid__content h2.alt {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 1.4rem;
  }
  .hex-grid__content p {
    font-size: 0.8rem;
    letter-spacing: 0.5rem;
  }
  #email_system #email_thread, .Asuka_1 #pilot_data_03, .Rei #pilot_data_00 {
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
  }
  #magi-system #pilot_data_03 .container, #magi-system #pilot_data_00 .container {
    margin: 1rem 6vw;
    max-height: 100%;
    overflow-y: visible;
    padding-right: 2vw;
  }
  body.Asuka #pilot_data_03, body.Rei #pilot_data_00 {
    display: block;
  }
  #magi-system .container li {
    display: block !important;
    width: 100% !important;
    list-style: footnotes !important;
  }
  #magi-system .container {
    font-size: 1.5rem;
  }
  body.Asuka .hex-grid__list, body.Rei .hex-grid__list, #email_system .hex-grid__list {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0;
  }
  body.Asuka .hex-grid__content h2, body.Rei .hex-grid__content h2, #email_system .hex-grid__content h2 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.1rem;
    padding-top: 1rem;
    line-height: 90%;
  }
}
#modal2 {
  z-index: 99999;
}

#modal-content img {
  width: 100%;
}

.magi-footer {
  margin-top: 4rem;
  padding: 1rem 1rem 0;
  background-color: var(--eva-darkred);
}

.simplebar-scrollbar:before {
  background-color: red; /* Your custom thumb color */
}

.simplebar-track.simplebar-vertical {
  background: #1a1a1a; /* Scrollbar track */
  width: 8px;
}

.simplebar-track.simplebar-horizontal {
  height: 8px;
}

/*@import "base/mobile.scss";*/
