@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&display=swap");

:root {
  /* Colors */
  --clr-bg: #000000;
  --clr-text: #ffffff;

  /* Typography */
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --text-display: clamp(1.75rem, 6vw, 2.75rem);

  /* Effects */
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 30px rgba(255, 255, 255, 0.15);
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  background-color: var(--clr-bg);
  font-family: var(--font-mono);
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Main Layout */
main {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1rem;
}

/* Logo Link */
.logo-link {
  color: var(--clr-text);
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.logo-text {
  font-size: var(--text-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: var(--transition);
  display: inline-block;
  position: relative;
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --text-display: clamp(1.5rem, 8vw, 2.25rem);
  }
}

@media (max-width: 480px) {
  :root {
    --text-display: clamp(1.25rem, 10vw, 2rem);
  }

  main {
    padding: 0.75rem;
  }

  .logo-link:focus-visible {
    outline-offset: 8px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
