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

html {
  scroll-behavior: smooth;
  -webkit-user-select: none;
  user-select: none;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  -webkit-user-select: none;
  user-select: none;
}

body.has-page-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: var(--page-bg-image, none);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: var(--page-bg-opacity, 0.1);
}

[data-discord-label],
.copyable {
  -webkit-user-select: text !important;
  user-select: text !important;
  cursor: text !important;
  pointer-events: auto;
  display: inline-block;
}

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

a {
  color: inherit;
}

::selection {
  background: transparent;
  color: inherit;
}

[data-discord-label]::selection,
.copyable::selection {
  background: var(--accent);
  color: var(--bg);
}

.contact-section [data-discord-label]::selection,
.contact-section .copyable::selection {
  background: #5865f2;
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.pixel-strip {
  display: none;
}
