body {
  background-color: rgb(14, 14, 14);
}











.warning {
  display: block;
  font-size: 12px;
  color: #ff3355;
}

.hide {
  display: none !important;
}

.start {
  position: fixed;
  color: white;
  background-color: black;
  border: 2px solid white;
  padding: 10px;
  font-size: 24px;
  font-family: 'Courier New', Courier, monospace;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.start:hover {
  cursor: pointer;
}

.blur {
  filter: blur(10px);
}

.game-wrapper-body {
  border: 1px solid white;
  max-width: 900px;

}



.home-wrapper {
  margin: 10px 0px 20px 20px;
}

.home-link {
  font-size: 18px;
  color: white;
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
}

.home-link:hover {
  text-decoration: underline;
}

.hidden-t {
  display: none !important;
}

.fadeout-t {
  animation: fadeout-1 1s linear infinite;
}

@keyframes fadeout-1 {
  0% {
    opacity: 100%;
  }
  100% {
    opacity: 0%;
  }
}

#typedtext-wrapper {
  font-family: "Courier New", Courier, monospace;
  position: fixed;
  top: 300px;
  left: 150px;
  
  background-color: rgb(25, 25, 25);
  min-height: 125px;
  width: 80%;
  max-width: 600px;
  /* text-align: center; */
  color: white;
  border: 3px solid white;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 20% 80%;
}

#typedtext {
  display: inline-block;
  height: 125px;
  text-align: center;
  width: 100%;
  font-size: 20px;
}

.handlerimg {
  display: inline-block;
  text-align: left;
  height: 125px;
  width: 100%;
  /* border-right: 1px solid red; */
  font-size: 8px;
  text-align: center;
  line-height: 10px;
}





.game-help-dialog {
  position: fixed;
  top: 50%;
  -webkit-transform: translateX(0%) translateY(-50%);
  -moz-transform: translateX(0%) translateY(-50%);
  -ms-transform: translateX(0%) translateY(-50%);
  transform: translateX(0%) translateY(-50%);
  width: 60%;
  height: 40%;
  background-color: black;
  color: white;
  overflow: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;
  padding: 0px;
  font-size: 13px;
}

.game-help-dialog::-webkit-scrollbar {
  display: none;
}

.help-btn-wrapper {
  margin: 20px 0px 0px 20px;
}

.togglehelp {
  font-size: 18px;
  color: white;
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
  border: none;
  background-color: transparent;

}

.togglehelp:hover {
  cursor: pointer;
  text-decoration: underline;
}

.help-text {
  font-family: "Courier New", Courier, monospace;
  padding: 10px;
}

.grad-border {
  border: 1px solid;
  --angle: 0deg;
  border-image: linear-gradient(var(--angle), #ff3355, #ff78ce, #8e8eff) 1;
  animation: 7s rotate linear infinite;
}

.canvas {
  position: absolute;
  pointer-events: none;
}

.game-wrapper {
  /* display: grid;
    grid-template-columns: 70% 30%; */
    position: relative;
}

.matrix-wrapper {
  /* margin-left: 25%; */
  /* margin-right: 50%; */
  margin-left: 20px;
  /* margin-top: 20px; */
  display: inline-block;
  height: 376px;
  width: 376px;
  /* padding-bottom: 1px; */
  border: 2px solid white;
  /* --angle: 0deg;
  border-image: linear-gradient(var(--angle), #ff3355, #33ff33) 1;
  animation: 5s rotate linear infinite; */
}

.info-wrapper {
  position: absolute;
  top: 0px;
  right: -1px;
  background-color: black;
  /* display: inline-block; */
  margin-left: 40px;
  /* margin-top: 20px; */
  width: 250px;
  /* overflow: hidden; */
  border-bottom: 1px solid white;
  border-left: 1px solid white;
  border-top: 1px solid white;
  max-height: 376px;
}

.info-row {
  border-bottom: 1px solid white;
  /* border-right: 1px solid white; */
  /* border-bottom-right-radius: 10px; */
  padding: 10px;
  /* margin: 10px 0px 10px 0px; */
}

.info-label {
  color: white;
  font-family: "Courier New", Courier, monospace;
}

.turn {
  color: white;
}

.hp {

}

.movements {

}

.power {

}

.turn::after {
  content: " turn ";
}

.hp::after {
  content: " hp ";
}

.movements::after {
  content: " movements ";
}

.power::after {
  content: " power ";
}

.player-turn {
  color: #88ccff;
}

.player-turn::after {
  content: "'s turn";
  color: white;
  margin-left: 5px;
}

.input-method {
}

.input-method-value {
  color: #33ff33;
}

.imv-ability {
  color: #ff3355;
  animation: blink 0.75s linear infinite;
  font-weight: 700;
}

.ab-selected {
  border-color: #ff3355 !important;
}

.matrix {
  border: 1px solid black;
  background-color: black;
  width: fit-content;
  position: absolute;
}

.row {
  /* border: 1px solid green; */
  width: fit-content;
  height: 32px;
  padding: 0px;
  margin: 0px;
  padding-bottom: 1px;
  border-bottom: 1px solid rgb(94, 94, 94);
}

.cell {
  border-right: 1px solid rgb(94, 94, 94);
  border-bottom: 1px solid rgb(94, 94, 94);
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  width: 32px;
  height: 32px;
  display: inline-block;
}

.plains {
  background-image: url("./assets/plains.gif");
}

.cracked-earth {
  background-image: url("./assets/earth.gif");
}

.plains-pool {
  background-image: url("./assets/plains_pool.png");
}

.frozen {
  background-image: url("./assets/frozen.gif");
  /* background-color: white; */
}

.lava {
  background-image: url("./assets/lava.gif");
}

.gridlines {
  border-color: yellow;
  border-style: dotted;
  animation: g-fadein 0.2s linear 1;
}

.shotgun-spread {
  border-color: red;
  border-style: dotted;
}

@keyframes g-fadein {
  from {
    border-color: rgba(255, 255, 0, 0);
  }

  to {
    border-color: rgb(255, 255, 0);
  }
}

.mc-dot-tt {
  text-shadow: none;
}

.mc-dot-tt::before {
  color: #ff3355;
  content: "[";
}

.mc-dot-tt::after {
  color: #ff3355;
  content: "]";
}

.player {
  border: 1px solid #33ff33;
  animation: pulse1 0.5s infinite;
  /* background-image: none; */
  /* background-color: #33ff3388; */
  z-index: 101;
}

.enemy {
  border: 1px solid #ff3355;
  animation: pulse2 0.5s infinite;
  /* background-image: none;
    background-color: #FF335588; */
  z-index: 101;
}

.barrier {
  border-color: rgb(255, 117, 31);
  border-style: dashed;
  background-color: rgba(255, 144, 74, 0.75);
}

.projectile {
  border: 1px solid red;
}

.meteor_cryo {
  background-image: none;
  background-color: blue;
  border-color: aqua;
}

.meteor_fire {
  background-image: none;
  background-color: red;
  border-color: orangered;
}

.slice {
  border-color: red;
  background-image: none;
  background-color: rgb(255, 26, 26);
  box-shadow: 15px 0px 10px 5px red;
  z-index: 102;
  animation: 0.1s slice linear infinite;
}

@keyframes slice {
  from {
    transform: translateX(-10px);
  }

  to {
    transform: translateX(10px);
  }
}

.shell {
  border-color: rgb(255, 35, 35);
  box-shadow: inset 0px 0px 15px 3px rgb(255, 35, 35);
}

.terraform-alpha {
  border: 1px solid rgb(255, 226, 111);
}
.terraform-beta {
  border: 1px solid rgb(206, 165, 0);
}
.terraform-gamma {
  border: 1px solid rgb(255, 204, 0);
}

.terraformation-alpha {
  border: 1px solid rgb(255, 226, 111);
  background-image: none;
  background-color: rgba(255, 226, 112, 0.5);
}

.terraformation-beta {
  border: 1px solid rgb(206, 165, 0);
  background-image: none;
  background-color: rgba(255, 215, 53, 0.5);
}

.terraformation-gamma {
  border: 1px solid rgb(255, 204, 0);
  background-image: none;
  background-color: rgba(255, 204, 0, 0.5);
}

.wall {
  border-color: rgb(82, 174, 255);
  background-image: none;
  background-color: rgba(82, 174, 255, 0.5);
}

.reinforced-wall {
  border-color: rgb(37, 81, 255);
  background-image: none;
  background-color: rgba(37, 81, 255, 0.5);
}

.cell-tooltip {
  position: absolute;
  z-index: 110;
  /* left: 400px; */
  width: 250px;
  height: 100px;
  background-color: black;
  color: white;
  padding: 5px;
  border: 1px solid;
  --angle: 0deg;
  border-image: linear-gradient(
      var(--angle),
      rgb(253, 114, 255),
      rgb(114, 196, 255)
    )
    1;
  animation: 3s rotate linear infinite;
}

@keyframes rotate {
  to {
    --angle: 360deg;
  }
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.scroller * {
  overflow-anchor: none;
}

#anchor {
  overflow-anchor: auto;
  height: 1px;
}

.info-log {
  font-family: "Courier New", Courier, monospace;
  color: white;
  padding: 4px;
  overflow-y: scroll;
  height: 108px;
  max-height: 108px;
  /* display: flex;
    flex-direction: column-reverse; */
}

.log-filler {
  height: 18px;
}

.log-row {
  border-bottom: 1px solid rgba(85, 85, 85, 0.5);
  height: 18px;
  width: 250px;
}

.log-even {
  /* border-left: 1px solid #33FF33; */
}

.log-odd {
  /* border-left: 1px solid #3333FF; */
}

.info-log::-webkit-scrollbar {
  display: none;
}

.info-log::-webkit-scrollbar {
  display: none;
}

.info-log {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.log-id {
  /* color: #33FF33; */
  padding-left: 4px;
}

.log-id::after {
  content: ">";
  color: #33ff33;
  font-size: 12px;
  margin-right: 5px;
}

.log-content {
  font-size: 14px;
}

.log-player {
  font-size: 14px;
  font-style: italic;
}

.cordinates {
  font-family: "Courier New", Courier, monospace;
}

.construct-tt {
  color: rgb(255, 110, 57);
}

.projectile-tt {
  color: rgb(255, 82, 128);
}

.player-tt {
  color: rgb(0, 149, 255);
}

.enemy-tt {
  color: #ff3355;
}

.relic-tt {
  color: gold;
}

.mechanism-tt {
  color: rgb(255, 137, 255);
}

.x-cord {
  text-shadow: 1px 1px red;
}

.y-cord {
  text-shadow: 1px 1px blue;
}

.children-break-tt {
}

.cell-children-tt {
}

.child-hp-tt {
  color: #33ff33;
}

.child-line-tt {
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  background-color: rgb(48, 48, 48);
  padding-left: 3px;
}

.child-type-tt {
}

.child-name-tt {
  color: white;
}

@-webkit-keyframes pulse1 {
  0% {
    -webkit-box-shadow: 0 0 0 0 #33ff33;
  }
  70% {
    -webkit-box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

@-webkit-keyframes pulse2 {
  0% {
    -webkit-box-shadow: 0 0 0 0 #ff3355;
  }
  70% {
    -webkit-box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

.boolean-block {
  border: 1px dashed rgb(255, 77, 249);
}

.boolean-true {
  border: 1px solid rgb(255, 77, 249);
  background-image: none;
  background-color: rgb(255, 164, 220);
}

.switch-true {
  color: #ff3355;
}

.switch-false {
  color: #33ff33;
}

.tile-label-tt {
  float: right;
  margin-right: 5px;
}

.mc-tt {
  color: white;
  text-shadow: none;
  margin-right: 4px;
}

.mc-tt::before {
  content: "[";
  color: #33ff33;
}

.mc-tt::after {
  content: "]";
  color: #33ff33;
}

.plains-tt {
  text-shadow: 2px 2px rgba(68, 145, 68, 1);
}

.frozen-tt {
  text-shadow: 2px 2px rgb(47, 234, 255);
}

.lava-tt {
  text-shadow: 2px 2px rgb(255, 71, 47);
}

.acc::before {
  content: "[";
  color: #33ff33;
  animation: blink 2s linear infinite;
}

.acc::after {
  content: "]";
  color: #33ff33;
  animation: blink 2s linear infinite;
}

@keyframes blink {
  50% {
    opacity: 0%;
  }
}

.adc-1 {
  color: green;
  text-shadow: 1px 1px rgb(125, 125, 125);
}

.adc-2 {
  color: yellow;
  text-shadow: 1px 1px rgb(125, 125, 125);
}

.adc-3 {
  color: orange;
  text-shadow: 1px 1px rgb(125, 125, 125);
}

.adc-4 {
  color: orangered;
  text-shadow: 1px 1px rgb(125, 125, 125);
}

.adc-5 {
  color: red;
  text-shadow: 1px 1px rgb(125, 125, 125);
}

.adc-6 {
  color: red;
  text-shadow: 1px 1px orangered;
}

.abilities-wrapper {
  /* border: 1px solid blue; */
  /* margin-left: 25%; */
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 20px;
}

.available {
  opacity: 100% !important;
}

.ability-box {
  color: white;
  font-family: "Courier New", Courier, monospace;
  width: 140px;
  height: 180px;
  display: inline-block;
  /* margin-left: 10px; */
  margin-right: 20px;
  vertical-align: top;
  border: 1px solid white;
  opacity: 50%;
}

.ability-label {
  padding: 3px;
  height: 20px;
  border-bottom: 1px solid #33ff33;
}

.ability-label:hover {
  cursor: pointer;
  background-color: white;
  color: black;
}

.ability-label-name {
  font-size: 14px;
  font-style: italic;
}

.ability-label-class {
  float: right;
}

.ability-data {
  padding: 5px;
  height: 62px;
  border-bottom: 1px solid grey;
  padding-bottom: 18px;
}

.ability-data-label {
  font-size: 12px;
}

.infinity {
  font-size: 22px;
}

.max-distance-data {
  /* font-size: 20px; */
}

.ability-data-value {
  font-size: 16px;
  float: right;
}

.adv-text {
  font-size: 12px !important;
}

.ability-data-cost {
}

.ability-data-type {
}

.ability-data-damage {
}

.ability-data-distance {
}

.ability-info {
  font-size: 12px;
  /* border: 1px solid orchid; */
  padding: 5px;
  height: 56px;
  overflow: scroll;
}

.ability-info {
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
}
.ability-info::-webkit-scrollbar { 
  display: none;  /* Safari and Chrome */
}










.help-tab-bar {
  /* border: 1px dashed salmon; */
  position: relative;
  width: 100%;
  height: 30px;
}

.tab {
  display: inline-block;
  width: 33%;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  height: 100%;
  height: 25px;
  padding-top: 5px;
  transition-duration: 0.2s;
}

.tab:hover {
  cursor: pointer;
  background-color: white;
  color: black;
}

.tab-selected {
  background-color: white;
  color: black;
}

.newline::before {
  content: ">";
  color: #33ff33;
}

.help-tt-wrapper {
  width: 250px;
  height: 100px;
  padding: 5px;
  border: 1px solid;
  --angle: 0deg;
  border-image: linear-gradient(
      var(--angle),
      rgb(253, 114, 255),
      rgb(114, 196, 255)
    )
    1;
  animation: 3s rotate linear infinite;
}


.tile-label-tta {
  /* float: right; */
  margin-right: 5px;
}

.tt-help-label {

}

.mercury {
  border: 1px solid white;
  background-image: none;
  background-color: rgb(206, 192, 192);
}