@font-face {
  font-family: "Helvetica Neue";
  src: url("/assets/fonts/helvetica-neue-light.woff");
  font-style: normal;
  font-weight: 200;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("/assets/fonts/helvetica-neue-regular.woff");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("/assets/fonts/helvetica-neue-medium.woff");
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("/assets/fonts/helvetica-neue-bold.woff");
  font-style: normal;
  font-weight: 800;
}

:root {
  --clr-bg: #0a0a18;
  --clr-fg: #fff;
  --clr-primary: #0084ff;
  --clr-primary-light: #00a8ff;
  --clr-00dp: #0a0a18;
  --clr-01dp: #00a8ff1a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

p {
  overflow-wrap: break-word;
}

*::selection {
  background: var(--clr-fg);
  color: var(--clr-bg);
}

a {
  text-decoration: none;
  color: var(--clr-primary);
}

a:hover,
a:active,
a:focus {
  text-decoration: underline;
}

body {
  color: var(--clr-fg);
  background-color: var(--clr-bg);
  font-family: "Helvetica Neue", Helvetica, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif;
  text-align: center;
  background-image: url("/assets/bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

h1 {
  font-weight: 800;
  font-size: 2.5em;
}

h2 {
  font-weight: 200;
  font-size: 4em;
}

h3 {
  font-weight: 600;
  font-size: 2.5em;
}

h4 {
  font-weight: 600;
  font-size: 1.5em;
}

p {
  font-weight: 200;
  font-size: 1.25em;
}

a {
  font-weight: 600;
  font-size: 1.25em;
  text-wrap: nowrap;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

header img {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 125px;
}

main {
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(5px);
  background-color: hsla(0, 0%, 0%, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  color: var(--clr-fg);
}

.text {
  text-wrap: balance;
}

.background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.background video {
  width: 100vw;
  min-height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .background {
    display: none;
  }
}
