/**
  * Extend the react-native-web reset:
  * https://github.com/necolas/react-native-web/blob/master/packages/react-native-web/src/exports/StyleSheet/initialRules.js
  */
html,
body,
#root {
  width: 100%;
  /* To smooth any scrolling behavior */
  -webkit-overflow-scrolling: touch;
  margin: 0px;
  padding: 0px;
  /* Allows content to fill the viewport and go beyond the bottom */
  min-height: 100%;
  background-color: var(--background_primary, #0a0a0a);
}
#root {
  flex-shrink: 0;
  flex-basis: auto;
  flex-grow: 1;
  display: flex;
  flex: 1;
}

html {
  scroll-behavior: smooth;
  /* Prevent text size change on orientation change https://gist.github.com/tfausak/2222823#file-ios-8-web-app-html-L138 */
  -webkit-text-size-adjust: 100%;
  height: calc(100% + env(safe-area-inset-top));
}

body {
  display: flex;
  /* Allows you to scroll below the viewport; default value is visible */
  overflow-y: auto;
  overscroll-behavior-y: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-overflow-style: scrollbar;
}

[data-no-scroll-bar="1"]::-webkit-scrollbar {
  display: none;
}

@media screen and (min-width: 1280px) {
  [data-pc-width="1"] {
    width: 700px !important;
  }
  [data-modal-elm="1"] {
    position: fixed !important;
  }
  [data-right-content="1"] {
    width: 360px !important;
  }
}
@media screen and (min-width: 880px) and (max-width: 1279px) {
  [data-pc-width="1"] {
    width: 512px !important;
  }
  [data-modal-elm="1"] {
    position: fixed !important;
  }
  [data-right-content="1"] {
    width: 340px !important;
  }
}
@media screen and (max-width: 879px) {
  [data-pc-width="1"] {
    width: 100%;
  }
  [data-modal-elm="1"] {
    position: fixed !important;
  }
  [data-right-content="1"] {
    width: 0 !important;
    display: "none";
  }
}
