/* Fonts */
@font-face {
  font-family: "cashnumber";
  src: url("Crashnumber-2.ttf");
}

/* width */
::-webkit-scrollbar {
  width: 0.2vh;
  height: 0.2vh;
  background: rgb(255, 255, 255);
  border-radius: 10vw;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgb(3, 68, 59);
  /* border-radius: 10px; */
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(7, 173, 76);
  /* border-radius: 10px; */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #193d32;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes filterIn {
  0% {
    opacity: 1;
    left: 0.5vw;
    width: 4vw;
    height: 2vw;
    border: 0px dotted rgba(255, 255, 255, 0);
    border-radius: 0;
    border-top-left-radius: 15px;
    background-color: rgba(17, 95, 17, 1);
    color: #fff;
    font-size: 1.5vw;
  }
  100% {
    opacity: 0.75;
    border-radius: 0.5vw;
    font-size: 1.5vw;

    left: -0.5vw;
    color: teal;
    background: rgba(62, 163, 106, 0.25);
    border: 5px solid rgba(255, 255, 255, 0.1);

    width: 1.5vw;
    height: 2vw;

    animation: filterIn 1s forwards;
    opacity: 0.75;
  }
}

@keyframes filterHover {
  100% {
    border: 2px solid rgba(255, 255, 255, 1);
    background-color: rgba(255, 255, 255, 1);
    color: rgba(20, 70, 20, 2);
    left: 0.5vw;
  }
}

@keyframes updateElement {
  0% {
    /* opacity: 0.1; */
    /* background-color: rgb(24, 56, 44);
     */
    border-color: rgba(255, 255, 255, 0.2);
  }
  100% {
    /* opacity: 1; */
  }
}

@keyframes orderElement {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  75% {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
  }
  100% {
    opacity: 1;
  }
}

@keyframes hoverElement {
  0% {
    /* background-color: red; */
  }
  40% {
    transform: scale(1);
    /* background-color: yellow; */
  }
  100% {
    /* border-radius: 5vw; */
    /* background-color: rgb(55, 0, 255); */
    transform: scale(1);
  }
}

@keyframes showElement {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

body,
html {
  position: absolute;
  display: block;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
div {
  overflow: hidden;
  position: relative;
}

.universe {
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  position: absolute;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: row;
  background-color: rgb(0, 30, 30);
  overflow: auto;
}

.content {
  padding-top: 0.5vw;
  padding-bottom: 5vw;
  padding-left: 0vw;
  padding-right: 0vw;

  margin-top: 0vw;
  margin-bottom: 0vw;
  margin-left: 5vw;
  margin-right: 0vw;

  max-width: 100vw;
  max-height: 100vh;

  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: row;

  overflow-y: auto;
}

.filterMenu {
  overflow: hidden;
  position: fixed;
  padding: 0;
  left: 0;
  top: 1vw;
  width: 0;
  height: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;

  background-color: rgba(17, 95, 17, 1);
  /* border: 2px solid rgba(255, 255, 255, 1); */
  opacity: 0;
  display: none;
}
@keyframes filterMenuTopIN {
  100% {
    opacity: 1;
    width: auto;
    height: 2vw;
    top: 0.5vw;
    left: 5.5vw;
    background-color: rgba(17, 95, 17, 1);
    color: #fff;
  }
}
.filterMenuTopIn {
  animation: filterMenuTopIN 0.35s forwards;
}

@keyframes filterMenuLeftIN {
  100% {
    opacity: 1;
    width: 4vw;
    height: auto;
    left: 0.5vw;
    top: 3.4vw;
    background-color: rgba(17, 95, 17, 1);
    color: #fff;
  }
}
.filterMenuLeftIn {
  animation: filterMenuLeftIN 0.35s forwards;
}

#filterMenuTop {
  overflow: auto;
  /* min-width: 2vw; */
  min-width: 93vw;
  padding: 0.5vw;
  border-top-right-radius: 0.5vw;
  border-bottom-right-radius: 0.5vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}
#filterMenuLeft {
  overflow: auto;
  /* min-width: 2vw; */
  max-height: 90.5vh;
  padding: 0.5vw;
  border-bottom-left-radius: 0.5vw;
  border-bottom-right-radius: 0.5vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: initial;
  flex-direction: row;
}
.filterMenuItem {
  overflow: hidden;
  position: relative;
  margin: 0.5vh;
  /* padding: 0.5vw; */
  /* width: 3.5vw;
  height: 3.5vw; */
  /* max-height: 5vw;
  max-width: 5vw; */

  background-color: rgb(40, 0, 104);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.filterContent {
  overflow: hidden;
  position: fixed;
  padding: 0.5vw;
  left: -0.5vw;
  top: 0.5vw;

  border-radius: 0.5vw;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;

  border: 5px solid rgba(255, 255, 255, 0.1);

  animation: filterIn 1s forwards;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  cursor: pointer;
}
/* .filterContent:hover{animation: filterHover 1s forwards;} */

.filterItem {
  overflow: hidden;
  position: relative;
  margin: 0vw;
  padding: 0vw;
  font-size: 1.5vw;
  /* border: 2px dotted rgba(106, 155, 15, 1); */
  /* background-color: rgba(255, 255, 255, 1); */
}
.filterSearch {
}
@keyframes filterMenuIN {
  100% {
    opacity: 1;
    left: 0.5vw;
    width: 4vw;
    height: 2vw;
    border: 0px dotted rgba(255, 255, 255, 0);
    border-radius: 0;
    border-top-left-radius: 15px;
    background-color: rgba(17, 95, 17, 1);
    color: #fff;
    font-size: 1.5vw;
  }
}
.filterMenuIn {
  animation: filterMenuIN 0.35s forwards;
}
@keyframes contentMenuIN {
  100% {
    margin-top: 3.6vw;
    margin-left: 5vw;
    width: 95vw;
  }
}
.contentMenuIn {
  animation: contentMenuIN 0.35s forwards;
}

.chartLegend {
  overflow: hidden;
  position: absolute;
  padding: 1vw;
  /* left: 0;
  top: 10; */

  border-radius: 15px;
  margin-top: 0vw;
  margin-bottom: 0vw;
  margin-left: 0vw;
  margin-right: 0vw;

  width: auto;
  height: auto;
  font-size: 0.7vw;
  border: 2px dotted rgba(106, 155, 15, 1);
  color: blue;
  background-color: rgba(255, 255, 255, 1);

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}
.chartLegendIN {
  animation: fadeIn 0.5s forwards;
}
.chartLegendOUT {
  animation: fadeOut 0.5s forwards;
}
.chartLegendItem {
  position: relative;
  font-family: "Courier New", monospace;
  font-size: 0.9vw;

  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}
.chartLegendLabel {
  position: relative;
  margin: 0.1vw;
}
#chartLegendKey {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  flex-direction: column;
  margin-right: 1vw;
  /* margin-left: 1vw; */
  /* padding-right: 0.5vw; */
  /* margin-top: 0.5vw; */
}
#chartLegendVal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  flex-direction: column;
  /* margin-top: 0.5vw; */
}

.charts {
  position: relative;
  top: 0vw;

  border-radius: 0vw;
  animation: showElement 1s forwards;
  width: 100vw;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  flex-direction: row;
}

@keyframes filterChartShow {
  100% {
    opacity: 1;
    width: 35vw;
  }
}
@keyframes filterChartFocus {
  0% {
    width: 0;
  }
  100% {
    width: 93vw;
  }
}
.chartBox {
  display: flex;
  background: rgba(62, 163, 106, 0.25);
  position: relative;
  border: 5px solid rgba(255, 255, 255, 0.1);
  animation: filterChartShow 2s forwards;
}

/* .chartBox:hover{  animation: hoverElement 1s forwards;}
.chartBoxOrder{  animation: orderElement 1.5s forwards;}
.chartBoxUpdate{  animation: updateElement 0.25s forwards;} */

.filterChartON {
  animation: filterChartShow 1s forwards;
}
.filterChartFocus {
  animation: filterChartFocus 1.5s forwards;
}
@keyframes filterChartHide {
  100% {
    opacity: 0;
    /* width: 0; */
  }
}
.filterChartOFF {
  animation: filterChartHide 0.7s forwards;
}

.item {
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  word-wrap: break-word;
  border-radius: 50vw;
  animation: showElement 1s forwards;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
}

.itemTitle {
  position: relative;
  background: rgb(182, 25, 25);
  text-align: center;
  word-wrap: break-word;
  animation: showElement 1s forwards;
  padding-top: 10vw;
}

.itemDesc {
  position: relative;
  background: rgb(19, 180, 180);
  text-align: center;
  word-wrap: break-word;
  animation: showElement 1s forwards;
}

.loading {
  pointer-events: none;
  cursor: wait;
}

/* #canvas-holder {
       width: 100vw;
       margin-top: 50px;
       text-align: center;
   }
   #chartjs-tooltip {
       opacity: 1;
       position: absolute;
       background: rgba(0, 0, 0, .7);
       color: white;
       padding: 3px;
       border-radius: 3px;
       -webkit-transition: all .1s ease;
       transition: all .1s ease;
       pointer-events: none;
       -webkit-transform: translate(-50%, 0);
       transform: translate(-50%, 0);
   }
   #chartjs-tooltip.below {
       -webkit-transform: translate(-50%, 0);
       transform: translate(-50%, 0);
   }
   #chartjs-tooltip.below:before {
       border: solid;
       border-color: #111 transparent;
       border-color: rgba(0, 0, 0, .8) transparent;
       border-width: 0 8px 8px 8px;
       bottom: 1em;
       content:"";
       display: block;
       left: 50vw;
       position: absolute;
       z-index: 99;
       -webkit-transform: translate(-50%, -100%);
       transform: translate(-50%, -100%);
   }
   #chartjs-tooltip.above {
       -webkit-transform: translate(-50%, -100%);
       transform: translate(-50%, -100%);
   }
   #chartjs-tooltip.above:before {
       border: solid;
       border-color: #111 transparent;
       border-color: rgba(0, 0, 0, .8) transparent;
       border-width: 8px 8px 0 8px;
       bottom: 1em;
       content:"";
       display: block;
       left: 50vw;
       top: 100vw;
       position: absolute;
       z-index: 99;
       -webkit-transform: translate(-50%, 0);
       transform: translate(-50%, 0);
   } */
