/* General body styles */
body {
  margin: 0;
  padding: 0;
  background: black;
  color: white;
  font-family: monospace;
  height: 100vh;               /* full screen height */
  display: flex;               /* enable flexbox */
  justify-content: center;     /* center horizontally */
  align-items: center;         /* center vertically */
  flex-direction: column;      /* stack navbar on top, content below */
}

/* Flickering words */
.word {
  position: absolute;
  color: white;
  font-size: 1.5rem;
  font-family: "Courier New", monospace;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Navigation bar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgb(0, 0, 0); /* solid bar at top */
  text-align: center;
  padding: 10px 0;
  z-index: 1000; /* ensures it stays above flicker words */
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  display: inline-block;
  margin: 0 20px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-family: monospace;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.navbar a:hover {
  border-bottom: 2px solid white; /* underline on hover */
}

/* Navbar stays at top */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  background: black;
  text-align: center;
  padding: 10px 0;
  z-index: 1000;
}

/* Center the social boxes container */
.social-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* Social boxes */
.social-box {
  width: 80px;
  height: 80px;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid white;
  border-radius: 0; /* sharp edges */
  transition: transform 0.2s ease;
  text-decoration: none;
}

.social-box img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  filter: brightness(0) invert(1); /* keep icons white */
}

.social-box:hover {
  transform: scale(1.1);
}

.particle {
  position: fixed;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2000;

  /* soft glow around ash flecks */
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
}

.placeholder {
  flex: 1; /* take up remaining space below navbar */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.placeholder h1 {
  font-family: monospace;
  font-size: 1rem;
  letter-spacing: 2px;
}

#blinking-dot {
  display: inline-block;
  width: 1ch;
}
