@font-face {
  font-family: "Terminator Real NFI";
  src:url("assets/fonts/Terminator\ Real\ NFI.otf") format("opentype");
}

@font-face {
  font-family: "Dosis";
  src: url("assets/fonts/Dosis-VariableFont_wght.ttf") format("truetype");
}

/* Colors: https://www.schemecolor.com/matrix-code-green.php */
:root {
  --Color-1: #0D0208; /* RGB: (13,   2,  8), CMYK: 0, 0.846, 0.384, 0.949, Name: Vampire Black */
  --Color-2: #003B00; /* RGB: ( 0,  59,  0), CMYK: 1, 0.000, 1.000, 0.768, Name: Dark Green */
  --Color-3: #008F11; /* RGB: ( 0, 143, 17), CMYK: 1, 0.000, 0.881, 0.439, Name: Islamic Green */
  --Color-4: #00FF41; /* RGB: ( 0, 255, 65), CMYK: 1, 0.000, 0.745, 0.000, Name: Malachite */
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  position: relative;
  /* width: 100%; */
  /* height: 100%; */
  user-select: none;
}

body {
  font-family: "Dosis";
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: grayscale;
  -moz-osx-font-smoothing: grayscale;
  color: var(--Color-3);
  background-color: var(--Color-1);
  /* margin: 0 auto; */
}

/* https://blog.logrocket.com/guide-styling-css-scrollbars/ */
body {
  scrollbar-width: thin;
  scrollbar-color: #4d7fff #ddd;
}

body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom right, #4d7fff 0%, #1a56ff 100%);
  border-radius: 5px;
}

body::-webkit-scrollbar-track {
  background-color: #ddd;
  border: 1px solid #ccc;
}

body::-webkit-scrollbar-button {
  background-color: #4d7fff;
  border-radius: 5px;
}

#logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: nowrap;
  margin-top: 0.5rem;
}

#globe {
  width: 300px;
  height: 300px;
}

#content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: nowrap;
}

#entercode {
  margin: 2rem 0;
  padding: 1rem;
}

#accesscode {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: nowrap;
  margin: 1rem 0;
}

#console {
  font-size: unset;
  font-weight: unset;
  text-align: unset;
}

.xterm .xterm-viewport {
  overflow-y: inherit;
}

.title {
  font-family: "Terminator Real NFI";
  font-size: 3rem;
  font-weight: bold;
  margin: 0.5rem 0;
  text-align: center;
}

.subtitle {
  font-family: "Terminator Real NFI";
  font-size: 1.5rem;
  margin: 0.5rem 0;
  text-align: center;
}

.text {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.hidden {
  display: none !important;
}

.selected {
  background-color: var(--Color-2);
}

.row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

.frame {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  font-size: 4rem;
  font-weight: bold;
  text-align: center;
  border: 3px solid var(--Color-3);
  border-radius: 10px;
  margin: 2rem 0;
  padding: 1rem;

}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  font-size: 1.5rem;
  font-weight: bold;
  border: 3px solid var(--Color-3);
  border-radius: 10px;
  margin: 0.25rem;
  padding: 1.5rem;
  cursor: pointer;
}

.box {
  width: 2rem;
  height: 2rem;
}
