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

html {
  font-size: 62.5%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  min-height: 100%;
}

html,
body {
  min-height: 100%;
  margin: 0 !important;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto !important;
}

body {
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  overflow-y: auto !important;
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
  background: #050816;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  position: relative;
}
html {
  scroll-behavior: auto;
}

body,
main,
#main-content,
.content-for-layout {
  max-height: none !important;
}
main,
#main-content,
.content-for-layout {
  display: block;
  min-height: 100vh;
  overflow: visible !important;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-family: inherit;
  font-size: 1em;
  text-decoration: none;
  text-shadow: none;
  cursor: pointer;
}

input,
textarea,
select {
  background-clip: padding-box;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

@media (min-width: 900px){
  html{
    overflow-y: scroll;
    scrollbar-gutter: stable;
  }
}

@media (max-width: 899px){
  html,
  body{
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar{
    width: 0;
    height: 0;
    display: none;
  }
}
