:root {
  color: var(--main-text-color);
  background-color: var(--main-bg-color);
}

@font-face {
  font-display: swap;
  font-family: "PixelSans";
  font-style: normal;
  font-weight: 200;
  src: url("./PixeloidSans.ttf") format("truetype");
}

body {
  background-image: url("./bg-noise.jpg");
  animation: noise 0.3s infinite;
  background-repeat: repeat;
  background-size: auto;

  margin: 0;
  padding: 0;
}

.wrapper {
  display: grid;
  place-items: center;
  height: 100vh;
  width: 100vw;
}

h1 {
  display: inline-block;
  font-size: 10vw;
  font-family: "PixelSans", serif;

  text-align: center;

  color: white;
}

@keyframes noise {
  0% {
    background-position: -48px 61px;
  }

  10% {
    background-position: 36px 18px;
  }

  20% {
    background-position: 78px 56px;
  }

  30% {
    background-position: 70px 5px;
  }

  40% {
    background-position: 1px -97px;
  }

  50% {
    background-position: 67px -20px;
  }

  60% {
    background-position: 9px 82px;
  }

  70% {
    background-position: -93px -67px;
  }

  80% {
    background-position: -89px 0;
  }

  90% {
    background-position: 8px -3px;
  }
}
