:root {
  --color-background-canvas: #f9fafb;         /* soft off-white */
  --color-background-surface: #ffffff;        /* clean white */
  --color-foreground-muted: #6b7280;          /* slate gray */
  --color-foreground-default: #111827;        /* near-black text */
  --color-accent: #00fffb;                    /* blue-600 */
  --color-divider: #e0e0e0;                   /* light gray */
}

body {
  margin: auto;
  min-height: 100vh;
  min-width: 100%;
  background: var(--color-background-canvas);
  color: var(--color-foreground-default);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
}

/* Reset margins */
ul,
ol,
p,
h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 0;
}

main {
  flex: 1;
}

.divider {
  width: 4rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-divider);
}

.spacing-32 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.spacing-32-horizontal {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.spacing-16 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spacing-16-horizontal {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.spacing-8 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.divider-left {
  margin: 0;
}

.ory-branding {
  display: flex;
  flex-direction: row;
  gap: 0.375rem;
  align-items: center;
  padding-bottom: 2rem;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.125rem;
}

/* Navigation */
.main-nav {
  min-width: 18.75rem;
  position: fixed;
  height: auto;
  z-index: 1;
  background-color: var(--color-background-surface);
  border-right: 1px solid var(--color-divider);
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 2;
}

/* pushes the menu links to either side of the footer bar */
.footer-container {
  padding: 1rem 1.5rem;
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75rem;
  display: flex;
  justify-content: space-between;
  text-decoration: none;
}

.footer-divider {
  height: 0;
  border-top: 1px solid var(--color-divider) !important;
}

/* Responsive */
@media screen and (max-width: 24.375em) {
  .footer-container > div:last-child {
    display: none;
  }
}

@media screen and (max-width: 40em) {
  body {
    background: var(--color-background-surface);
  }
}
