/* header */
.site-header {
  background: var(--background-color);
  color: var(--border);
  width: 100%;
  border-bottom: 1px solid var(--border);
}

/* nav */
.primary-nav {
  width: 100%;
}

/* layout */
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: clamp(0.8rem, 2vw, 1.2rem) clamp(1rem, 4vw, 2rem);
}

/* alignment */
.site-header,
.primary-nav {
  text-align: initial;
}

/* pin */
.brand {
  justify-self: start;
}
.nav-center-card {
  justify-self: center;
}
.btn {
  justify-self: end;
}

/* media queries */
@media (max-width: 820px) {
  .nav-inner {
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.8rem;
  }
  .nav-center-card {
    width: 100%;
    max-width: 520px;
  }
  .btn {
    width: 100%;
    max-width: 520px;
    text-align: center;
    justify-self: center;
  }
}
.main-content {
  width: 100vw;
  height: 100vh;
  min-height: 100dvh;
  min-width: 100dvw;

  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center; /* centers vertically */

  text-align: center; /* optional, if you want the text centered */
  overflow: hidden;
}

.main-content h1 {
  max-width: 90%;
  margin: 0 auto;
}
