/* Smooth anchor scrolling */
html {
  scroll-behavior: smooth;
}

/* Header */
header {
  background: #df9696;
  padding: 1rem 0;
}

.hero {
  display: flex;
  align-content: center;
  justify-content: center;
}
/* Navigation */
nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0077cc;
}

/* Hero section */
#hero {
  display: flex;
  align-content: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem 0;
}

/* Avatar image only */
.avatar {
  width: 240px;
  height: auto;
  border-radius: 50%;
  display: block;
  margin: 1.5rem auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 3px solid #fff;
}

.github {
  width: 30px;
  height: auto;
  margin: 0 5px;
}

.icon {
  width: 30px;
  height: auto;
  margin-left: 5px;
}

/* Center content and keep readable width */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

#code-example pre {
  background: #f6f8fa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  font-size: 0.95rem;
  line-height: 1.5;
}
