html,
body {
  scroll-behavior: smooth;

  overflow: hidden;

  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
}

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

::-webkit-scrollbar-thumb {
  background-color: #8c8c8c;
  border-radius: 6px;
  -webkit-box-shadow: none;
          box-shadow: none;
}

::-webkit-scrollbar-track {
  margin: 10px 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}

html {
  display: flex;
  justify-content: center;
}

body {
  width: 100%;
  font-family: "openSansRegular";
  font-size: 16px;
  background-color: #f6f6f6;
}

* {
  box-sizing: border-box;
  font-family: "openSansRegular";
  font-weight: 400;
  letter-spacing: normal;
}

/** Setup font family before app loads */
@font-face {
  font-family: openSansRegular;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../../assets/app/fonts/open-sans/OpenSans-VariableFont.ttf");
}

@font-face {
  font-family: openSansItalic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../../assets/app/fonts/open-sans/OpenSans-Italic-VariableFont.ttf")
}

/** Show a spinner while application is loading */
.module-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  height: 100%;
}

.module-loading .logo {
  position: absolute;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: #333;
}

.module-loading .module-name {
  margin-top: 5px;
}

.module-loading .spinner {
  transform-origin: center center;
  width: 200px;
  height: 200px;
  animation: rotate 2s linear infinite;
}

.module-loading .path {
  stroke: #333;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;

  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}
