*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
  padding: 2rem 1.25rem;
}

.logo {
  display: block;
  width: min(96vw, 1280px);
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.35rem 1.25rem;
  max-width: 100%;
}

a {
  display: flex;
  line-height: 0;
  transform: scale(1);
  transition: transform 160ms ease;
}

a img {
  display: block;
  width: 32px;
  height: 32px;
}

a:hover,
a:focus-visible {
  transform: scale(1.45);
  outline: none;
}

@media (max-width: 700px) {
  .logo,
  nav {
    width: 100%;
  }

  nav {
    flex-wrap: nowrap;
    gap: calc((100vw - 2.5rem) * 0.028);
  }

  a img {
    width: calc((100vw - 2.5rem) * 0.056);
    height: calc((100vw - 2.5rem) * 0.056);
  }
}
