@font-face {
  font-family: "Northlane One";
  src:
    url("fonts/northlane-one.woff2") format("woff2"),
    url("fonts/northlane-one.woff") format("woff");

  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Proto Mono";
  src:
    url("fonts/proto-mono-regular.woff2") format("woff2"),
    url("fonts/proto-mono-regular.woff") format("woff");

  font-weight: normal;
  font-style: normal;
}

/* variables */
:root {
  --header-font-family: "Northlane One", sans-serif;
  --body-font-family: "Proto Mono", sans-serif;
  --bg-color: #000;
  --text-color: #ffffff;
}

/*
Josh's Custom CSS Reset
https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

body {
  display: flex;
  background: var(--bg-color);
}

h1,
p {
  color: var(--text-color);
}

header {
  width: 100%;
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 2em;
}

header h1 {
  position: relative;
  font-family: var(--header-font-family);
  font-size: 5em;
  line-height: 1em;
  font-weight: 400;
  mix-blend-mode: lighten;
}

article {
  width: 85%;
  max-width: 800px;
  margin: auto auto;

  display: flex;
  flex-direction: column;
  gap: 5vh;
}

@media screen and (min-width: 600px) {
  article {
    width: 70%;
  }
}

article p {
  font-family: var(--body-font-family);
  font-size: 1.33em;
  line-height: 133%;
  font-weight: 400;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

footer a {
  font-size: 1.33em;
  line-height: 120%;
  font-weight: 600;
  font-family: var(--body-font-family);

  border: white solid 2px;
  padding: 0.2em 0.6em;
  color: var(--text-color);
  text-decoration: none;
  box-shadow: 5px 5px white;
}

footer a:hover {
  background-color: var(--text-color);
  color: var(--bg-color);
}

video {
  width: 100vw;
  height: 100vh;

  object-fit: cover;

  position: fixed;
  top: 0;
  left: 0;

  z-index: -1;
}
