* {
  box-sizing: border-box;
}

html,
body,
#root {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  overflow: hidden;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

button,
textarea,
input {
  font: inherit;
}

button {
  border: 0;
}

button:focus-visible,
textarea:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.48);
  outline-offset: 2px;
}

img,
video {
  display: block;
  max-width: 100%;
}
