// @import 'normalize.css/normalize.css'; // A modern alternative to CSS resets

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  font-size: 100vw / 3840 * 100;
}

@media screen and (max-width: 1920px) {
  html {
    font-size: 100vw / 1920 * 100;
  }
}
body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Microsoft YaHei;
  font-size: 0.16rem;
}
html,
body {
  position: relative;
  height: 100%;
  line-height: 1;
  box-sizing: border-box;
}

label {
  font-weight: 700;
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

a:focus,
a:active {
  outline: none;
}

div:focus {
  outline: none;
}

//echarts 全局
.echarts {
  width: 100% !important;
  height: 100% !important;
}

::-webkit-scrollbar {
  width: 0.16rem;
  height: 0.16rem;
}

::-webkit-scrollbar-button {
  height: 0;
  width: 0;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(25, 122, 231, 0.3);
  border-radius: 0.8rem;
}

@media screen and (max-width: 1920px) {
  ::-webkit-scrollbar {
    width: 0.08rem;
    height: 0.08rem;
  }
  ::-webkit-scrollbar-thumb {
    border-radius: 0.04rem;
  }
}

#app {
  min-width: 1366px;
  min-height: 768px;
}
