web/src/styles/index.css
@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
  font-family: 'Signpainter';
  src: url('/assets/fonts/Signpainter.ttf');
}

@font-face {
  font-family: 'Chalet';
  src: url('/assets/fonts/Chalet.ttf');
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  user-select: none;
  box-sizing: border-box !important;
  -webkit-user-drag: none;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body,
html {
  width: 100vw;
  height: 100vh;

  overflow: hidden;
}

body {
  display: grid;
  place-items: center;
}

a,
input,
button,
textarea {
  all: unset;
}

[contenteditable] {
  outline: none;
  border: none;
}

button:hover {
  cursor: pointer;

  &:disabled {
    cursor: not-allowed;
  }
}

::-webkit-scrollbar,
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  display: none;
}

.top-left {
  @apply top-0 left-0;
}

.top-center {
  @apply top-0 left-1/2 translate-x-[-50%];
}

.top-right {
  @apply top-0 right-0;
}

.center-left {
  @apply top-[50%] translate-y-[-50%] left-0;
}

.center {
  @apply top-[50%] translate-y-[-50%] left-1/2 translate-x-[-50%];
}

.center-right {
  @apply top-[50%] translate-y-[-50%] right-0;
}

.bottom-left {
  @apply bottom-0 left-0;
}

.bottom-center {
  @apply bottom-0 left-1/2 translate-x-[-50%];
}

.bottom-right {
  @apply bottom-0 right-0;
}
