/* Note: I used Color variables.These are intended to facilitate modification later.
So if I want to change the site's colors, I can modify them from just one place, here.
*/

/*All CSS I used from :https://developer.mozilla.org/en-US/🔥*/

:root {
  --bg: #0f1220;
  --card: #151934;
  --text: #e8ecfd;
  --muted: #b6c1ff;
  --accent: #7aa2ff;
  --btn: #2a3b8f;
  --ring: #7aa2ff55;
}

* {
  box-sizing: border-box;
}

html,

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 600px at 10% -10%, #1a2042 0%, var(--bg) 40%),
    linear-gradient(180deg, #0b0e1a 0%, var(--bg) 100%);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
}

.container {
  max-width: 900px;
  padding: 2rem;
  margin: 0 auto;
}

header {
  text-align: center;
  padding-top: 3rem;
}

.avatar {
  display: block;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: 0 10px 30px #0008;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.25rem 0 0.25rem;
  letter-spacing: 0.2px;
}

h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
  border-left: 4px solid var(--accent);
  padding-left: 0.6rem;
}
a {
  color: #0077b5;
}

.tagline {
  margin: 0.25rem 0 1rem;
  color: var(--muted);
}

.accent {
  color: var(--accent);
}

.links {
  margin-top: 0.75rem;
}

.btn {
  display: inline-block;
  background: var(--btn);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 6px 18px #0006, 0 0 0 0 var(--ring);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px #0008, 0 0 0 6px var(--ring);
}

main section {
  background: linear-gradient(180deg, #171c3b, var(--card));
  border: 1px solid #2a2f55;
  border-radius: 16px;
  padding: 1.25rem;
  margin-top: 1rem;
  box-shadow: 0 10px 24px #0006 inset, 0 10px 30px #0004;
}

.fun {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

footer a {
  color: #f4f4f6;
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: 500;
  transition: color 0.2s ease;
} 

footer a i {
  margin-right: 6px;
  font-size: 1.1rem;
}

footer a:hover {
  color: #0077b5;
}