*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue';
}

a {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

body {
  height: 100dvh;
  width: 100%;

  &::before,
  &::after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    background-image: repeating-linear-gradient(
      var(--dir),
      white 0 10px,
      black 10px 20px
    );
    overflow: hidden;
  }

  &::before {
    --dir: to right;
  }
  &::after {
    --dir: to bottom;
    mix-blend-mode: difference;
  }

  .circle-scratch {
    --size: 120px;
    width: var(--size);
    height: var(--size);
    position: absolute;
    pointer-events: none;
    background-image: url('assets/img.avif');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    z-index: 5;
    border-radius: 50%;

    @media (width <= 1111px) {
      --size: 80px;
    }
  }
}
