@use "./typography.scss";
@use "./accessibility.scss";

@mixin theme() {
  @import "~normalize.css";
  @include accessibility.global-focus-styles(black, white);

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

  * {
    margin: 0;
  }

  html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
  }

  html,
  body {
    height: 100%;

    @include typography.font-family($family: "sans");
  }

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

  input,
  button,
  textarea,
  select {
    font: inherit;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 0;
  }

  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    overflow-wrap: break-word;
  }

  a {
    color: inherit;
  }

  /* stylelint-disable selector-max-id */
  #root,
  #__next {
    isolation: isolate;
  }

 
}
