:root {
  color-scheme: light;
  --page-bg: #f2f0eb;
  --page-fg: #111111;
  --link: #0000ee;
  --link-visited: #551a8b;
  --purple-dark: #220055;
  --purple-light: #e055a8;
  --uw-gold: #b8860b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--page-fg);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  background-color: var(--page-bg);
}

@media (min-width: 640px) {
  main {
    padding: 4rem 2rem;
  }
}

h1 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: normal;
  line-height: 1.35;
}

.site-name {
  color: var(--purple-dark);
  font-weight: 900;
}

.degree-highlight {
  color: var(--purple-light);
}

.title-uw {
  color: var(--uw-gold);
}

@media (min-width: 640px) {
  h1 {
    font-size: 1.25rem;
  }
}

p {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

main a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

main a:visited {
  color: var(--link-visited);
}

main a:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

#site-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#site-backdrop .backdrop-particles {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
}

#site-backdrop .backdrop-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(242, 240, 235, 0.18);
}
