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

html {
  min-width: 320px;
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-family);
  color: var(--color-text-primary);
  background:
    linear-gradient(180deg, rgba(7, 12, 16, 0.28), rgba(7, 12, 16, 0.72)),
    url("../images/morgar-background.png") center / cover no-repeat fixed;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 68% 16%, rgba(255, 203, 118, 0.16), transparent 24%),
    linear-gradient(90deg, rgba(3, 8, 12, 0.48), rgba(3, 8, 12, 0.18) 52%, rgba(3, 8, 12, 0.55));
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), transparent 34%),
    radial-gradient(circle at 42% 40%, rgba(255, 255, 255, 0.08), transparent 30%);
  opacity: 0.92;
}

[hidden] {
  display: none !important;
}

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

button,
select {
  cursor: pointer;
}

button:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

a {
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(98, 182, 223, 0.45);
  outline-offset: 2px;
}
