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

  * {
    margin: 0;
    padding: 0;
  }

  html {
    color-scheme: light dark;
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    @media (prefers-reduced-motion: no-preference) {
      scroll-behavior: smooth;
    }
  }

  body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }

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

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

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

  ol,
  ul {
    list-style: none;
  }

  #root,
  #__next {
    isolation: isolate;
  }

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

  body {
    font-family: var(--font-default);
    font-size: 100%;
    font-weight: normal;
    color: var(--default);
    text-decoration: none;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  a,
  a:hover {
    color: inherit;
    text-decoration: none;
    outline: 0;
    transition: all 0.3s ease;
  }

  a:hover {
    color: var(--primary);
  }

  a:focus {
    outline: none;
  }

  button {
    border: 0;
    cursor: pointer;
    background: transparent;
    padding: 0;
    margin: 0;
  }

  input:focus,
  select:focus,
  textarea:focus,
  .form-control:focus,
  button:focus {
    outline: 0;
  }

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