@font-face {
  font-family: "DAGGERSQUARE";
  src: url("assets/fonts/DAGGERSQUARE.otf");
}
html, body {
  margin: 0;
  padding: 0;
  background-color: rgb(31, 31, 42);

  font-family: "DAGGERSQUARE";
  font-weight: normal;
  font-style: normal;
  text-align: center;
}
.spacer {
  margin-bottom: 1.5em;
}
.txtName {
  margin-left: 0.5em;
  margin-right: 0.5em;
}

/*BLUR BITS*/
.bit{
  position: absolute;
  filter: blur(7em);
  background-color: #cc88ff;
  min-width: 10em;
  max-width: 10em;
  min-height: 5em;
  max-height: 5em;
}

/*BUTTONS*/
button {
  font-family: "DAGGERSQUARE";
  font-weight: normal;
  font-style: normal;
  font-size: larger;
  padding: 0.5em 1em;
  background-color: #cc88ff;/*rgb(22, 22, 33);*/
  color: rgb(89, 89, 97);
  border: none;
  border-radius: 0.25em;

  /*clip-path: polygon(0em 0em, calc(100% - 0.5em) 0em, 100% 0.5em, 100% 100%, 0% 100%);*/
}
button:hover {
  cursor: pointer;
  background-color: #ffaa00;
}
button:disabled {
  background: rgb(22, 22, 33);
  cursor: default;
}
.btnOff {
  background: rgb(22, 22, 33);
}
.btnOff:hover {
  background: #666688;
}
.btnInfo { background-color: #d3bce6; color: rgb(89, 89, 97); }
.btnInfo:hover { background: #ffaa00; }

/*INPUTS*/
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background-color: transparent;
  cursor: pointer;
}
input[type="range"]:disabled {
  cursor: default;
}
input[type="range"]:focus {
  outline: none;
}
/*
-webkit-slider-runnable-track
-moz-range-track
-ms-track

-webkit-slider-thumb
-moz-range-thumb
-ms-thumb
*/
input[type="range"]::-moz-range-track {
  height: 0.25em;
  background: #666688;
  border: none;
  border-radius: 0.25em;
}
input[type="range"]::-moz-range-thumb {
  background-color: #cc88ff;
  border: none;
  border-radius: 0.25em;
  min-width: 1.5em;
  min-height: 3em;
}
input[type="range"]::-moz-range-thumb:hover {
  background-color: #ffaa00;
}
input[type="range"]:disabled::-moz-range-thumb {
  background: rgb(22, 22, 33);
  cursor: default;
}/*webkit*/
input[type="range"]::-webkit-slider-runnable-track {
  height: 0.25em;
  background: #666688;
  border: none;
  border-radius: 0.25em;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: #cc88ff;
  border: none;
  border-radius: 0.25em;
  min-width: 1.5em;
  max-width: 1.5em;
  min-height: 3em;
  max-height: 3em;
  margin-top: -1.5em;
}
input[type="range"]::-webkit-slider-thumb:hover {
  background-color: #ffaa00;
}
input[type="range"]:disabled::-webkit-slider-thumb {
  background: rgb(22, 22, 33);
  cursor: default;
}/*ms*/
input[type="range"]::-ms-track {
  height: 0.25em;
  background: #666688;
  border: none;
  border-radius: 0.25em;
}
input[type="range"]::-ms-thumb {
  background-color: #cc88ff;
  border: none;
  border-radius: 0.25em;
  min-width: 1.5em;
  min-height: 3em;
}
input[type="range"]::-ms-thumb:hover {
  background-color: #ffaa00;
}
input[type="range"]:disabled::-ms-thumb {
  background: rgb(22, 22, 33);
  cursor: default;
}

/*LINKS*/
a {
  color: #cc88ff;
}

.credits {
  padding-top: 0em;
  margin-top: -0.5em;
  margin-bottom: 2em;
}

/*ITEM RACK VERTICAL*/
.stkButtons {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stkButtons > button {
  min-width: 10em;
  margin-bottom: 1em;
}
.stkButtons > .pseudoBtn {
  min-width: 10em;
  margin-bottom: 1em;
}

/*DYNAMOC OVERLAYS*/
.modeBanner {
  display: grid;
  width: 100%;
  min-height: 100vh;
  place-items: center;
  position: relative;
  color: white;
}
.modeText {
  font-size: 1em;
  opacity: 1;
}
.bannerGrow {
  font-size: 2em;
  opacity: 0;
  transition-property: font-size, opacity;
  transition-duration: 0.5s, 3s;
  transition-timing-function: ease-out;
}

/*DIFFERENT VIEWS*/
.gameBackground {
  display: grid;
  width: 100%;
  min-height: 100vh;
  place-items: center;
  position: relative;
}
canvas {
  display: block;
  width: 100%;
  height: auto;
}

.gameOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  user-select: none;
}
.overlayBackground {
  background: rgb(33,33,44);
  background: -moz-linear-gradient(144deg, rgba(33, 33, 44, 0.75) 0%, rgba(44, 33, 44, 0.75) 100%);
  background: -webkit-linear-gradient(144deg, rgba(33, 33, 44, 0.75) 0%, rgba(44, 33, 44, 0.75) 100%);
  background: linear-gradient(144deg, rgba(33, 33, 44, 0.75) 0%, rgba(44, 33, 44, 0.75) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#21212c",endColorstr="#2c212c",GradientType=1); 
}
/*PAUSE MENU*/
.pauseMenu {
  color: white;
  /*background-color: rgba(0, 0, 0 , 0.75);*/
  width: 100%;
  height: 100%;
}
.pauseBar {
  padding: 1em;
  text-align: left;
}
.pauseGrid {
  display: grid;
  place-items: center;
}
/*GAME MENU*/
.gameMenu {
  
}
.gameBar {
  padding: 1em;
  text-align: left;
}
.gameMenu #btnScoreGameEnd {
  position: absolute;
  bottom: 0em;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: x-large;
  width: calc(100% - 8em);
}
/*MAIN MENU*/
.mainMenu {
  color: white;
  /*background-color: rgba(0, 0, 0 , 0.75);*/
  width: 100%;
  height: 100%;
}
.mainBar {
  padding: 1em;
  text-align: left;
}
.mainGrid {
  /*display: grid;
  place-items: center;*/
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stkRuleset > button {
  width: fit-content;
}
/*RULES MENU*/
.guideMenu {
  color: white;
  /*background-color: rgba(0, 0, 0 , 0.75);*/
  width: 100%;
  height: 100%;
}
.guideBar {
  padding: 1em;
  text-align: left;
}
.guideGrid {
  /*display: grid;
  place-items: center;*/
  display: flex;
  flex-direction: column;
  align-items: center;
}
/*SHARE MENU*/
.shareMenu {
  color: white;
  /*background-color: rgba(0, 0, 0 , 0.75);*/
  width: 100%;
  height: 100%;
}
.shareBar {
  padding: 1em;
  text-align: left;
}
.shareGrid {
  display: grid;
  place-items: center;
}
.shareImgHolder {
  height: 25vh;
  width: auto;
}
.shareImg {
  border-radius: 0.25em;
}
.txtShareArea {
  user-select: text;
}

@media screen and (max-width: 1000px) {
  body {
    /*font-size: xx-large;*/
  }
}