*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #080d1a;
}

body {
  color: #f0f0f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* Particle canvas fills the entire viewport behind everything */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

/* Main content centered on screen */
.container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 2rem;
  text-align: center;
}

/* Name */
.name-block h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #f0f0f0;
}

.name-block .phd {
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: 300;
  color: #f0f0f0;
}

/* Footer */
footer {
  position: fixed;
  bottom: 60px;
  width: 100%;
  z-index: 2;
  padding: 0 80px;
  font-size: 0.75rem;
  font-weight: 300;
  color: #888;
  letter-spacing: 0.05em;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  footer {
    bottom: 20px;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  footer {
    bottom: 15px;
    padding: 0 15px;
  }
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-location p,
.footer-contact p {
  font-size: 0.875rem;
  color: #888;
  margin: 0;
}

.footer-location strong,
.footer-contact strong {
  display: block;
  font-size: 1.075rem;
  font-weight: 500;
  color: #f0f0f0;
  margin: 0 0 10px;
}

.footer-copy {
  font-size: 0.775rem;
  color: #888;
}

.footer-contact {
  text-align: right;
}

.footer-contact a {
  font-size: 0.875rem;
  color: #4a90d9;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-location strong,
  .footer-contact strong {
    font-size: 0.975rem;
  }
  .footer-location p,
  .footer-contact p,
  .footer-contact a {
    font-size: 0.775rem;
  }
  .footer-copy {
    font-size: 0.675rem;
  }
}

@media (max-width: 480px) {
  .footer-location strong,
  .footer-contact strong {
    font-size: 0.875rem;
  }
  .footer-location p,
  .footer-contact p,
  .footer-contact a {
    font-size: 0.675rem;
  }
  .footer-copy {
    font-size: 0.575rem;
  }
}

/* Subtitle */
.subtitle {
  margin-top: 1.5rem;
  font-weight: 300;
  color: #a0a0a0;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
