@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap");

:root {
  /* Colors */
  --color-background: #000000; /* Keep black background for fluid */
  --color-text: rgba(255, 255, 255, 0.85); /* Off-white for all text */

  /* Typography */
  --font-primary: "Inter", sans-serif;
  --font-weight-regular: 400;

  /* Grid */
  --grid-padding: 2rem;
  --grid-gutter: 1rem;
}

body {
  margin: 0;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-primary);
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

#fluid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.grid-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gutter);
  padding: var(--grid-padding);
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none; /* Allow clicks to pass through to the canvas */
}

.word {
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--color-text);
  font-weight: var(--font-weight-regular);
  display: flex;
  align-items: center;
}

.word-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Position words in specific columns */
.left-word {
  /* Feel */
  grid-column: 1 / 3;
  justify-content: flex-start;
}

.center-group {
  /* Don't Think */
  grid-column: 5 / 9;
  justify-content: center;
}

.right-word {
  /* Create */
  grid-column: 10 / 13;
  justify-content: flex-end;
}

.italic {
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 2.5rem);
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  max-width: 300px;
  width: 100%;
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 1000;
  font-family: var(--secondary-font);
  color: var(--primary-color);
  line-height: 1;
}

.profile-image {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-name {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.profile-twitter {
  font-size: 12px;
  color: var(--secondary-color);
  margin: 0;
}

.profile-twitter a {
  text-decoration: none;
  color: inherit;
}

.profile-twitter a:hover {
  text-decoration: underline;
}
