@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Orbitron:wght@400..900&family=Share+Tech+Mono&display=swap");

/* css reset */
/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* 2. Remove default margin */
*:not(dialog) {
  margin: 0;
}
/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}
/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}
/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

:root {
  --black: #05070f;
  --navy: #080e24;
  --blue-dark: #0d1b4b;
  --blue-mid: #1a3a7c;
  --blue-bright: #2563eb;
  --cyan: #22d3ee;
  --gold: #f59e0b;
  --white: #e8edf8;
  --grey: #8899bb;
  --green: #22c55e;
  --purple: #a855f7;
  --red: #ef4444;
  --blue: #3b82f6;
  --purple-rgb: 168, 85, 247;
  --green-rgb: 34, 197, 94;
  --gold-rgb: 245, 158, 11;
  --blue-rgb: 59, 130, 246;
  --blue-dark-rgb: 13, 27, 75;
  --white-rgb: 255, 255, 255;
  --cyan-rgb: 34, 211, 238;
  --blue-bright-rgb: 37, 99, 235;
  --black-rgb: 5, 7, 15;
  --red-rgb: 239, 68, 68;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--black);
  color: var(--white);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(
      ellipse 60% 40% at 20% 10%,
      rgba(var(--blue-bright-rgb), 0.08) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 30% at 80% 80%,
      rgba(var(--purple-rgb), 0.06) 0%,
      transparent 70%
    );
}

h1,
h2,
h3,
h4 {
  font-family: "Orbitron", sans-serif;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
}
h4 {
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.page-title {
  padding: 15px;
}

main {
  position: relative;
  z-index: 1;
  min-height: 67vh;
  display: flex;
  flex-direction: column;
  flex: 1;
}

a {
  color: var(--white);
  text-decoration: none;
}

#navbar {
  position: sticky;
  top: 0;
  z-index: 10;
}
