@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --font: 'Host Grotesk';
  --gutter: max(1.5rem, calc(50vw - 36rem));
}

body > nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
  padding: 0 var(--gutter);
  backdrop-filter: blur(1rem);
  z-index: 100;
}

body > nav .logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 10rem;
}

body > nav .logo a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

body > nav .logo a:hover {
  opacity: 0.8;
}

body > nav .logo img {
  height: 2rem;
  width: 2rem;
}

body > nav .logo b {
  font-size: 1.25rem;
}

body > nav .links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

body > nav .links a {
  border-bottom: 1px solid transparent;
  color: #f5f5f5;
  text-decoration: none;
  opacity: 0.8;
  transition: 0.2s;
}

body > nav .links a:hover {
  opacity: 1;
}

body > nav .links a.selected {
  border-bottom: 1px solid #8000ff;
  opacity: 1;
}

body > nav .options {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  gap: 1rem;
  width: 10rem;
}

body > nav .options a {
  color: #f5f5f5;
  text-decoration: none;
  opacity: 0.9;
}

body > nav .options a.primary {
  padding: 0.4rem 1rem;
  border: 1px solid #8000ffaa;
  border-radius: 100rem;
  background: #8000ff75;
  opacity: 1;
}

@media (max-width: 768px) {
  body > nav .links {
    display: none;
  }

  body > nav .logo, body > nav .options {
    width: auto;
  }
}
