*,
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted",
    "Segoe UI", "Liberation Sans", sans-serif;
  background: #141518;
  overflow: hidden;
}

.bg-shell {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.bg {
  position: absolute;
  top: -55vh;
  left: -55vw;
  width: 210vw;
  height: 210vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  transform: rotate(-25deg);
  animation: drift-top-right 16s linear infinite;
}

.bg-line {
  color: rgba(148, 154, 163, 0.22);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0.75rem 1.25rem;
}

nav .links {
  display: flex;
  justify-content: flex-end;
}

nav a {
  color: #f3f4f6;
  text-decoration: none;
  font-weight: 600;
}

main {
  min-height: 100svh;
  display: grid;
  place-items: center;
}

#start {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

#start #logo {
  display: block;
  width: min(80vw, 600px);
  height: auto;
}

@keyframes drift-top-right {
  from {
    transform: rotate(-25deg) translate3d(0, 0, 0);
  }

  to {
    transform: rotate(-25deg) translate3d(180px, -90px, 0);
  }
}

@media (max-width: 768px) {
  .bg {
    top: -70vh;
    left: -85vw;
    width: 280vw;
    height: 260vh;
  }

  .bg-line {
    font-size: 4.4rem;
    font-weight: 900;
    color: rgba(148, 154, 163, 0.3);
    -webkit-text-stroke: 1px rgba(148, 154, 163, 0.3);
  }
}
