@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap");

:root {
  --padding-horizontal: 30px;
  --font-size: 0.9rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background-color: #333;
  color: white;
}

html,
body {
  height: 100%;
  overflow: hidden;
  position: fixed;
  width: 100%;
  overscroll-behavior: none;
}

body {
  background-color: #111;
  color: white;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  font-size: var(--font-size);
}

p {
  color: #777;
  pointer-events: none;
}

nav {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
  height: 60px;
  border-bottom: 1px solid #333;
  padding: 0 var(--padding-horizontal);
}

.socials {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.socials a {
  width: 19px;
  height: 19px;
  color: #777;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: white;
}

.socials a svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.content {
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

footer {
  position: absolute;
  bottom: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  border-top: 1px solid #333;
  padding: 0 var(--padding-horizontal);
}

@media (max-width: 999px) {
  canvas {
    display: none;
  }

  .content {
    display: block;
  }

  .content svg {
    height: 400px;
    width: 400px;
    object-fit: contain;
  }
}

@media (max-width: 650px) {
  nav p:nth-child(2) {
    display: none;
  }

  .socials {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 18px;
    top: 30px;
    right: var(--padding-horizontal);
    transform: translateX(0) translateY(-50%);
  }

  .content svg {
    height: 250px;
    width: 250px;
    object-fit: contain;
  }

  footer {
    text-align: center;
    justify-content: center;
  }

  footer p:nth-child(2) {
    display: none;
  }
}
